This guide covers admin commands, RCON, and server management for your Xonotic dedicated server on Legion Hosting. For initial setup and configuration, see our Xonotic Server Setup Guide.
RCON Setup
Set your RCON password in .xonotic/data/server.cfg:
rcon_password "your_rcon_password"
Using RCON In-Game
- Open the console (press ~)
- Set the RCON password:
rcon_password "your_rcon_password" - Set the RCON address:
rcon_address YOUR_IP:PORT - Run commands:
rcon command_here
Security: Always set a strong RCON password. Without one, anyone can execute admin commands. Never share your RCON password publicly.
Common RCON Commands
| Command | Description |
|---|---|
rcon status |
Show server status and connected players |
rcon kick # <id> <reason> |
Kick a player by ID |
rcon ban <ip> |
Ban an IP address |
rcon unban <ip> |
Remove an IP ban |
rcon changelevel <map> |
Change to a specific map |
rcon endmatch |
End the current match |
rcon restart |
Restart the current map |
rcon say <message> |
Send a server-wide chat message |
rcon gametype <mode> |
Change the game mode (e.g., dm, ctf, tdm) |
rcon fraglimit_override <num> |
Set the frag/score limit |
rcon timelimit_override <minutes> |
Set the time limit per map |
rcon g_maplist "<maps>" |
Set the map rotation (space-separated) |
rcon quit |
Shut down the server |
Server Configuration
All server settings are in:
.xonotic/data/server.cfg
Common Settings
| Setting | Description |
|---|---|
hostname |
Server name in the browser |
sv_public |
Public listing (1=yes, 0=no, -1=LAN) |
maxplayers |
Maximum connected players |
gametype |
Default game mode |
g_maplist |
Map rotation (space-separated) |
g_maplist_shuffle |
Randomize map order (1=yes) |
timelimit_override |
Map time limit in minutes (0 = no limit) |
fraglimit_override |
Frag limit (0 = no limit) |
g_balance_teams |
Auto-balance teams |
bot_number |
Number of bots to add |
skill |
Bot skill level (0-10) |
minplayers |
Minimum players (bots fill remaining slots) |
Bot Management
Xonotic has built-in bot support. Configure bots in server.cfg:
// Add 4 bots with medium difficulty
bot_number 4
skill 5
// Or use minplayers to fill empty slots
minplayers 8
Custom Maps
To add custom maps:
- Download map
.pk3files from the Xonotic community - Upload them to the
data/directory via SFTP - Add the map name to
g_maplistinserver.cfg - Restart the server
Server Management via GPanel
| Action | How To |
|---|---|
| Start/Stop/Restart Server | Use the power controls on GPanel's main page |
| Change Player Limit | Edit MAX_PLAYERS in Startup tab |
| Edit Configuration | File Manager or SFTP → .xonotic/data/server.cfg |
| Run Console Commands | Use the Console tab in GPanel |
| View Logs | Check Console tab or read latest.log |
Troubleshooting
Server Not Appearing in Browser
- Verify
sv_publicis set to1inserver.cfg - Ensure the server has fully started (look for
Server listening on address 0.0.0.0:) - Wait 1-2 minutes for the master server to update
Map Not Loading
- Verify the map
.pk3file exists in thedata/directory - Check the console for "map not found" errors
- Ensure the map name is spelled correctly in
g_maplist
Related Articles
Need Help?
If you need further assistance with your Xonotic server, our support team is ready to help. Submit a support ticket and we will respond as soon as possible.