How to setup a dedicated Call of Duty
Server
Version 1.0 by Webmaster.
Required Ports
UDP 20500 UDP 20510 UDP 28960 TCP
28960
Hardware and Bandwidth
Requirements
sv_maxRATE determines the amount of bandwidth
your server uses for each client. It is a calculation based upon your
bandwidth (size of your upload speed, not download) and the
numbers of players you plan on hosting. Here is the
calculation:
# of clients * sv_maxrate * 8(for 8bits) =
upload speed or Upload speed / ( # of clients * 8 ) =
sv_maxrate
Starting a dedicated server
LAN server CoDMP.exe +set dedicated
1 Internet server CoDMP.exe +set dedicated 2 Modded
server CoDMP.exe +set dedicated 1 or 2 +set fs_game your
modname start map map mapname start
rotation +map_rotate
Example usage:
CoDMP.exe +set dedicated 2 +exec
dedicated.cfg +map mp_breakout
This will only rotate one (mp_breakout)
map.
or
CoDMP.exe +set dedicated 2 +exec
dedicated.cfg +map_rotate
This will rotate more than one
map.
dedicated.cfg contains customized settings
which are detailed below. syntax: set dvar
value
Example usage syntax:
set sv_hostname [my server]
my server will be the server
name.
Server Settings
sv_hostname [my server] scr_motd [my
welcome message] g_gametype [gametype] sv_maxclients
[1-32] rconPassword [my rconpassword] (use seta for this
command.) g_password [my server password] g_needpass
[0-1] sv_privatePassword [my privatepassword] sv_voice
[0-1] scr_teambalance [0-1] g_allowvote [0-1] g_antilag
[0-1] sv_punkbuster [0-1] sv_minping [0-n]
(milliseconds) sv_maxping [0-n] (milliseconds) sv_maxrate [0-n]
(Maximum data transfer rate to server clients. According to upload
capability.) sv_connectTimeout [0-n] (seconds) sv_timeout [0-n]
(seconds)
Gameplay Options
scr_freelook [0-1] (Disabled,
Enabled) scr_spectateenemy [0-1] (Disabled, Enabled) scr_killcam
[0-1] (Disabled, Enabled) scr_friendlyfire [0-3] (Disabled, Enabled,
Reflect, Shared) scr_teambalance [0-1] (Disabled, Enabled) sv_fps
[0-n] (The number of frames per second) scr_drawfriend [0-1] (Disabled,
Enabled) scr_forcerespawn [0-1] (Disabled,
Enabled) sv_allowAnonymous [0-1] (Disabled, Enabled) scr_roundcam
[0-1] (Disabled, Enabled) sv_invulnerabletime [0-n] (Spawn invulnerable
time before you can be shot.) g_teamswitchdelay [0-n] (Time before you
can switch teams.)
Weapons
scr_allow_bar [0-1] (Disabled,
Enabled) scr_allow_bren [0-1] (Disabled, Enabled) scr_allow_enfield
[0-1] (Disabled, Enabled) scr_allow_enfieldsniper [0-1] (Disabled,
Enabled) scr_allow_kar98k [0-1] (Disabled,
Enabled) scr_allow_kar98ksniper [0-1] (Disabled,
Enabled) scr_allow_m1carbine [0-1] (Disabled,
Enabled) scr_allow_m1garand [0-1] (Disabled, Enabled) scr_allow_mp40
[0-1] (Disabled, Enabled) scr_allow_mp44 [0-1] (Disabled,
Enabled) scr_allow_nagant [0-1] (Disabled,
Enabled) scr_allow_nagantsniper [0-1] (Disabled,
Enabled) scr_allow_panzerfaust [0-1] (Disabled,
Enabled) scr_allow_ppsh [0-1] (Disabled,
Enabled) scr_allow_springfield [0-1] (Disabled,
Enabled) scr_allow_sten [0-1] (Disabled, Enabled) scr_allow_thompson
[0-1] (Disabled, Enabled)
Deatmatch
scr_dm_scorelimit [0-n] scr_dm_timelimit
[0-n] (minutes)
Team Deathmatch
scr_tdm_scorelimit [0-n] scr_tdm_timelimit
[0-n] (minutes)
Search and Destroy
scr_sd_graceperiod [0-n]
(seconds) scr_sd_roundlength [1-n] (minutes) scr_sd_roundlimit [1-n]
(rounds) scr_sd_scorelimit [1-n] (points) scr_sd_timelimit [1-n]
(points) scr_sd_bombtimer [0-n] (seconds) scr_sd_planttime [0-n]
(seconds) scr_sd_defusetime [0-n] (seconds) scr_sd_show_bombtimer
[0-1]
Behind Enemy Lines
scr_bel_alivepointtime [0-n]
(seconds) scr_bel_scorelimit [1-n] (points) scr_bel_timelimit [0-n]
(minutes)
Retrievel
scr_re_graceperiod [0-n]
(seconds) scr_re_roundlength [0-n] (minutes) scr_re_roundlimit [0-n]
(rounds) scr_re_scorelimit [1-n] (points) scr_re_timelimit [0-n]
(minutes) scr_re_showcarrier [0-1] (Disabled, Enabled)
Headquarters
scr_hq_scorelimit [1-n]
(points) scr_hq_timelimit [0-n] (minutes)
Capture the Flag
scr_ctf_scorelimit [1-n]
(points) scr_ctf_timelimit [1-n] (points) scr_ctf_roundlimit [0-n]
(rounds) scr_ctf_roundlenght [0-n] (minutes) scr_ctf_startrounddelay
[0-n] (seconds) scr_ctf_endrounddelay [0-n]
(seconds) scr_ctf_clearscoreeachround [0-1] (Disabled,
Enabled) scr_ctf_showoncompass [0-1] (Disabled, Enabled)
Map Rotation
sv_mapRotation gametype gametype map
mapname gametype gametype map mapname and so
on
gametype is one of:
dm - Deathmatch tdm - Team
Deathmatch sd - Search and Destroy bel - Behind Enemy
Lines re - Retrievel hq - Headquarters ctf -
Capture the Flag
mapname is one of:
mp_arnhem - Arnhem mp_berlin
- Berlin mp_bocage - Bocage mp_brecourt -
Brecourt mp_carentan - Carentan mp_cassino -
Cassino mp_chateau - The Chateau mp_dawnville -
Dawnville mp_depot - The Depot mp_foy -
Foy mp_harbor - The Harbor mp_hurtgen -
Hurtgen mp_italy - Italy mp_kharkov -
Kharkov mp_kursk - Kursk mp_neuville -
Neuville mp_pavlov - Pavlov mp_peaks -
Peaks mp_ponyri - Ponyri mp_powcamp - P.O.W
Camp mp_railyard - The Railyard mp_rhinevalley -
Rhinevalley mp_rocket - Rocket base mp_ship - The
Ship mp_sicily - Sicily mp_stalingrad -
Stalingrad mp_streets - Streets mp_tigertown -
Tigertown
Server Commands
killserver quit map_restart map_rotate say my
message tell [clientnum] my message to you
|