Call of Duty 4: Servers

From COD Modding & Mapping Wiki
Revision as of 02:24, 16 October 2008 by Zeroy (talk | contribs)
Jump to navigation Jump to search

PC server admin guide for Call of Duty 4: Modern Warfare

General

  • Ports in use
UDP 20800
UDP 20810
UDP 28960-28970
  • Hardware/Bandwidth Requirements

Bandwidth and server resource usage should be lower than that of COD2 in most situations, but it is not guaranteed. There are some situations where bandwidth usage may spike, and the server will get hit harder than usual. Generally, if you're capable of hosting a COD2 dedicated server you should be just fine for COD4.

IWD Packaging For Custom Maps

Guide

Windows Server Setup

Guide

Linux Server Setup

Server Administration

Guide

Server commands

killserver
quit
map_restart
say "my message"
tell [clientnum] "my message to you"

Server Settings (Stock)

map rotation

sv_mapRotation gametype <gametype> map <mapname> gametype <gametype> map <mapname> ...

<gametype> is one of:

  • "dm" - free for all deathmatch
  • "dom" - domination
  • "koth" - headquarters
  • "sab" - sabotage
  • "sd" - search & destroy
  • "war" - team deathmatch


Parameter Value
sv_hostname "my server"
g_gametype <gametype>
sv_maxclients [1-32]
g_password "my password"
sv_voice [0-1]
[0-1]
g_allowvote [0-1]
sv_punkbuster [0-1]
sv_minping [0-n] (milliseconds)
sv_maxping [0-n] (milliseconds)
sv_connectTimeout [0-n] (seconds)
sv_timeout [0-n] (seconds)

Gameplay Options

Guide