Taco de Wolff
Call of Duty RCON commands
This articles contains the console commands (including RCON commands) that admins can use to control their own server.
The Call of Duty 4 console commands are very similar to the previous CoD editions, and so are many other versions.
You can enter commands by pressing ‘~’ while in-game. A small bar will appear at the top of your screen in which you can enter the following commands. If the console does not display when pressing ‘~’, it needs to be enabled (Main Menu ⇒ Options ⇒ Game Options… ⇒ Enable Console must say ‘Yes’).
P.s. For a larger console window (necessary for
/status for example) you need to press ‘Shift + ~’.
/serverinfoShows the server settings and configurations.
/map [map name]Loads the given map.
/map_rotateLoads the next map of the map rotation set in the 'sv_maprotation' file on your server.
/map_restartRestarts the current map.
/fast_restartRestarts the current map just like
/map_restartbut much faster. It will just restart the map and not reload it.
/statusShows information about the connected players, including client ID, score, ping, GUID, name and IP address. The ID and name can be used for the following commands.
/tell [player ID]Displays a message to a specific player by ID (given by the
/clientkick [player ID]Kicks a player according to its ID (given by the
/kick [player name]Same as the
/clientkickcommand, but this command requires the player's name. However, some names are very difficult to enter (with colour codes etc.), thats why the
/clientkickcommands is easier in use. You can use
allas player name, this will kick all players from the server.
/onlykick [player name]Same as
/kickas far as I know.
/banClient [player ID]Bans a player according to its ID (given by the
/statuscommand). The player's GUID will be added to ban.txt.
/banUser [player name]Same as
/banclient, but this command requires the player's name. It is therefore advised to use the
/banclientcommand (names can be long or contain colour codes).
/tempBanClient [player ID]Temporary bans a player using the player's ID (given by the
/statuscommand). The length of a temporary ban can be changed in the server configuration file.
/tempBanUser [player name]Temporary bans a player using the player's name.
/unbanUser [player name]Unbans a user according to the player's name. If the player's name appears more than once in ban.txt, you can edit the file and remove the banned player manually.
/dumpuser [player name]Shows information about the player.
/killserverAs the name says: shuts your server down.
It is very likely that you are not playing at the same location (IP address) as your server is. That’s why we use RCON (stands for remote control) commands. Using RCON is very easy, just add
/rcon in front of the commands above (removing the
/ of those commands). But you need to be logged in to use RCON.
/rcon login [password]Fill out the password of the server to use RCON commands.
Examples of RCON commands:
/rcon map mp_pipeline /rcon status /rcon banclient 5
/serverstatusShows information about the server settings and a quick list of online players.
/serverinfoShows some information about IW settings on your server.
/systeminfoShows a list of the settings your server has.
/clientinfoShows information about your client.
/showipShows your IP address.
/cmdlistShows a complete list of commands available.