CoD RCON
CoD RCON
{PJG} Crimson (a.k.a. Anex) crimson@pjgsquad.com www.pjgsquad.com Call of Duty March 13, 2004
Table of Contents
GENERAL INFORMATION .......................................................................................... 3 Using rconpassword to execute server commands ..................................................... 3 Entering rconpassword once to execute server commands ........................................ 3 Creating a CoD Shortcut to join our server & easily execute server commands....... 3 GENERAL USEFUL COMMANDS............................................................................... 4 Speaking via the Console ............................................................................................ 4 Obtaining a current status of the server ..................................................................... 5 Setting/Changing the Server Time Limit..................................................................... 5 Setting/Changing the Server Score (frag) Limit ......................................................... 6 Changing Map Grace Period ..................................................................................... 6 Enabling/Disabling Kill Cam ..................................................................................... 6 Adding/Removing Team Damage ............................................................................... 7 Enabling/Disabling Freelook ..................................................................................... 7 Enabling/Disabling Enemy Spectate........................................................................... 7 Enabling/Disabling Team Balance ............................................................................. 7 Restarting the current map ......................................................................................... 8 Rotating the map ......................................................................................................... 8 Making the Server Private .......................................................................................... 8 KICKING PLAYERS....................................................................................................... 8 BANNING PLAYERS ...................................................................................................... 9 UnBanning Players................................................................................................... 10 CHANGING MAPS........................................................................................................ 10 MAPS AVAILABLE ON THE SERVER ................................................................................. 10 CHANGING SERVER GAME TYPES........................................................................ 11 Setting Game Type to Death Match .......................................................................... 11 Setting Game Type to Team Death Match ................................................................ 11 Setting Game Type to Behind Enemy Lines .............................................................. 12 Setting Game Type to Retrieval ................................................................................ 12 Setting Game Type to Search & Destroy .................................................................. 12 Setting Game Type to HeadQuarters........................................................................ 12 DEFINING MAP ROTATIONS ................................................................................... 13 RESERVING PRIVATE SLOTS.................................................................................. 17
General Information
First off, whenever attempting to use a command against the server, you must precede it with /RCON and then use one of the following 3 methods:
Creating a CoD Shortcut to join our server & easily execute server commands
Creating a CoD shortcut, placing the rconpassword and whatever else you wish in the shortcut itself, will allow you to easily and quickly join our server, as well as be able to immediately execute RCON commands, without having to enter the rconpassword. Below are the instructions for creating a CoD shortcut: 1) 2) 3) 4) 5) Go to your CoD folder, where the game exe files are located Right click on CoDMP.exe and select "Create Shortcut" Rename the shortcut to something like "My Clan Server" Right click on the shortcut and select the Properties option Click on the Shortcut tab, click inside the Target field and press the [END] key
6) Add the following information AFTER the game path (i.e. "C:\Program Files\Call of Duty\CoDMP.exe" note that this is completely unique to where you installed the game so your path may be different): +connect <server IP> +rconpassword <whatever your rconpassword is> 7) Click the OK button 8) Move the shortcut to your Desktop (or wherever you want it) or if you use XP, right click on it and select Pin to Start Menu. Simply select/double click on the shortcut when you wish to join your server NOTE: There MUST be a space between the end quote of the game path and the +connect line.
This way, once you are in the server, all you have to do is type /RCON and then the command. Example:
/rcon status /rcon map_rotate
NOTE:
For the remainder of this document, I will use the method whereby you have already entered the rconpassword, via one of the above methods. I prefer having the rconpassword already defined so you do not have to type it out every time you wish to execute a server command; that and its much safer!
/rcon say Stop TKing or you will be kicked /rcon say Stop TKing or you will be kicked
The above examples will be displayed on the screen as: Console: Hello everyone, how are you? Console: Server is going Retrieval next round Console: Stop TKing or you will be kicked
The following is then displayed in your console: Client ID 0 1 2 3 4 5 Score 23 13 33 25 21 12 Ping 45 65 51 30 32 100 GUID 100000 100001 100002 100003 100004 100005 Player Name {PJG} Crimson {PJG} Stalker {PJG} AimRed You Suck! {PJG} Buzz Litebeer {PJG} Flying Nun IP Address 165.56.24.45 65.45.24.57 65.56.21.35 125.54.85.21 24.56.42.51 161.61.41.56
Note: The time limit command does not currently function. This should be addressed in the patch, but given the rotation we run, time limit is not used so I would prefer we kept it this way using a score limit is the best method (though theres nothing wrong with using both methods).
(player based score) (team based score) (team based score) (player based score) (team based score)
Both score limit and time limit changes immediately take effect, be aware of this before you make any changes.
(Turns off team damage) (Turns on team damage) (Turns on reflective damage) (Turns on shared damage)
NOTE:
Setting team damage on or off immediately affects the game play; it does not require a map change or restart.
Enabling/Disabling Freelook
To enable/disable freelook, being able to freely move around the map when dead or as a spectator, you use "scr_freelook". By setting the variable to a value of 0 (off) or 1 (on), you enable/disable the feature. Example:
/rcon scr_freelook "1" /rcon scr_freelook "0"
To open the server to the public again, you simply clear g_password of its current value. This is done simply by issuing the following: Examples:
/rcon g_password  /rcon map_restart
Kicking players
There are a few ways in which to kick players, but I'm only going to cover the easiest and best way to do so. It involves using the "status" and "clientkick" commands. I prefer using this method of kicking as it prevents you from having to type out a players name, which can be lengthy and difficult depending on the complexity of the name. In addition, the player could also change his/her name in mid command and then you'd be forced to re-type the new name. In other words, use the below described method. "Status", displays a list of the people currently connected to the server, whether they're playing or spectators. It works as follows:
Example:
/rcon status
The following is then displayed in your console: Client ID 0 1 2 3 4 5 Score 23 13 33 25 21 12 Ping 45 65 51 30 32 100 GUID 100000 100001 100002 100003 100004 100005 Player Name {PJG} Crimson {PJG} Stalker {PJG} AimRed You Suck! {PJG} Buzz Litebeer {PJG} Flying Nun IP Address 165.56.24.45 65.45.24.57 65.56.21.35 125.54.85.21 24.56.42.51 161.61.41.56
Once this is displayed, you simply find the player you wish to kick from the server and note their Client ID. You then use the command, "clientkick", with the ID of the person, to boot them from the server. For this example, we will kick client #3 for being a bad little boy: Example:
/rcon clientkick 3
Banning Players
Banning players is done almost exactly the same as kicking them, just uses a different command. If you find that someone warrants banning, simply use the above "status" command to obtain the players client id, then use the banclient command. Example:
/rcon status
The following is then displayed in your console: Client ID 0 1 2 3 4 5 Score 23 13 33 25 21 12 Ping 45 65 51 30 32 100 GUID 100000 100001 100002 100003 100004 100005 Player Name {PJG} Crimson {PJG} Stalker {PJG} AimRed You Suck! {PJG} Buzz Litebeer {PJG} Flying Nun IP Address 165.56.24.45 65.45.24.57 65.56.21.35 125.54.85.21 24.56.42.51 161.61.41.56
Once this is displayed, you simply find the player you wish to ban from the server and note their Client ID. You then use the command, "banclient", using the ID, to permanently boot the person from the server. For this example, we will kick client #3 for not getting the hint: Example:
/rcon banclient 3
UnBanning Players
UnBanning players is a little more complicated. There are currently 2 built-in ways to unban a player: 1) using the unBanUser command; 2) Connecting to your server via FTP and removing the player from the ban.txt file. If you banned players using 3rd party software, check with its user guide for info on unbanning. Using the above example banned example, to remove the ban for You Suck!, you would issue the following, matching the players name exactly: Example:
/rcon unbanuser You Suck!
Changing Maps
Changing maps via RCON is done the same way you change it on your own system, using the command "map", and then the map code name. However, the map you use may not work as it depends on the game type currently used by the server. In Call of Duty, there are a total of 12 maps. However, as stated, not all of the maps can play in each mode. To date, there are currently 2 maps that cannot play in Search & Destroy mode, Chateau (mp_chateau) & Ship (mp_chateau). Those two maps are available in the other modes, just not S&D. As such, if you are playing in S&D mode, you will need to change the gametype (g_gametype) to something other then S&D. Examples:
/rcon g_gametype sd /rcon map mp_carentan /rcon g_gametype re /rcon map mp_chateau
Map Code
Chateau Ship Brecourt Harbor Railyard Carentan Dawnville Depot POW Camp