This guide covers how to set up and configure your Cube 2: Sauerbraten dedicated server hosted with Legion Hosting. Sauerbraten is a free multiplayer FPS and the successor to the original Cube engine, featuring fast-paced deathmatch and cooperative in-game map editing. For admin commands and server management, see Cube 2: Sauerbraten Admin Guide.
1. Accessing Your Server
- Log in to GPanel.
- Select your Cube 2: Sauerbraten 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 Description | CUBE_SERVERDESCRIPTION |
(empty) | Server description shown in the server browser. |
| Max Players | CUBE_MAXPLAYERS |
4 | Maximum players (up to 16). Higher values use significantly more bandwidth. |
| Master Server | CUBE_MASTERSERVER |
sauerbraten.org | Master server for registration and player authentication. |
| Admin Password | CUBE_ADMINPASSWORD |
(empty) | Password for admin/master access on the server. |
CUBE_MAXPLAYERS reasonable for your server plan.
3. Configuration Files
Sauerbraten uses configuration files in the server directory. The server is primarily configured through startup variables, but you can also create a server-init.cfg file for advanced settings.
Example server-init.cfg:
serverdesc "My Sauerbraten Server"
maxclients 8
publicserver 1
serverpass ""
adminpass "your_admin_password"
4. Connecting to Your Server
- Download Sauerbraten from sauerbraten.org (free).
- Launch Sauerbraten.
- Open the server browser and find your server, or open the console (
/) and type:/connect [IP] [PORT]
5. First-Time Setup Checklist
- Set a
CUBE_SERVERDESCRIPTIONfor the server browser. - Set a strong
CUBE_ADMINPASSWORD. - Set
CUBE_MAXPLAYERSappropriate for your server plan. - Start the server and verify it shows
dedicated server started, waiting for clients...
Related Articles
Need Help?
If you run into issues with your Sauerbraten server, open a support ticket and include your server IP, a description of the problem, and any error messages from the GPanel console.