├── .gitattributes ├── .ssh ├── .htaccess └── passphrase ├── .version ├── .htaccess └── version.xml ├── CHANGELOG.txt ├── CONTRIBUTORS.txt ├── LICENSE-HIGHSOFT-SOFTWARE.txt ├── LICENSE.txt ├── README-041-UPDATE.txt ├── README.txt ├── admin ├── .htaccess ├── api.boxdata.json.php ├── bootstrap │ ├── footer.php │ ├── header.php │ ├── index.php │ └── notifications.php ├── box.php ├── boxadd.php ├── boxchart.php ├── boxgamefile.php ├── boxip.php ├── boxlog.php ├── boxprocess.php ├── boxprofile.php ├── boxserver.php ├── boxsummary.php ├── client.php ├── clientadd.php ├── clientlog.php ├── clientprocess.php ├── clientprofile.php ├── clientserver.php ├── clientsummary.php ├── configadmin.php ├── configadminadd.php ├── configadminedit.php ├── configadminprocess.php ├── configcron.php ├── configgame.php ├── configgameadd.php ├── configgameedit.php ├── configgameprocess.php ├── configgeneral.php ├── configgeneralprocess.php ├── configgroup.php ├── configgroupadd.php ├── configgroupedit.php ├── configgroupprocess.php ├── cron.php ├── include.php ├── index.php ├── login.php ├── loginmaintenance.php ├── loginprocess.php ├── loginsuspended.php ├── myaccount.php ├── process.php ├── script.php ├── scriptadd.php ├── scriptcatadd.php ├── scriptcatedit.php ├── scriptcatmanage.php ├── scriptconsole.php ├── scriptprocess.php ├── scriptprofile.php ├── scriptsummary.php ├── server.php ├── serveradd.php ├── serverlgsl.php ├── serverlog.php ├── servermanage.php ├── serverprocess.php ├── serverprocess2.php ├── serverprofile.php ├── serversummary.php ├── systemlicense.php ├── utilitieslog.php ├── utilitieslogprocess.php ├── utilitiesoptimize.php ├── utilitiesoptimizeprocess.php ├── utilitiesphpinfo.php ├── utilitiesrcontool.php └── utilitiesversion.php ├── bootstrap ├── css │ ├── bootstrap-responsive.css │ ├── bootstrap.css │ ├── cerulean.css │ ├── cosmo.css │ ├── cyborg.css │ ├── index.php │ ├── prettify.css │ ├── simplex.css │ ├── slate.css │ ├── sorter-dark.css │ ├── sorter.css │ ├── spacelab.css │ └── united.css ├── footer.php ├── gfx │ ├── index.php │ └── vml-radial-gradient.png ├── header.php ├── img │ ├── arrow.png │ ├── arrowicon-white.png │ ├── asc.gif │ ├── asc2.gif │ ├── bg.gif │ ├── bg2.gif │ ├── data1.png │ ├── data2.png │ ├── desc.gif │ ├── desc2.gif │ ├── favicon.ico │ ├── glyphicons-halflings-white.png │ ├── glyphicons-halflings.png │ ├── index.php │ ├── logo.png │ ├── nodata.png │ └── wait.gif ├── index.php ├── js │ ├── adapters │ │ ├── index.php │ │ ├── mootools-adapter.js │ │ └── prototype-adapter.js │ ├── bootstrap.js │ ├── google-code-prettify │ │ ├── index.php │ │ └── prettify.js │ ├── highcharts-more.js │ ├── highstock.js │ ├── index.php │ ├── jquery.js │ ├── jquery.lazyload.min.js │ ├── jquery.tablesorter.min.js │ ├── modules │ │ ├── annotations.js │ │ ├── canvas-tools.js │ │ ├── data.js │ │ ├── exporting.js │ │ ├── funnel.js │ │ ├── heatmap.js │ │ ├── index.php │ │ └── map.js │ └── themes │ │ ├── dark-blue.js │ │ ├── dark-green.js │ │ ├── gray.js │ │ ├── grid.js │ │ └── index.php └── notifications.php ├── captcha ├── index.php └── securimage_show.php ├── configuration.php ├── favicon.ico ├── gpl-3.0.txt ├── include.php ├── includes ├── .htaccess ├── func.auth.inc.php ├── func.gameinstaller.inc.php ├── func.groups.inc.php ├── func.lang.inc.php ├── func.misc.inc.php ├── func.ssh2.inc.php ├── func.style.inc.php ├── functions.php ├── mysql.php └── templates.php ├── index.php ├── install ├── CHANGELOG.txt ├── bootstrap │ ├── css │ │ ├── bootstrap-responsive.css │ │ ├── bootstrap.css │ │ └── index.php │ ├── img │ │ ├── favicon.ico │ │ ├── glyphicons-halflings-white.png │ │ ├── glyphicons-halflings.png │ │ └── index.php │ ├── index.php │ └── js │ │ ├── bootstrap.js │ │ ├── index.php │ │ └── jquery.js ├── inc │ ├── mysql.php │ └── versions.php ├── index.php └── sql │ ├── full.php │ ├── index.php │ ├── update_010_to_011.php │ ├── update_011_to_030.php │ ├── update_030_to_035.php │ ├── update_035_to_039.php │ ├── update_039_to_040.php │ ├── update_040_to_041.php │ └── update_041_to_045.php ├── libs ├── .htaccess ├── gameinstaller │ ├── actions.list.txt │ ├── files.info.txt │ ├── gameinstaller.php │ ├── games.ini │ └── games │ │ ├── minecraft │ │ └── manifest.xml │ │ ├── mta │ │ └── manifest.xml │ │ └── samp │ │ └── manifest.xml ├── lgsl │ ├── lgsl_class.php │ ├── lgsl_config.php │ └── lgsl_protocol.php ├── pchart │ ├── class │ │ ├── pBubble.class.php │ │ ├── pCache.class.php │ │ ├── pData.class.php │ │ ├── pDraw.class.php │ │ ├── pImage.class.php │ │ ├── pPie.class.php │ │ ├── pRadar.class.php │ │ ├── pScatter.class.php │ │ ├── pSplit.class.php │ │ └── pSurface.class.php │ ├── data │ │ ├── 128B.db │ │ └── 39.db │ ├── fonts │ │ ├── Forgotte.ttf │ │ └── pf_arma_five.ttf │ └── palettes │ │ ├── autumn.color │ │ ├── blind.color │ │ ├── evening.color │ │ ├── kitchen.color │ │ ├── light.color │ │ ├── navy.color │ │ ├── shade.color │ │ ├── spring.color │ │ └── summer.color ├── php-gettext │ ├── gettext.inc.php │ ├── gettext.php │ └── streams.php ├── phpseclib │ ├── ANSI.php │ ├── AUTHORS │ ├── Crypt │ │ ├── AES.php │ │ ├── Base.php │ │ ├── Blowfish.php │ │ ├── DES.php │ │ ├── Hash.php │ │ ├── RC4.php │ │ ├── RSA.php │ │ ├── Random.php │ │ ├── Rijndael.php │ │ ├── TripleDES.php │ │ └── Twofish.php │ ├── LICENSE │ ├── Math │ │ └── BigInteger.php │ ├── README.md │ ├── SFTP.php │ ├── SSH2.php │ ├── build.txt │ └── openssl.cnf └── securimage │ ├── AHGBold.ttf │ ├── LICENSE.txt │ ├── README.FONT.txt │ ├── README.txt │ ├── backgrounds │ ├── bg3.jpg │ ├── bg4.jpg │ ├── bg5.jpg │ └── bg6.png │ ├── database │ ├── .htaccess │ ├── index.html │ └── securimage.sq3 │ ├── securimage.php │ └── words │ └── words.txt ├── locale ├── .htaccess ├── en_EN │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po ├── es_ES │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po ├── fr_FR │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po ├── nl_NL │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po ├── pl_PL │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po └── ru_RU │ └── LC_MESSAGES │ ├── messages.mo │ └── messages.po ├── login.php ├── loginprocess.php ├── loginsuspended.php ├── myaccount.php ├── process.php ├── robots.txt ├── scriptconsole.php ├── scriptprocess.php ├── scriptsummary.php ├── server.php ├── serverprocess.php └── utilitiesrcontool.php /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=lf 3 | -------------------------------------------------------------------------------- /.ssh/.htaccess: -------------------------------------------------------------------------------- 1 | AuthName "403" 2 | deny from all -------------------------------------------------------------------------------- /.ssh/passphrase: -------------------------------------------------------------------------------- 1 | isEmpty = TRUE; -------------------------------------------------------------------------------- /.version/.htaccess: -------------------------------------------------------------------------------- 1 | AuthName "403" 2 | deny from all -------------------------------------------------------------------------------- /.version/version.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Bright Game Panel 5 | bgp_r0-devel-beta8 6 | master 7 | 0.4.5 8 | 2013-11-23 9 | 10 | -------------------------------------------------------------------------------- /CHANGELOG.txt: -------------------------------------------------------------------------------- 1 | =================================================================== 2 | Bright Game Panel - PHP Game Control Panel 3 | by warhawk3407 (warhawk3407@gmail.com) 4 | =================================================================== 5 | 6 | http://www.bgpanel.net/ 7 | Version 0.4.5 (Release 0 DEVELOPER BETA 8) 8 | November 23rd, 2013 9 | 10 | =================================================================== 11 | 12 | ======================== 13 | BETA8 - 2013/11/23 23:30 14 | ======================== 15 | 16 | |-> New: added GameInstaller / Box Game File Repositories 17 | |-> New Languages 18 | * Dutch 19 | * Polish 20 | * Russian 21 | |-> Updated Libs 22 | * Boostrap 23 | * PHPSeclib 24 | * Securimage 25 | * jQuery 26 | * Highstock 27 | |-> Dropped Twitter Feeds 28 | |-> Patched SSH2 29 | |-> Patched Script Console 30 | |-> Patched Box Charts / data API 31 | |-> Fixed all known issues 32 | 33 | ------------------------------------------------------------------- 34 | 35 | ======================== 36 | BETA7 - 2013/04/24 19:30 37 | ======================== 38 | |-> Updated RCON Tool 39 | |-> Updated Charts 40 | * Highstock 41 | |-> Updated SSH2 42 | |-> Improved ergonomy 43 | |-> Fixed some issues 44 | |-> Optimized server management 45 | 46 | ------------------------------------------------------------------- 47 | 48 | ======================== 49 | BETA6 - 2013/04/13 16:30 50 | ======================== 51 | |-> Added Multilingual Support 52 | * English 53 | * French 54 | * Spanish 55 | |-> Added Multi-IP Support to Boxes 56 | |-> New Charts System 57 | |-> Fixed some issues 58 | |-> Updated last version check utility 59 | |-> Updated activity logs 60 | |-> Updated libraries 61 | * SSH2 62 | * Bootstrap 63 | * Bootswatch system 64 | * Javascript 65 | |-> Optimized cron 66 | |-> Optimized ergonomy 67 | |-> Optimized processes 68 | * SSH2 69 | * Bugs 70 | 71 | ------------------------------------------------------------------- 72 | 73 | ======================== 74 | BETA5 - 2012/12/30 20:00 75 | ======================== 76 | |-> Added bandwidth usage to Boxes 77 | |-> Added last version check utility 78 | |-> Tables goes Bootstrap 79 | |-> Added new template (Bootswatch system) 80 | * Cosmo (Win8) 81 | |-> Fixed known issues 82 | |-> Applied large security patch 83 | |-> Updated libraries 84 | * SSH2 85 | * Bootstrap 86 | * jQuery 87 | * Lazy Load 88 | |-> Javascript corrections 89 | |-> Optimized ergonomy 90 | |-> Optimized processes 91 | 92 | ------------------------------------------------------------------- 93 | 94 | ======================== 95 | BETA4 - 2012/10/16 17:45 96 | ======================== 97 | |-> Added panel maintenance mode 98 | |-> Added new games 99 | |-> Added a Captcha for lost passwords 100 | |-> Updated general file architecture 101 | |-> Updated script module 102 | |-> Updated login system 103 | |-> Updated SSH2 library 104 | |-> New javascript image rendering system for pChart 105 | |-> Javascript minor corrections 106 | |-> Optimized ergonomy 107 | |-> A few minor corrections 108 | 109 | ------------------------------------------------------------------- 110 | 111 | ======================== 112 | BETA3 - 2012/09/19 19:00 113 | ======================== 114 | |-> Added the script module 115 | |-> Added a page "Charts" to the box summary 116 | |-> Added a SQL database optimization tool 117 | |-> Added new templates (Bootswatch system) 118 | * SpaceLab & United 119 | |-> Added new games 120 | |-> Added SCREENLOG file download from server manager 121 | |-> Minor corrections 122 | |-> Greatly improved group management (new one) 123 | |-> Greatly improved the Install Wizard 124 | |-> Optimized pChart 125 | |-> Optimized the ergonomy 126 | * Fixed home page bugs 127 | * Added icons 128 | |-> Fixed the RAM monitor 129 | * Now it only show RAM without "buffers/cache" 130 | |-> Minor process fix for RCON Tool 131 | |-> Updated the log system 132 | * Fixed pagination on some pages 133 | |-> Updated the login system 134 | * Improved visual style 135 | * Added "Remember Me" option 136 | |-> Updated Bootstrap to 2.1.1 137 | |-> Removed the heavy and useless PHP Mailer library 138 | |-> Configuration file 139 | * CRON Configuration (Sets the period (in seconds) between two crons) 140 | * Simplified DATE Configuration 141 | 142 | ------------------------------------------------------------------- 143 | 144 | ======================== 145 | BETA2 - 2012/07/07 12:15 146 | ======================== 147 | |-> Minor corrections 148 | |-> Optimized the ergonomy 149 | * New home page with Twitter ! 150 | * LGSL is now bootstrap powered ! 151 | |-> Improved box monitoring 152 | |-> Minor fix for RCON Tool 153 | * The page will load until we have new data when we launch RCON commands (it avoids to refresh the page yourself to see the output of your command) 154 | |-> Improved the security by adding AES256 crypto to SSH passwords 155 | |-> Updated the log system 156 | * Removed the links 157 | * Now it properly format the date 158 | * Added export options (TXT & CSV) 159 | * Pagination 160 | |-> Added the pChart module 161 | |-> Added the Bootswatch system 162 | |-> Added new games 163 | -------------------------------------------------------------------------------- /CONTRIBUTORS.txt: -------------------------------------------------------------------------------- 1 | =================================================================== 2 | Bright Game Panel - PHP Game Control Panel 3 | by warhawk3407 (warhawk3407@gmail.com) 4 | 5 | WARHAWK's CONTRIBUTORS SPECIAL THANKS 6 | =================================================================== 7 | 8 | My first thanks goes to "sUpEr g2", for is whole participation to this project. 9 | He was the first one to believe in my project, hosted me for a year on his dedicated server, 10 | reported all bugs and corrected some of them himself. This panel is now what it is by 11 | the suggestions and the points of improvement of "sUpEr g2". 12 | Thank you sUpEr g2. 13 | 14 | I would like also thank both "ALpha" and "Soldat Ryan" for your help, by giving me some very useful code, 15 | or by testing the panel and reporting me bugs. Your personal investment encourages me to continue this wonderful project ! 16 | Thank you guys. 17 | 18 | Also thanks to all people that are following me on Twitter, submitting their comments, improvements and 19 | bugs at http://support.bgpanel.net/ . Finally the ones that are making my community forums alive :) 20 | 21 | ------------------------------------------------------------------- 22 | 23 | /!\ If you are a forgotten contributor and you wish to appear in the list below, please contact me as soon as possible ! /!\ 24 | 25 | ------------------------------------------------------------------- 26 | 27 | =================================================================== 28 | CONTRIBUTORS 29 | =================================================================== 30 | - PirlotN & Paca: Multilangual Support Using PHP-Gettext 31 | - shadowmoses: Added Multi-IP Support and Applied Some Corrections To The Code :) 32 | - samt2497: Added Spanish Locale, Ticket System and GameInstaller (initial) 33 | - Piotr Lasota (loleN): Polish Locale 34 | - hummer: Russian Locale 35 | - fungamerz: Dutch Locale 36 | 37 | =================================================================== 38 | Hall of Fame 39 | =================================================================== 40 | 09/11/2013 - 100,00€ - Jean-Claude Dubois (Many thanks !!!) 41 | 42 | 26/09/2013 - 10,00€ - Sami Talmila (http://www.samsah-hq.net) 43 | 44 | 28/08/2013 - 30,00€ - GetMediaWise (http://www.getmediawise.com/) 45 | 46 | 22/08/2013 - 51,00€ - DediZones Hosting (https://www.dedishops.com) 47 | 48 | 01/04/2013 - 10,00€ - Gamebattles Ltd (http://www.gamebattles.gr/ - http://www.webhosting4u.gr/) 49 | 50 | 26/10/2012 - 01,00€ - pep3l 51 | 52 | 19/10/2012 - 10,00€ - [EU] Soldat Ryan (http://www.europe-team.eu/) 53 | 54 | 29/07/2012 - 06,00€ - avatarblack1 -------------------------------------------------------------------------------- /LICENSE-HIGHSOFT-SOFTWARE.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------- 2 | HighSoft Non Commercial Licensing (CC BY-NC 3.0) 3 | ------------------------------------------------------------------- 4 | 5 | Bright Game Panel uses the Highcharts JS and Highstock JS libraries. 6 | 7 | Those libraries are developed by Highsoft. Highsoft is the owner of software products 8 | developed by Torstein Hønsi. Please, see . 9 | 10 | Highcharts JS and Highstock JS libraries provided in this package are licensed under 11 | the terms of the Creative Commons Attribution-NonCommercial 3.0 License. 12 | Please, see . 13 | 14 | You can use HighSoft software for free under the non-commercial license when you are: 15 | - A student, university or a public school 16 | - A non-profit organisation 17 | - Developing and testing applications using Highcharts/Highstock 18 | 19 | Source editing is allowed. 20 | 21 | HIGHSOFT SOFTWARE PRODUCT IS NOT FREE FOR COMMERCIAL USE. 22 | 23 | More information at . 24 | -------------------------------------------------------------------------------- /README-041-UPDATE.txt: -------------------------------------------------------------------------------- 1 | =================================================================== 2 | Bright Game Panel - PHP Game Control Panel 3 | by warhawk3407 (warhawk3407@gmail.com) 4 | =================================================================== 5 | 6 | http://www.bgpanel.net/ 7 | Version 0.4.5 (Release 0 DEVELOPER BETA 8) 8 | November 23rd, 2013 9 | 10 | =================================================================== 11 | 12 | 13 | WARNING: 14 | 15 | Updating the panel from a previous release to this version (0.4.1) 16 | will cause all your SERVERS to be SWITCHED OFF and the STATUS to be set as PENDING. 17 | 18 | You will have to edit your servers and re-validate them (you have to update the "Path" field). 19 | 20 | We updated what we previously called "Homedir Path" or "Home Directory". 21 | 22 | Now, you have to specify the ABSOLUTE PATH of your game server executable (It has been renamed to "Path"). 23 | @see: http://www.computerhope.com/jargon/a/absopath.htm 24 | 25 | 26 | EXAMPLE OF PATH: 27 | 28 | /home/user/minecraft/server1/minecraft_server.jar 29 | /home/user/csgo/server1/srcds_run 30 | /home/user/mw3/server1/iw5mp_server.exe 31 | -------------------------------------------------------------------------------- /admin/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | AuthName "403" 4 | deny from all 5 | 6 | -------------------------------------------------------------------------------- /admin/bootstrap/footer.php: -------------------------------------------------------------------------------- 1 | . 18 | * 19 | * 20 | * @categories Games/Entertainment, Systems Administration 21 | * @package Bright Game Panel 22 | * @author warhawk3407 @NOSPAM 23 | * @copyleft 2013 24 | * @license GNU General Public License version 3.0 (GPLv3) 25 | * @version (Release 0) DEVELOPER BETA 8 26 | * @link http://www.bgpanel.net/ 27 | */ 28 | 29 | 30 | 31 | //Prevent direct access 32 | if (!defined('LICENSE')) 33 | { 34 | exit('Access Denied'); 35 | } 36 | 37 | 38 | ?> 39 | 40 | 50 | 51 | 52 | 53 | 54 | 59 | 78 | 79 | 83 |