RCON Commands
Remote Console (RCON) lets you administer your Call of Duty server without restarting it. Change maps, kick players, and update settings live.
Logging In
From the In-Game Console
Press ~ to open the console and set your RCON password:
/rcon_password <your_rcon_password>After setting the password, prefix any server command with /rcon:
/rcon status
/rcon map mp_carentan
/rcon clientkick 5INFO
CoD1 uses /rcon_password to authenticate, not /rcon login. The password is stored for the duration of your session. You do not need to re-enter it after each command.
From the uHost Dashboard
The RCON console on the dashboard connects directly to your server. Type commands without the /rcon prefix:
status
map mp_carentan
clientkick 5Remote RCON (Not Connected to Server)
You can administer a server you're not playing on by setting the RCON address first:
/rconaddress <ip>:<port>
/rcon_password <your_rcon_password>
/rcon statusWARNING
Be careful typing RCON commands in the in-game console. If you mistype a command, your password could appear in chat. Use the dashboard RCON console for safer administration.
Server Management
| Command | Description |
|---|---|
status | List all connected players with client ID, score, ping, name, and IP. |
serverinfo | Display current server settings. |
map <mapname> | Change to the specified map. Performs a full reload. |
map_rotate | Advance to the next map in the rotation. |
map_restart | Restart the current map with a full reload. |
fast_restart | Restart the current map without a full reload. |
say "<message>" | Broadcast a message to all players. |
tell <client_id> "<message>" | Send a private message to a player by client ID. |
exec <filename> | Execute a config file from the server directory. |
writeconfig <filename> | Save the current server config to a file. |
TIP
Prefer fast_restart over map_restart. It skips the full map reload and is significantly quicker.
Player Management
| Command | Description |
|---|---|
kick <name> | Kick a player by name. |
clientkick <client_id> | Kick a player by client ID. The most reliable method; get IDs from status. |
banUser <name> | Permanently ban a player by name. |
banClient <client_id> | Permanently ban a player by client ID. |
tempBanUser <name> | Temporarily ban a player by name. |
tempBanClient <client_id> | Temporarily ban a player by client ID. |
unbanUser <name> | Remove a ban by player name. |
TIP
Always use clientkick <id> instead of kick <name>. Client IDs from status are unambiguous, while names may require exact matches.
Live Setting Changes
You can change server settings without a restart using RCON. Use the set command:
/rcon set scr_tdm_timelimit "15"
/rcon set g_allowvote "0"Commonly changed settings:
| CVar | Description |
|---|---|
sv_hostname "<name>" | Change the server name. |
g_password "<password>" | Set or clear the join password. Use "" to remove. |
g_gametype <type> | Change the game type. Requires map_restart to take effect. |
sv_maxclients <count> | Change the maximum player count. |
INFO
Some settings (like g_gametype) require a map_restart or fast_restart before they take effect.
Map Names
| Map | Internal Name |
|---|---|
| Brecourt | mp_brecourt |
| Carentan | mp_carentan |
| Chateau | mp_chateau |
| Dawnville | mp_dawnville |
| Depot | mp_depot |
| Harbor | mp_harbor |
| Hurtgen | mp_hurtgen |
| Pavlov | mp_pavlov |
| POW Camp | mp_powcamp |
| Railyard | mp_railyard |
| Rocket | mp_rocket |
| Ship | mp_ship |
| Stalingrad | mp_stalingrad |
| Tigertown | mp_tigertown |
Game Types
| Code | Mode | Change Live |
|---|---|---|
dm | Deathmatch | set g_gametype dm |
tdm | Team Deathmatch | set g_gametype tdm |
sd | Search & Destroy | set g_gametype sd |
re | Retrieval | set g_gametype re |
bel | Behind Enemy Lines | set g_gametype bel |
hq | Headquarters | set g_gametype hq |
To change the game type live:
/rcon set g_gametype sd
/rcon fast_restartCommon Workflows
Restart the Current Round
/rcon fast_restartSwitch to a Specific Map and Game Type
/rcon set g_gametype sd
/rcon map mp_carentanKick a Disruptive Player
Run status to find the player's client ID, then:
/rcon status
/rcon clientkick 5Temporarily Ban a Player
/rcon tempBanClient 5Send a Server-Wide Announcement
/rcon say "Server restarting in 5 minutes"Password-Protect the Server Mid-Game
/rcon set g_password "secretpass"To remove the password:
/rcon set g_password ""