COD4 - How to use in-game RCON
How to use in-game RCON to administrate your CoD4 server
Requirements
- CoD4 game server with rcon access.
Lets begin…
1) Connect to your server and login to RCON
Once you have connected to your server, open up the console with the tilde key (normally to the left of “1”). You should see a small box open to at the top of your screen. If you wish to expand it, press Shift + Tilde and the console will expand across your screen. Through here you can input commands, including RCON commands. First, we need to login to RCON, you entered this when you ordered/setup your server. For this example the RCON password is “cheese”, to login to RCON you would enter the command (without quotes) “/rcon login cheese” – this will authenticate you as the server owner and will allow you to run any other commands.
2) The commands
Along as you could login to RCON the rest is relatively simple, as long as you know the commands. Below is a list of various console commands, each with an explanation. (Note: Do NOT include the square brackets in the command!)
/rcon serverinfo
Shows the current server's settings.
/rcon systeminfo
Shows the current System Information.
/rcon status
Displays info of all the players on the server.
/rcon exec [FILENAME]
Executes a Server Config File (located in your server's main directory)
/rcon writeconfig [FILENAME]
Saves a Server Config File
/rcon say
Post a console message to all players.
Map List
mp_backlot
mp_bloc
mp_bog
mp_cargoship
mp_citystreets
mp_convoy
mp_countdown
mp_crash
mp_crossfire
mp_farm
mp_overgrown
map mp_pipeline
mp_shipment
mp_showdown
mp_strike
mp_vacant
Map Commands
/rcon map mapname
Loads the map specified by mapname.
/rcon map_restart
Reloads the map (map load screen appears – required for gametype change etc)
/rcon fast_restart
Restarts the map immediately (no load screen, resets scores and goes back to team selection menu)
Kick/Ban Commands
Note: You can get a players [ID] by using “/rcon status” and use the single number beside their name.
/rcon kick all
Kicks all players from the server.
/rcon onlykick [NAME]
Kicks a player by name from the server. (Does not need Color Codes)
/rcon banUser [NAME]
Bans a user by their ingame name. Writes their GUID to ban.txt
/rcon banClient [ID]
Bans a user by their client number. Writes their GUID to ban.txt
/rcon tempBanUser [NAME]
Kicks and temporarily bans player by name from server.
/rcon tempBanClient [ID]
Kicks and temporarily bans player by client id from server.
/rcon unbanuser [NAME]
Unban every player banned with [name]. If you want to unban a single player whose