the control panel
Find a file
2025-09-11 18:29:43 -04:00
.github No changes 2025-09-11 13:29:15 -04:00
.vscode No changes 2025-09-11 13:29:15 -04:00
.well-known/pki-validation No changes 2025-09-11 13:29:15 -04:00
_agent-linux No changes 2025-09-11 13:29:15 -04:00
_agent-windows No changes 2025-09-11 13:29:15 -04:00
_website No changes 2025-09-11 13:29:15 -04:00
backup No changes 2025-09-11 13:29:15 -04:00
Crypt No changes 2025-09-11 13:29:15 -04:00
css No changes 2025-09-11 13:29:15 -04:00
db No changes 2025-09-11 13:29:15 -04:00
favicon No changes 2025-09-11 13:29:15 -04:00
images No changes 2025-09-11 13:29:15 -04:00
includes No changes 2025-09-11 13:29:15 -04:00
js No changes 2025-09-11 13:29:15 -04:00
lang No changes 2025-09-11 13:29:15 -04:00
modules No changes 2025-09-11 13:29:15 -04:00
paypal No changes 2025-09-11 13:29:15 -04:00
protocol No changes 2025-09-11 13:29:15 -04:00
scripts No changes 2025-09-11 13:29:15 -04:00
status No changes 2025-09-11 13:29:15 -04:00
test No changes 2025-09-11 13:29:15 -04:00
themes No changes 2025-09-11 13:29:15 -04:00
tools No changes 2025-09-11 13:29:15 -04:00
.deployed-at No changes 2025-09-11 13:29:15 -04:00
.gitignore No changes 2025-09-11 13:29:15 -04:00
.google.html.swp No changes 2025-09-11 13:29:15 -04:00
all_hostable_games_union.csv No changes 2025-09-11 13:29:15 -04:00
api_authorized.hosts No changes 2025-09-11 13:29:15 -04:00
backup.sh No changes 2025-09-11 13:29:15 -04:00
biedi.php No changes 2025-09-11 13:29:15 -04:00
browserconfig.xml No changes 2025-09-11 13:29:15 -04:00
COPYING No changes 2025-09-11 13:29:15 -04:00
exim SMTP.txt No changes 2025-09-11 13:29:15 -04:00
favicon.ico No changes 2025-09-11 13:29:15 -04:00
google9fa5ba176d404dcf.html No changes 2025-09-11 13:29:15 -04:00
home.php No changes 2025-09-11 13:29:15 -04:00
IMPLEMENTATION_SUMMARY.md No changes 2025-09-11 13:29:15 -04:00
index.php No changes 2025-09-11 13:29:15 -04:00
LICENSE No changes 2025-09-11 13:29:15 -04:00
manifest.json No changes 2025-09-11 13:29:15 -04:00
MYSQL_AUTO_CREATE_README.md No changes 2025-09-11 13:29:15 -04:00
mysql_auto_create_settings.sql No changes 2025-09-11 13:29:15 -04:00
ogp_api.php No changes 2025-09-11 13:29:15 -04:00
phpinfo.php No changes 2025-09-11 13:29:15 -04:00
README.md No changes 2025-09-11 13:29:15 -04:00
resource_stats_config_example.txt No changes 2025-09-11 13:29:15 -04:00
RESOURCE_STATS_README.md No changes 2025-09-11 13:29:15 -04:00
server_status.php No changes 2025-09-11 13:29:15 -04:00
serverbot.php No changes 2025-09-11 13:29:15 -04:00
status_api.php No changes 2025-09-11 13:29:15 -04:00
tos.php No changes 2025-09-11 13:29:15 -04:00
tz.php No changes 2025-09-11 13:29:15 -04:00

GameServerPanel (GSP) - Unstable Branch

This is the GameServerPanel (GSP) project, a cross-platform game server management panel and agent system.

This README covers installation and setup for:

  • The Web Panel
  • The Linux Agent
  • The Windows Agent

Table of Contents


Prerequisites

General

  • Git
  • curl/wget
  • Sudo/root privileges

Panel (Linux)

  • Ubuntu 22.04+ (other distros may work)
  • Apache2 or nginx
  • PHP 8.1+
  • MariaDB or MySQL
  • Required PHP extensions:
    php-mysqli php-json php-curl php-xml php-zip php-gd php-mbstring php-bcmath php-intl php-pdo php-cli
  • Composer (for PHP dependency management)

Linux Agent

  • Ubuntu 22.04+ (other distros may work)
  • Perl 5
  • Perl modules:
    Proc::ProcessTable, IO::Socket, DBI, Sys::Hostname, LWP::UserAgent, JSON, File::Path
  • Screen (for game server management)

Windows Agent

  • Windows 10/11/Server
  • Strawberry Perl (or ActivePerl)
  • Perl modules:
    Same as Linux agent (Proc::ProcessTable, etc.)
  • Run agent as Administrator for full functionality

Panel Installation (Linux)

  1. Install prerequisites:

    sudo apt update
    sudo apt install apache2 mariadb-server php php-mysqli php-json php-curl php-xml php-zip php-gd php-mbstring php-bcmath php-intl php-pdo php-cli composer git unzip
    
  2. Clone the repository:

    git clone -b unstable https://github.com/GameServerPanel/GSP.git
    cd GSP/ControlPanel
    
  3. Install PHP dependencies:

    composer install
    
  4. Set permissions:

    sudo chown -R www-data:www-data .
    sudo chmod -R 755 .
    
  5. Configure Apache/nginx:

    • Point your DocumentRoot to GSP/ControlPanel/public
    • Restart your webserver.
  6. Configure the Panel:

    • Open the panel in your browser
    • Follow setup wizard (enter database details, admin account, etc.)

Agent Installation (Linux)

  1. Install prerequisites:

    sudo apt update
    sudo apt install perl build-essential screen libproc-processtable-perl libio-socket-perl libdbi-perl libsys-hostname-perl libwww-perl libjson-perl libfile-path-perl
    
  2. Clone the agent:

    git clone -b unstable https://github.com/GameServerPanel/GSP.git
    cd GSP/Agent
    
  3. Run the agent:

    perl ogp_agent.pl
    

If libproc-process-table-perl is not available on your distro, install via CPAN:

sudo apt install cpanminus
sudo cpanm Proc::ProcessTable

Agent Installation (Windows)

  1. Install Strawberry Perl

  2. Open Command Prompt as Administrator

  3. Install required Perl modules:

    cpan install Proc::ProcessTable IO::Socket DBI Sys::Hostname LWP::UserAgent JSON File::Path
    
  4. Clone the repository or download the Agent folder

  5. Run the agent:

    perl ogp_agent.pl
    

Example Installation Scripts

Linux Agent Quick Install

#!/bin/bash
sudo apt update
sudo apt install -y perl build-essential screen git \
    libproc-processtable-perl libio-socket-perl libdbi-perl \
    libsys-hostname-perl libwww-perl libjson-perl libfile-path-perl
git clone -b unstable https://github.com/GameServerPanel/GSP.git
cd GSP/Agent
perl ogp_agent.pl

Panel Quick Install

#!/bin/bash
sudo apt update
sudo apt install -y apache2 mariadb-server php php-mysqli php-json php-curl php-xml php-zip php-gd php-mbstring php-bcmath php-intl php-pdo php-cli composer git unzip
git clone -b unstable https://github.com/GameServerPanel/GSP.git
cd GSP/ControlPanel
composer install
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
# Configure your web server to point to GSP/ControlPanel/public

Troubleshooting

  • Missing Perl modules:
    Use cpanm or cpan to install missing modules.

  • libproc-process-table-perl not found:
    Install via CPAN (cpanm Proc::ProcessTable)

  • Web panel not loading:
    Check Apache/nginx logs, file permissions, and PHP modules.

  • Agent cannot communicate with panel:
    Check firewall settings and agent config.


Contributing

  • Fork the repository
  • Create a feature branch
  • Make your changes
  • Submit a pull request

License

See LICENSE file in the repository.


For detailed help or bug reports, open an issue on GitHub.