This guide covers admin access, commands, game modes, and server management for your AssaultCube dedicated server. For initial setup, see AssaultCube Server Setup Guide.
1. Admin Access
Admin access uses the ASSAULT_SERVER_ADMINPASSWORD set in the Startup tab. To claim admin in-game, open the console and type:
/setadmin your_admin_password
Once authenticated, you gain access to admin commands for the current session.
2. Admin Commands
All commands are entered in the in-game console (press T for chat or / for commands).
| Command | Description |
|---|---|
/kick [cn] [reason] |
Kick a player by client number. |
/ban [cn] [reason] |
Ban a player from the server. |
/forceteam [cn] [team] |
Force a player to a team (CLA or RVSF). |
/mastermode [mode] |
Set master mode (0=open, 1=private, 2=locked). |
/map [name] [mode] |
Change map and game mode. |
/autoteam [0/1] |
Toggle automatic team balancing. |
/recorddemo |
Start recording a demo. |
/stopdemo |
Stop recording. |
3. Game Modes
Change the game mode with the /map command using the mode number:
| Number | Mode | Description |
|---|---|---|
| 0 | Team Deathmatch | Teams compete for kills. |
| 1 | Deathmatch | Free-for-all. |
| 2 | Survivor | Last team/player standing. |
| 3 | Team Survivor | Team-based last man standing. |
| 4 | CTF | Capture the Flag. |
| 5 | One-Shot One-Kill (OSOK) | Sniper mode with one-hit kills. |
| 6 | Pistol Frenzy | Pistol-only mode. |
| 7 | Last Swiss Standing | Knife-only mode. |
Example: /map ac_complex 4 loads ac_complex in CTF mode.
4. Server Configuration File
Advanced settings can be added to config/servercmdline.txt. This file controls startup flags:
| Flag | Description |
|---|---|
-n"description" |
Server description. |
-o"motd" |
Message of the day. |
-c[count] |
Max players. |
-x[password] |
Admin password. |
-p[password] |
Player password. |
servercmdline.txt. Use the GPanel Startup tab for primary configuration.
5. Master Server Modes
- Public: Set
ASSAULT_SERVER_MASTERSERVERtoms.cubers.net(default) to appear in the server list. - Hidden: Set it to
localhostto hide from the server list. Players can still connect by IP.
6. Troubleshooting
- Server not in server list: Verify your auth key is valid. Generate a new one if needed.
- Admin commands not working: Ensure you authenticated with
/setadminfirst. - Players cannot connect: Check the IP and port in GPanel. Ensure any player password is shared with intended players.
- Server crashes: Check GPanel console for errors. Try updating to the latest version.
Related Articles
Need Help?
If you need further assistance, open a support ticket with your server IP and any error messages from the GPanel console.