Call of Duty RCon Guide


Rcon Login

Task Syntax Description
Login to rcon /rconpassword password It's better to store your rcon password in a game browser and not login through the console.

We recommend that you avoid logging in to rcon through the game console. If you mistype the command you risk printing your rcon password on screen for everyone on the server to see. Game browsers like All-Seeing Eye and HLSW can store your rcon password and log you in automatically when you join your server. Alternatively, you can create a key bind that enters in your password, for example: /bind r "rconpassword password".


General Commands & Variables
To issue these with rcon from the game console they must be preceded with /rcon

Task Syntax Description
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 mp_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 scr_friendlyfire 0/1/2 Friendly fire off (0), on (1) or reflect damage (2).
Draw friend scr_drawfriend 0/1 Draw icons above teammates.
Force respawn scr_forcerespawn 0/1 Force players to respawn, TDM and DM only.
Gametype g_gametype tdm/dm/sd/re/bel Sets gametype. Requires a map_restart to take effect.
Message of the day scr_motd "motd" 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 slot number. Doesn't work properly with 20+ players.
Kick player by name kick name Kick player by name. It's better to use clientkick and kick by slot number.
Kick player by slot # clientkick slot # Kick player by slot number.
Ban player by name banuser name Ban player by name. This feature does not work.
Ban player by slot # banclient slot # Ban player by slot number. This feature does not work.
Ban player by IP g_banIPs "ip" Ban player by IP address. Seperate IP addresses with spaces. This feature does not work.
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 Messages are shown in game preceded by console:
Kill the server quit Restarts the server.


Weapon and Gametype Settings
To issue these with rcon from the game console they must be preceded with /rcon

Task variable Default value
Allow BAR (US) scr_allow_bar 1 0 - disable weapon
1 - enable weapon
Allow Bren (British) scr_allow_bren 1
Allow Lee-Enfield Rifle (British) scr_allow_enfield 1
Allow FG42 scr_allow_fg42 0
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 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


Behind Enemy Lines Settings

Variable Default value Description
scr_bel_alivepointtime 10 Number of seconds to get a point for staying alive as allied.
scr_bel_scorelimit 50 Map score limit. Set this to 0 to prevent the rotation stalling.
scr_bel_timelimit 30 Map time limit, in minutes - 0 to 1440.


Deathmatch Settings

Variable Default value Description
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.


Retrieval Settings

Variable Default value Description
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.


Search & Destroy Settings

Variable Default value Description
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.


Team Deatchmatch Settings

Variable Default value Description
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.


Map List and Available Gametypes

Map Name DM TDM SD RE BEL
mp_brecourt X X X X X
mp_carentan X X X X X
mp_chateau X X X X
mp_dawnville X X X X X
mp_depot X X X X X
mp_harbor X X X X X
mp_hurtgen X X X X X
mp_pavlov X X X X X
mp_powcamp X X X X X
mp_railyard X X X X X
mp_rocket X X X X X
mp_ship X X X X

// Preygrounds Default CoD Server Config

// Hostname and Message of the Day
set sv_hostname "Server Name"
set scr_motd "www.Preygrounds.com"

// Maximum Clients - do not change w/o permission from Preygrounds
set sv_maxclients "16"

// Server maxrate - do not change w/o permission from Preygrounds
sv_maxrate 10000

// Team Icons
set scr_drawfriend "1"
// Forced Respawn
set scr_forcerespawn "0"

// Friendly Fire
set scr_friendlyfire "0"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "0"

// Server Passwords
seta rconpassword "rconpass"
seta g_needpass "0"


// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// Search and Destroy Settings
set scr_sd_graceperiod "20"
set scr_sd_roundlength "3"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "5"
set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"

// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "3"
set scr_re_roundlimit "7"
set scr_re_scorelimit "5"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "150"
set scr_tdm_timelimit "20"

// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"

// Set additional master servers to report to
seta sv_master2 "Master.gamespy.com:27900"

// The rotation.
set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot ga
metype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket"

// public info
seta "Administrator" "Your Name"
seta "Email" "your@email.com"
seta "url" "http://www.PreyGrounds.com"
seta "Location" "Los Angeles, CA"
seta "CPU" "Dual AMD 2800+"
seta "Clan" "YourClan"
seta "Connection" "100mbit"