This guide covers admin commands and server management for your Teeworlds dedicated server on Legion Hosting. For initial setup and configuration, see our Teeworlds Server Setup Guide.
RCON Setup
Teeworlds uses RCON for remote administration. Set an RCON password in your autoexec.cfg:
sv_rcon_password "your_rcon_password"
Using RCON In-Game
- Open the console (press F1)
- Authenticate:
rcon_auth your_rcon_password - Run commands:
rcon command_here
Common RCON Commands
| Command | Description |
|---|---|
kick <id> <reason> |
Kick a player by their client ID |
ban <ip> <minutes> <reason> |
Ban an IP address (0 = permanent) |
unban <ip> |
Remove an IP ban |
bans |
List all active bans |
status |
Show server status and connected players |
shutdown |
Gracefully shut down the server |
reload |
Reload the server configuration |
say <message> |
Send a server-wide message |
change_map <map> |
Change to a specific map |
restart |
Restart the current round |
sv_gametype <type> |
Change game mode (dm, tdm, ctf, lms, lts) |
password <pass> |
Set or change the server password |
Server Settings Commands
These can be set in autoexec.cfg or via RCON at runtime:
| Setting | Description |
|---|---|
sv_max_clients <num> |
Maximum connected players |
sv_max_clients_per_ip <num> |
Maximum connections from one IP |
sv_scorelimit <num> |
Score limit to win a round |
sv_timelimit <minutes> |
Time limit per map |
sv_warmup <seconds> |
Warmup time before round starts |
sv_teamdamage <0/1> |
Enable/disable friendly fire |
sv_powerups <0/1> |
Enable/disable powerup pickups |
sv_vote_kick <0/1> |
Allow players to vote-kick |
Map Management
To add custom maps:
- Upload
.mapfiles to themaps/directory via SFTP - Use
change_map <mapname>via RCON to switch to the new map
You can also set up a map rotation by adding maps to the sv_maprotation setting in autoexec.cfg:
sv_maprotation "dm1 dm2 dm6 ctf1 ctf2"
Server Management via GPanel
| Action | How To |
|---|---|
| Start/Stop/Restart Server | Use the power controls on GPanel's main page |
| Change Server Name | Edit SERVER_NAME in Startup tab |
| Edit Configuration | File Manager or SFTP → autoexec.cfg |
| Run Console Commands | Use the Console tab in GPanel |
Troubleshooting
Server Not Appearing in Browser
- Ensure the server has fully started (look for
as master, sending heartbeatsin console) - Wait 1-2 minutes for the master server to update
- Try connecting via direct IP to verify the server is running
Related Articles
Need Help?
If you need further assistance with your Teeworlds server, our support team is ready to help. Submit a support ticket and we will respond as soon as possible.