Giter VIP home page Giter VIP logo

bgpanel's Introduction

===================================================================
			Bright Game Panel - PHP Game Control Panel
			  by warhawk3407 ([email protected])
===================================================================

http://www.bgpanel.net/
Version 0.4.5 (Release 0 DEVELOPER BETA 8)
November 23rd, 2013

===================================================================
							Terms of Use
===================================================================

By using Bright Game Panel, you declare that you have read and understood
LICENSING conditions (see below) and you agree to respect all of them
without limitations.

===================================================================
							LICENSING
===================================================================

-------------------------------------------------------------------
Bright Game Panel Licensing (GNU General Public License)
-------------------------------------------------------------------

Bright Game Panel is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

-------------------------------------------------------------------
HighSoft Non Commercial Licensing (CC BY-NC 3.0)
-------------------------------------------------------------------

Bright Game Panel uses the Highcharts JS and Highstock JS libraries.

Those libraries are developed by Highsoft. Highsoft is the owner of software products
developed by Torstein Hønsi. Please, see <http://highsoft.com/>.

Highcharts JS and Highstock JS libraries provided in this package are licensed under
the terms of the Creative Commons Attribution-NonCommercial 3.0 License.
Please, see <http://creativecommons.org/licenses/by-nc/3.0/>.

You can use HighSoft software for free under the non-commercial license when you are:
	- A student, university or a public school
	- A non-profit organisation
	- Developing and testing applications using Highcharts/Highstock

Source editing is allowed.

HIGHSOFT SOFTWARE PRODUCT IS NOT FREE FOR COMMERCIAL USE.

More information at <http://shop.highsoft.com/faq#non-commercial-redistribution>.

===================================================================
							LIBRARIES
===================================================================

Bright Game Panel uses several GPL compliant libraries.
The following libraries are currently included into the panel :

- LGSL ( Live Game Server List ) by Richard Perry ( http://www.greycube.com/ )
- pChart 2.1.3 ( http://www.pchart.net/ )
- phpseclib build-364 ( http://phpseclib.sourceforge.net/ )
- securimage 3.5.1 (June 22, 2013) ( http://www.phpcaptcha.org/ )
- php-gettext 1.0.11 ( https://launchpad.net/php-gettext/ )

- Bootstrap 2.3.2 ( http://getbootstrap.com/2.3.2/ )
- Bootswatch 2.3.2 ( http://bootswatch.com/ )
- google-code-prettify ( http://code.google.com/p/google-code-prettify/ )
- jQuery 1.9.1 ( http://jquery.com/ )
	* Lazy Load 1.8.5 ( http://www.appelsiini.net/projects/lazyload/ )
	* tablesorter 2.0.3 ( http://tablesorter.com/ )
	* Highcharts JS: Highstock 1.3.4 (2013-08-02) ( http://www.highcharts.com/ )

===================================================================
						WEB SERVER REQUIREMENTS
===================================================================

1. Linux OS
2. PHP Version 5.3.4 or Greater
3. PHP Safe Mode Disabled
4. MySQL Database
5. Curl Extension
6. FSOCKOPEN Function
7. MAIL Function
8. MBSTRING Extension
9. BZIP2 Extension
10. ZLIB Extension
11. GD Extension
12. FreeType Extension
13. SimpleXML Extension

===================================================================
						INSTALLATION INSTRUCTIONS
===================================================================

1. Unzip the contents of the .zip file to a folder on your computer.

2. Edit the SQL settings in the file 'configuration.php' (The file must be in UNIX format - I recommend to use Notepad++). It is located in the '/upload_me' folder.

3. Upload the entire contents of the folder '/upload_me' to your website in binary mode. It is recommended to change the name of the '/admin' folder.

4. CHMOD file '/.ssh/passphrase' to 0777.

5. Run the installation script at http://www.yourdomain.com/install/index.php

6. Once complete, delete the install folder from your web server.

7. CHMOD file '/.ssh/passphrase' to 0644.

8. Do not forget to schedule the cron job.

Enjoy BrightGamePanel !

===================================================================
						UPDATE INSTRUCTIONS
===================================================================

0. READ SPECIFIC INFORMATION RELATIVE TO A VERSION UPGRADE. IT IS WRITTEN IN THE 'README UPDATE' FILE ( IF THIS FILE DOESN'T EXIST, IGNORE THIS STEP ).
	|-> Filename syntax: 'README-version-UPDATE.txt'

1. Remove all files (including the configuration.php file) from your website, both client and admin sides.
	*** IMPORTANT ***
	- YOU HAVE TO KEEP INTACT '/.ssh' DIRECTORY AT THE ROOT OF THE BRIGHT GAME PANEL INSTALL IF YOU ARE UPDATING TO A NEWER VERSION !

2. Unzip the contents of the .zip file to a folder on your computer.

3. Edit the SQL settings in the file '/upload_me/configuration.php'.

4. Delete the folder '.ssh' located in '/upload_me'.

5. Upload the entire contents of the folder '/upload_me'.
	*** IMPORTANT ***
	- DO NOT UPLOAD '.ssh' FOLDER ( IT SHOULD HAS BEEN DELETED AT STEP 4 ), OTHERWISE IT WILL OVERWRITE YOUR PASSPHRASE, MAKING BGP UNUSABLE !
	- DO NOT FORGET TO UPLOAD '.version' FOLDER IN ORDER TO OVERWRITE THE FILE '/.version/version.xml' !

6. CHMOD file '/.ssh/passphrase' to 0777.

7. Run the installation script at http://www.yourdomain.com/install/index.php
	|-> During the installation select "Update to the Last Version".

8. Once complete, delete the install folder from your web server.

9. CHMOD file '/.ssh/passphrase' to 0644.

Enjoy your updated version of Bright Game Panel !

bgpanel's People

Contributors

samt2497 avatar shadowmoses avatar superg2 avatar warhawk3407 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bgpanel's Issues

Postgresql support

pgsql database supported?

Checking for MySQL server connection FAILED Could not connect to MySQL: "No such file or directory"

Install broken

Installer is no longer working due to PHP7 not including the MYSQL extension.
Could someone please fix this :(

clientprocess.php freeze

After submitting everything on the clientadd.php, the page switches to clientprocess.php with a blank page.

I made sure there were correct permissions on the file and tried leaving the password field empty/filled.

The problem was resolved when I downgraded only the File (not the whole of bgp) from 0.4.5 to 0.4.0 version.

multiple issues

I noticed that if i tried to access the screen opened by bright game panel it loose the screen in the rcon tool and the rcon tool wouldn't have any button to reload the screen without typing it manually.
I also noticed with that same problem that meant it couldn't stop the server.

I just figured you would like to know this. i think this panel would be pretty good if that worked better. I also don't like that if u start it with anything else other than the panel it doesn't work either. I would like to see if u were willing to fix these.

I am not particularly sure where the stopping problem would really be. I'm guessing its the way your executing the commands to the screen.

The only other thing i would prefer in a panel would be the ability to use my own start start.sh script. since you are logging in via ssh i figure this shouldn't be too hard for you to do

Login failed on System-URL change

Hey,
maybe the message should be smth else than "Login failed", when someone tries to access the Panel from another URL and maybe there should be an option to add multiple urls.
Atm. i can't login to my panel from any of my urls... i looked into the database and it doent work with the one set as "systemurl", too.

Security Issue

In loginprocess is a massive security issue. You can "post" EVERY url to return.

https://github.com/warhawk3407/bgpanel/blob/master/admin/loginprocess.php#L111

header( "Location: ".urldecode($return));

https://github.com/warhawk3407/bgpanel/blob/master/admin/loginprocess.php#L109

My fix for it:

if (!empty($return) && parse_url($_SERVER['HTTP_HOST'], PHP_URL_HOST) == parse_url($return, PHP_URL_HOST))

It compares the host from the return argument & the http host host :)
(parse_url for $_SERVER because it contains ports if not running on default 80 / 443)

PHP Version

Do we really need 5.3.4 ? maybe a downgrade to 5.3.3 as that's what Redhat (Centos 6.5) has in there default repo, so makes for a simpler install ?

TailwindCSS

Hello to whom ever is the administrator for this project. I saw that you guys are using bootstrap, while bootstrap is a great tool, maybe use TailwindCSS? Tailwind gives you much more advantages in terms of customizability. If you have further questions, let me know!

Regards,
MG

Bootstrap 3

Consider update to Boostrap 3. Quite easy process, but will be good for future developing, since bootstrap 3 become more popular every day.

Deprecated mysql extension

Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in bgpanel/includes/mysql.php on line 39

Cache Creation /Update

When trying to create cache (minecraft) it would not create only .cacheuid and .cachescript were created.

Manually running .cachescript sorted it, maybe permissions? .cachescript was set to -rwxr-xr-x

Using CentOS 6.5 and BGP Beta 8

Server Stop Method

Would it be possible to add an option to run a script when the server is 'stopped' rather than just killing it?

For instance I have a script that starts a server with:

./script.sh start

and stops with:

./script.sh stop

Run Script upon Client Login

Very useful feature. Due to our security restrictions we use ip tables to allow access to our game server on the fly. Any chance we can set a script to run when a user authenticates so that it can add the rules required? Also LDAP authentication or PAM system auth would be great.

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.