This guide covers how to set up and configure your AssaultCube dedicated server hosted with Legion Hosting. AssaultCube is a free, fast-paced multiplayer FPS based on the Cube engine, featuring realistic environments and arcade-style gameplay. For admin commands and server management, see AssaultCube Server Admin Guide.
1. Accessing Your Server
- Log in to GPanel.
- Select your AssaultCube server from the server list.
- Your server IP and port are displayed on the Console tab. See How to Find Your Server IP and Port for details.
2. Startup Variables
Configure these settings from the Startup tab in GPanel:
| Variable | Env Name | Default | Description |
|---|---|---|---|
| Server Auth Key | ASSAULT_SERVER_KEY |
(empty) | Authentication key for master server registration. Generate in the AC client with authkey new server. |
| Server Description | ASSAULT_SERVER_DESCRIPTION |
(empty) | Server description shown in the server browser. |
| Message of the Day | ASSAULT_SERVER_MOTD |
(empty) | MOTD displayed to players when they connect. |
| Max Players | ASSAULT_SERVER_MAXPLAYERS |
16 | Maximum players (up to 16). |
| Admin Password | ASSAULT_SERVER_ADMINPASSWORD |
(empty) | Password for admin access (minimum 5 characters). |
| Player Password | ASSAULT_SERVER_PLAYERPASSWORD |
(empty) | Password required to join. Leave blank for public access. |
| Master Server | ASSAULT_SERVER_MASTERSERVER |
ms.cubers.net | Master server for registration. Use localhost to hide from the server list. |
| Version | VERSION |
latest | AssaultCube version to install. |
3. Server Auth Key
To register your server on the master server list, you need an auth key:
- Run the AssaultCube client on your PC.
- Open the console and type:
authkey new server - Copy the generated key.
- Paste it into the
ASSAULT_SERVER_KEYstartup variable in GPanel.
4. Connecting to Your Server
- Download AssaultCube from assault.cubers.net (free).
- Launch AssaultCube.
- Open the server browser and find your server, or connect directly via the console:
/connect [IP] [PORT] - Enter the player password if one is set.
5. First-Time Setup Checklist
- Generate and set your
ASSAULT_SERVER_KEYfor master server listing. - Set a strong
ASSAULT_SERVER_ADMINPASSWORD(min 5 characters). - Set a
ASSAULT_SERVER_DESCRIPTIONfor the server browser. - Start the server and verify it shows
dedicated server started, waiting for clients...
Related Articles
Need Help?
If you run into issues with your AssaultCube server, open a support ticket and include your server IP, a description of the problem, and any error messages from the GPanel console.