MRC's RCON GUIDES
This guide is divided into Several Parts. For New Users read these opening Instructions Carefully and learn the Common Rcon commands first as they will be what you use most. Next you may wish to study Other Common comands which are the next most often used commands. When you become seasoned at using those commands you may then study the complete guide by Following The Links. Make Sure you follow the Rules outlined in the RCON Forumn.
IMPORTANT!!!! (please read)
Although you can enter the rcon password through the console using the /rconpassword command it is recommended you use 1 of the following 3 methods to avoid in advertantly publicising the rcon password. If you still choose to enter rcon password through console then BE VERY SURE TO PRECEED COMMAND WITH / (example: /rconpassword "secretpassword") failure to do so will print what you typed to screen for all players to see!
Method 1:
Enter Rcon password in a game browser (such as X-Fire) and use the browser to join game.
Method 2:
Create a shortcut to launch CoD Muliplayer 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. Go to your CoD folder, where the game exe files are located
2. Right click on CoDMP.exe and select "Create Shortcut"
3. Rename the shortcut to something like "My Clan Server"
4. Right click on the shortcut and select the Properties option
5. 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 the 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 our 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
Method 3:
Create an autoexec_mp.cfg file and place it in your Call of Duty/MAIN folder, you can have several settings executed every time to start Call of Duty Multiplayer. This can be useful for many things, particularly for adding our servers rconpassword. The below steps are instructions as to how to create this file and how to add the rconpassword to it:
1. Go to your Call of Duty/MAIN folder,
2. Right click on some white space and select "New >> Text Document"
3. Name the file “autoexec_mp.cfg" (MUST be named exactly as this)
4. Open the file in Notepad
5. Add the following line:
rconpassword “<whatever our rcon password is>”
6. Close and save the file; join our server and you should be able to issue RCON commands right away (i.e. /rcon status)
Table of Contents:
/div>ol>
/ol>div align="center">
Common (most used) Commands |
Task | Syntax | Example | Description |
| Change Map | /rcon map (mapname) | /rcon map mp_harbor | Restarts to that map. Use the proper map name |
| Restart Current Map | /rcon map_restart | /rcon map_restart | Restarts round. Any gametype and round limit setting changes will take effect. |
| Change Gametype | /rcon g_gametype (gametype) | /rcon g_gametype dm | Sets gametype. Requires a map_restart to take effect. |
| Kick someone | /rcon clientkick (clientID) | /rcon clientkick 3 | Kick player by client number obtained thru Status |
| Temp Ban Someone | /rcon tempBanClient (clientID) | /rcon tempBanClient 3 | Temporary ban user 10 minutes by client number obtained thru Status |
| Status | /rcon status | /rcon status | Gives the status of all players on the server, including client id. |
Back to TOC
Other Commonly Useful Commands |
Task | Syntax | Example | Description |
| Friendly fire | /rcon setfriendlyfire (0/1/2) | /rcon setfriendlyfire 1 | Friendly fire off (0), on (1) or reflect damage (2) |
| Killcam | /rcon setkillcam [0/1] | /rcon setkillcam 1 | Killcam off (0), on (1) |
| Auto balance | /rcon scr_teambalance [0/1] | /rcon scr_teambalance 1 | Force team balance off (0), on (1) |
| Rotate map | /rcon map_rotate | /rcon map_rotate | Loads the next map in the map rotation |
| Chat via the console | /rcon say [message] | /rcon say "supersix1 is a noob!" | Messages are shown in game preceded by console: |
| | | | |
Back to TOC
| Change server name | sv_hostname "[name]" | Change the server name, remember to enclose the name with quotes. |
| Set a server password | g_password [password] | Sets the password needed to join the server, to clear the password and make the server public use g_password "". |
| Change rcon password | rconpassword [password] | Allows you to change the rcon password. Once changed you will need to login with the new rcon password. |
| Change Map | map [name] | Changes to that map. Use the proper map name, ie. mp_brecourt. |
| Map restart | map_restart | Restarts round. Any gametype and round limit setting changes will take effect. |
| Map rotate | map_rotate | Loads the next map in the map rotation (if specified). |
| Friendly fire | setfriendlyfire [0/1/2] | Friendly fire off (0), on (1) or reflect damage (2). |
| Draw friend | setdrawfriend [0/1] | Draw icons above teammates. |
| Force respawn | scr_forcerespawn [0/1] | Force players to respawn, TDM and DM only. |
| Killcam | setkillcam [0/1] | Killcam off (0), on (1) |
| Freelook | scr_freelook [0/1] | Freelook off (0), on (1) |
| Spectate enemy | scr_spectateenemy [0/1] | Spectate enemy off (0), on (1) |
| Team balance | scr_teambalance [0/1] | Force team balance off (0), on (1) |
| Gametype | g_gametype [tdm/sd/etc] | Sets gametype. Requires a map_restart to take effect. |
| Message of the day | scr_motd "[text]" | Sets the message of the day text. /n = line break, but does not work. |
| Allow voting | g_allowvote [0/1] scr_allowvote [0/1] | Allow voting. Both variables must be set to 1 to allow voting. |
| Status | status | Gives the status of all players on the server, including client id. |
| Private message a player by client # | tell [client #] [message] | Sends a private message to specified player. |
| Gravity | g_gravity [value] | Controls gravity for players. Lower = less, default 800. |
| Speed | g_speed [value] | Controls speed of movement for players. Higher = faster, default 190. |
| Chat via the console | say [message] | Messages are shown in game preceded by console: |
| Kill the server | quit | Kills the server. |
Back to TOC
Kick and Ban Commands |
Task | Syntax | Description |
| Kick player by name | kick [name] | Kick player by name. It's better to use clientkick and kick by client id. |
| Kick player by client # | clientkick [#] | Kick player by client number. |
| Ban player by name | banUser [name] | Bans a user by their ingame name. Writes their GUID to ban.txt |
| Ban player by client # | banClient [#] | Bans a user by their client number. Writes their GUID to ban.txt |
| Ban player by IP | g_banIPs "[ip]" | Ban player by IP address. Seperate IP addresses with spaces. This feature does not work. |
| Temp ban player by name | tempBanUser [name] | Kicks and temporarily bans player by name. |
| Temp ban player by client # | tempBanClient [#] | Kicks and temporarily bans player by client number. |
| Set temporary ban duration | sv_kickBanTime [time] | Temporary ban duration in seconds. |
| Unban player by name | unban [name] | Unban every player banned with [name]. If you want to unban a single player whose name appears more than once, you should edit "ban.txt" manually. |
Back to TOC
PunkBuster Commands |
Task | Syntax | Description |
| PB player list | pb_sv_plist | List all players on the server. Includes PB client number, GUID, IP and more. |
| Kick player by PB client # | pb_sv_kick [#] [time] "[public reason]" "[private reason]" | Kick player by PB client number. Time is measured in minutes. |
| Ban player by PB client # | pb_sv_ban [#] "[public reason]" "[private reason]" | Ban player by PB client number. |
| List bans | pb_sv_banlist | List all bans enforced by PunkBuster on that server. Each ban is numbered. |
| Unban player by ban # | pb_sv_unban [#] | Unban player by ban number. Get the ban number with pb_sv_banlist |
| Request screenshot by PB client # | pb_sv_getss [#] | Request a PB screenshot by PB client number. |
Back to TOC
| Allow BAR (US) | scr_allow_bar | 1 |
| Allow Bren (British) | scr_allow_bren | 1 |
| Allow Lee-Enfield Rifle (British) | scr_allow_enfield | 1 |
| Allow FG42 | scr_allow_fg42 | 0 |
| Allow Grenades * | scr_allow_grenades | 1 |
| Allow KAR98k Rifle (German) | scr_allow_kar98k | 1 |
| Allow KAR98k Sniper Rifle (German) | scr_allow_kar98ksniper | 1 |
| Allow M1 Carbine Rifle (US) | scr_allow_m1carbine | 1 |
| Allow M1 Garand Rifle (US) | scr_allow_m1garand | 1 |
| Allow MP40 (German) | scr_allow_mp40 | 1 |
| Allow MP44 (German) | scr_allow_mp44 | 1 |
| Allow Nagant Rifle (Russian) | scr_allow_nagant | 1 |
| Allow Nagant Sniper Rifle (Russian) | scr_allow_nagantsniper | 1 |
| Allow Panzerfaust | scr_allow_panzerfaust | 1 |
| Allow Pistols * | scr_allow_pistols | 1 |
| Allow PPSh-41 (Russian) | scr_allow_ppsh | 1 |
| Allow Springfield Sniper Rifle (US) | scr_allow_springfield | 1 |
| Allow Sten (British) | scr_allow_sten | 1 |
| Allow Thompson (US) | scr_allow_thompson | 1 |
Back to TOC
| scr_dm_scorelimit | 50 | Map score limit. Set this to 0 to prevent the rotation stalling. |
| scr_dm_timelimit | 30 | Map time limit - 0 to 1440, in minutes. |
Back to TOC
| scr_tdm_scorelimit | 100 | Map score limit. Set this to 0 to prevent the rotation stalling. |
| scr_tdm_timelimit | 30 | Map time limit, in minutes - 0 to 1440. |
Back to TOC
| scr_hq_timelimit | 30 | Map time limit - 0 to 1440, in minutes. |
| scr_hq_scorelimit | 450 | Scorelimit per map. |
Back to TOC
| scr_actf_scorelimit | 3 | Map score limit. |
| scr_actf_timelimit | 30 | Map time limit, in minutes - 0 to 1440. |
| scr_actf_roundlimit | 5 | Map round limit. |
| scr_actf_roundlength | 30 | Map round length in minutes. |
| scr_actf_startrounddelay | 15 | Delay before round starts, in seconds. |
| scr_actf_endrounddelay | 10 | Delay at end of round before next starts, in seconds. |
Back to TOC
| scr_sd_graceperiod | 15 | Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds. |
| scr_sd_roundlength | 4 | Map round length in minutes. |
| scr_sd_roundlimit | 0 | Max Number of round wins per map. |
| scr_sd_scorelimit | 10 | Map team score limit per map. |
| scr_sd_timelimit | 0 | Map time limit, in minutes - 0 to 1440. |
Back to TOC
| scr_re_graceperiod | 15 | Time at round start where spawning and weapon choosing is still allowed, 0 - 60 in seconds. |
| scr_re_roundlength | 4 | Map round length in minutes. |
| scr_re_roundlimit | 0 | Max Number of round wins per map. |
| scr_re_scorelimit | 10 | Map score limit. |
| scr_re_showcarrier | 0 | Show the objective carrier on compass. |
| scr_re_timelimit | 0 | Map time limit, in minutes - 0 to 1440. |
Back to TOC
Stock Map List |
| Map Name | DM | TDM | SD | RE | BEL | HQ |
| mp_bocage | X | X | X | X | X | X |
| mp_brecourt | X | X | X | X | X | X |
| mp_carentan | X | X | X | X | X | X |
| mp_chateau | X | X | | X | X | X |
| mp_dawnville | X | X | X | X | X | X |
| mp_depot | X | X | X | X | X | X |
| mp_harbor | X | X | X | X | X | X |
| mp_hurtgen | X | X | X | X | X | X |
| mp_neuville | X | X | X | X | X | X |
| mp_pavlov | X | X | X | X | X | X |
| mp_powcamp | X | X | X | X | X | X |
| mp_railyard | X | X | X | X | X | X |
| mp_rocket | X | X | X | X | X | X |
| mp_ship | X | X | | X | X | X |
| mp_stalingrad | X | X | X | X | X | X |
| mp_tigertown | X | X | X | X | X | X |
Back to TOC
/div>