Git Product home page Git Product logo

joenovell / bfacp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adkats/bfacp

0.0 3.0 0.0 167.26 MB

A web based admin tool for Battlefield 3, Battlefield 4, and Battlefield Hardline integrated with AdKats and XPKillers Stat Logger plugins for ProCon.

Home Page: https://forum.myrcon.com/showthread.php?19059-Battlefield-Admin-Control-Panel-for-AdKats-BFACP

PHP 13.80% HTML 29.35% CSS 9.04% JavaScript 47.76% Shell 0.05%

bfacp's Introduction

Circle CI Download Battlefield Admin Control PanelLatest Stable Version Total Downloads Latest Unstable Version License

Overview

The Battlefield Admin Control Panel (BFACP) is a web based admin tool designed to work exclusively with AdKats (v6+) and XpKillers Chat, GUID, Stats and Mapstats Logger (v1.0.0.2). The software is built with the Laravel PHP framework to speed up development time and make my job a lot easier.

FAQ

Requirements

  • MySQL Database (5.6+)
  • AdKats v6+
  • XpKillers Chat, GUID, Stats and Mapstats Logger v1.0.0.2+
  • PHP 5.5+
  • PHP Mcrypt
  • PHP PDO

Features

  • User, Role, and Permission system.
  • Live Scoreboard with chat.
  • Ban Management for AdKats.
  • Detailed player information with graph charts.
  • Server statistics page for each server showing population history, uptime history with data from UptimeRobot, and Mapstats.
  • Metabans support.
  • Report notifications with ability to change alert sounds.
  • Chatlog searching where you can search by multiple players and/or keywords and ability to only show from a certain date/time range.
  • Message of the Day
  • Quick DB Stats overview
  • and more!

Download Battlefield Admin Control Panel

Download the latest version. Once downloaded unzip it to a temporary folder on your computer. Next open the .env.php file located in the root folder in your favorite text editor. Scroll down to the database settings section and fill in your database connection information.

    /**
     * Database Settings
     */
    'DB_HOST'        => 'localhost',
    'DB_USER'        => 'root',
    'DB_PASS'        => '',
    'DB_NAME'        => 'mydatabase',

Next we need to create a encryption key. This is IMPORTANT! The default key provided is just a placeholder string and is insecure. I have provided a page where you can get a random 32 character string. I do NOT save these and they are random on each refresh. You can access this page here. Once you have your key open up the file .env.php in the root folder and scroll down till you see the APP_KEY field. Replace the YourSecretKey!!! with the key that was generated. By default it will look like this.

    /**
     * Set your app key here
     */
    'APP_KEY'        => 'YourSecretKey!!!'

Once completed upload the entire application to your webserver. Once uploaded you will need to modify some file and folder permissions. Change the files and folders permissions under app/storage recursively to 0777. This application was designed to run on a subdomain and not from a folder from the TLD. Make sure to create a subdomain and if possible have domain point to the public folder that's located under the root folder.

Now load up application in your web browser and it will begin the process of creating the tables. This process will take a few seconds to run on first load. When it completed you should see the dashboard.

Default login

Username: admin

Password: password

You can change the default username and password by clicking on Site Management > Users > Admin

If you have any questions or need help setting this up please post it here.

Please create a ticket for bugs/requests. here.

Installing from the command line

This method is only for those who have shell access to their web server or VPS. This will download and extract the files to your current directory. Make sure it's an empty directory.

If you have git installed you can just run the following command to install it. You must have composer and php command line installed.

Composer Method (preferred)

composer create-project --prefer-dist --no-scripts --keep-vcs adkgamers/bfadmincp .

Git Method

git clone https://github.com/Prophet731/BFAdminCP.git .
composer install --no-scripts

This will clone and install the dependency's need for the BFACP to work. This will checkout the master branch which is the stable version. If you would like to run the develop version you will need to run git checkout develop before you issue the composer command.

To update it all you will need to do is run git pull and it will pull the latest version on the current branch (master or develop).

To make this an automated process you can create a cron job for it.

* * * * * cd /path/to/bfacp; git pull >/dev/null 2>&1

bfacp's People

Contributors

bp4u avatar fonta avatar prophet731 avatar syslink88 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.