Skip to content

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 5

INFO

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 5

Remote 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 status

WARNING

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 ​

CommandDescription
statusList all connected players with client ID, score, ping, name, and IP.
serverinfoDisplay current server settings.
map <mapname>Change to the specified map. Performs a full reload.
map_rotateAdvance to the next map in the rotation.
map_restartRestart the current map with a full reload.
fast_restartRestart 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 ​

CommandDescription
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:

CVarDescription
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 ​

MapInternal Name
Brecourtmp_brecourt
Carentanmp_carentan
Chateaump_chateau
Dawnvillemp_dawnville
Depotmp_depot
Harbormp_harbor
Hurtgenmp_hurtgen
Pavlovmp_pavlov
POW Campmp_powcamp
Railyardmp_railyard
Rocketmp_rocket
Shipmp_ship
Stalingradmp_stalingrad
Tigertownmp_tigertown

Game Types ​

CodeModeChange Live
dmDeathmatchset g_gametype dm
tdmTeam Deathmatchset g_gametype tdm
sdSearch & Destroyset g_gametype sd
reRetrievalset g_gametype re
belBehind Enemy Linesset g_gametype bel
hqHeadquartersset g_gametype hq

To change the game type live:

/rcon set g_gametype sd
/rcon fast_restart

Common Workflows ​

Restart the Current Round ​

/rcon fast_restart

Switch to a Specific Map and Game Type ​

/rcon set g_gametype sd
/rcon map mp_carentan

Kick a Disruptive Player ​

Run status to find the player's client ID, then:

/rcon status
/rcon clientkick 5

Temporarily Ban a Player ​

/rcon tempBanClient 5

Send 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 ""

Stop Paying for Empty Servers.