Prerequisites
Before starting this guide, ensure you have:- Completed the Installation process
- Deleted the
installdirectory - Access to your admin credentials
Accessing the Admin Panel
Navigate to Admin Login
Open your web browser and go to the admin panel:You’ll see the GamePanelX admin login page.
Log In
Enter your administrator credentials:
- Username: The admin username you created during installation (default:
admin) - Password: Your admin password
The login form is located in
/admin/login.php and uses AJAX for authentication. Your session is stored securely with session variables gpx_userid and gpx_type.Understanding the Architecture
Before creating servers, it’s important to understand GamePanelX’s core concepts:Network Servers
Physical or virtual machines that host game servers. The installer creates a local network server automatically.
Templates
Pre-configured game server packages stored as
.tar.gz archives in _SERVERS/templates/. Used for quick server deployment.Game Servers
Individual game server instances running on network servers, created from templates.
Users
Client accounts that can own and manage game servers through the client portal.
Creating Your First Game Template
Game servers are created from templates. Let’s create a template first:Add New Template
Click Create Template or Add New button.You’ll need to provide:
- Network Server: Select your local server (created during installation)
- Game Type: Choose from supported games in the
default_gamestable - Description: A friendly name for this template (e.g., “CS:GO Standard”)
- Installation Method: Choose one of:
- Archive Path: Path to a
.tar.gzfile with game files - Steam/SteamCMD: Automatic installation via Steam (requires Steam credentials)
- Auto Install: Custom installation script with mirrors
- Archive Path: Path to a
Configure Installation
Monitor Template Creation
The template creation process runs in the background:
- A remote token is generated for callbacks
- The appropriate installation script is executed on the network server
- Files are extracted or downloaded to
_SERVERS/templates/{template_id}.tar.gz - Status updates are sent back via callback to
/includes/callback.php
running- Template is being createdsteam_running- Steam installation in progresscompleted- Template is ready for usefailed- Installation encountered an error
Creating a Game Server
Once you have a template, you can create game servers:Navigate to Servers
From the admin dashboard, click Servers → Add Server.This loads
/admin/serveradd.php.Configure Server Settings
Fill in the server creation form:
Network Configuration
- Network Server: Select the network server to host this game server
- Server Type: Choose the game/template (templates filtered by selected network)
Ownership
- Owner: Select a user account (the installer creates an
exampleuser by default)
Server Details
- Port: The game server port (e.g.,
27015for Source games) - Description: Optional description for this server instance
The system automatically checks if the IP:Port combination is already in use to prevent conflicts.
Create the Server
Click Create Server to begin the server creation process.The The script:
_SERVERS/scripts/CreateServer script is executed with parameters:- Creates the server directory:
_SERVERS/accounts/<username>/<ip>.<port>/ - Extracts the template archive to the server directory
- Sets up proper permissions and ownership
- Optionally starts the server if configured
Managing Game Servers
GamePanelX provides several management actions through/ajax/server_actions.php:
Start/Restart Server
- Retrieves server info from the
serverstable - Updates the configuration file with current settings
- Executes
_SERVERS/scripts/Restartwith parameters:
Stop Server
_SERVERS/scripts/Stop script to gracefully shut down the game server.
Update Server
For Steam-based servers, you can run updates:_SERVERS/scripts/UpdateServer script with the configured update command.
Server Configuration Files
GamePanelX automatically manages game server configuration files. When you modify settings through the web interface:- Settings are stored in the database (
serverstable) - On restart,
configupdate()method updates the actual config file - The config file path is defined in
default_games.config_file - Settings use the separator defined in
default_games.cfg_separator
cfg_ip- Server IP addresscfg_port- Server portcfg_maxplayers- Maximum playerscfg_map- Default mapcfg_hostname- Server hostnamecfg_rcon- RCON passwordcfg_password- Server password
Accessing the Client Portal
Your users can manage their servers through the client portal:Client Login
Users access the client portal at:They log in with their username and password (stored in the
users table).Server Management
From the client interface (
/index.php), users can:- View their game servers
- Start/stop/restart servers
- View server status and player count (via GameQ integration)
- Access file manager for server files
- View server console output
- Modify basic settings
Server Monitoring with GameQ
GamePanelX includes GameQ v2 integration for real-time server querying:- Online/offline status
- Current player count
- Maximum players
- Current map
- Server hostname
Common Workflows
Adding Multiple Servers
Bulk User Creation
Create multiple users for your game servers:- Navigate to Users → Add User
- Fill in user details (username, password, email, name)
- The system creates:
- User account in the
userstable - Encrypted credentials for SSH access
- System user on network servers (via
_SERVERS/scripts/CreateUser)
- User account in the
Next Steps
Now that you have GamePanelX running:Server Management
Learn advanced server creation and management techniques
User Management
Manage user accounts and permissions
Network Configuration
Add and configure additional network servers
Templates
Create custom game server templates
Troubleshooting
Server Won’t Start
Check the server logs:Permission Issues
Ensure proper ownership:Port Already in Use
GamePanelX checks for port conflicts, but you can verify manually:Template Creation Fails
Check template status and logs:- Navigate to Templates in admin panel
- Check the status column
- Review
/var/log/syslogor_SERVERS/logs/templates.logfor errors
For Steam-based templates, ensure your Steam credentials are valid and Steam Guard is configured properly in the settings.