Call of Duty: United Offensive — Server Config
Reference for the CoD:UO server.cfg file.
Location
The server configuration file is located at:
main/server.cfgEdit this file via SFTP. Changes take effect after a server restart.
Example Configuration
ini
// Server identity
set sv_hostname "My uHost CoD:UO Server"
set sv_maxclients "24"
// Passwords
set rconpassword "change_me"
set g_password ""
// Network
set sv_maxRate "10000"
set sv_minPing "0"
set sv_maxPing "0"
set sv_allowdownload "1"
set sv_pure "1"
// Game settings
set g_gametype "tdm"
set scr_teambalance "1"
set scr_friendlyfire "0"
set g_allowvote "1"
set scr_killcam "1"
set scr_freelook "1"
set scr_spectateenemy "1"
// Logging
set logfile "1"
set g_log "games_mp.log"
// Time limits
set scr_tdm_timelimit "20"
set scr_tdm_scorelimit "150"
// Map rotation
set sv_mapRotation "gametype tdm map mp_foy gametype tdm map mp_arnhem gametype tdm map mp_cassino gametype tdm map mp_italy gametype tdm map mp_rhinevalley"
set sv_mapRotationCurrent ""Key Settings
Server Identity
| CVar | Description | Default |
|---|---|---|
sv_hostname | Server name shown in browser | "" |
sv_maxclients | Maximum connected players | 20 |
g_password | Server join password | "" (none) |
rconpassword | RCON admin password | "" |
scr_motd | Message of the day | "" |
Server Info Fields
These optional fields appear in the server browser:
ini
sets .Admin "YourName"
sets .Email "admin@example.com"
sets .IRC "#yourchannel"
sets .Website "http://yoursite.com"
sets .Location "North America"Network
| CVar | Description | Default |
|---|---|---|
sv_maxRate | Max data rate per client (bytes/s) | 0 (unlimited) |
sv_minPing | Minimum allowed ping | 0 |
sv_maxPing | Maximum allowed ping | 0 (unlimited) |
sv_allowdownload | Allow clients to download files | 0 |
sv_pure | Enforce unmodified client files | 1 |
sv_allowAnonymous | Allow anonymous player names | 0 |
sv_fps | Server frame rate | 20 |
Master Servers
ini
set sv_master1 "codmaster.activision.com"Gameplay
| CVar | Description | Values |
|---|---|---|
g_gametype | Game mode | dm, tdm, sd, re, bel, hq |
scr_friendlyfire | Friendly fire mode | 0 off · 1 on · 2 reflect · 3 shared |
scr_teambalance | Auto-balance teams | 0 off · 1 on |
g_allowvote | Allow player voting | 0 off · 1 on |
scr_killcam | Kill cam | 0 off · 1 on |
scr_freelook | Free look when dead | 0 off · 1 on |
scr_spectateenemy | Spectate enemy when dead | 0 off · 1 on |
Map Rotation
The sv_mapRotation cvar defines the map and game type cycle:
ini
set sv_mapRotation "gametype tdm map mp_foy gametype sd map mp_arnhem gametype hq map mp_italy"Format: gametype <type> map <mapname> repeated for each entry.
Game Types
| Abbreviation | Full Name |
|---|---|
tdm | Team Deathmatch |
dm | Deathmatch |
sd | Search & Destroy |
re | Retrieval |
bel | Behind Enemy Lines |
hq | Headquarters |
Game Mode Settings
Team Deathmatch
| CVar | Description | Example |
|---|---|---|
scr_tdm_scorelimit | Score limit (kills) | 150 |
scr_tdm_timelimit | Time limit (minutes) | 20 |
Deathmatch
| CVar | Description | Example |
|---|---|---|
scr_dm_scorelimit | Score limit (kills) | 80 |
scr_dm_timelimit | Time limit (minutes) | 20 |
Search & Destroy
| CVar | Description | Example |
|---|---|---|
scr_sd_scorelimit | Score limit per round | 5 |
scr_sd_roundlimit | Total rounds per map | 7 |
scr_sd_roundlength | Round length | 3 |
scr_sd_graceperiod | Grace period (seconds) | 20 |
scr_sd_timelimit | Time limit | 0 (infinite) |
Retrieval
| CVar | Description | Example |
|---|---|---|
scr_re_scorelimit | Score limit | 5 |
scr_re_roundlimit | Round limit | 7 |
scr_re_roundlength | Round length | 3 |
scr_re_graceperiod | Grace period (seconds) | 20 |
scr_re_showcarrier | Show item carrier | 0 off · 1 on |
scr_re_timelimit | Time limit | 0 (infinite) |
Behind Enemy Lines
| CVar | Description | Example |
|---|---|---|
scr_bel_scorelimit | Score limit | 50 |
scr_bel_timelimit | Time limit (minutes) | 30 |
scr_bel_alivepointtime | Alive point interval | 10 |
Headquarters
| CVar | Description | Example |
|---|---|---|
scr_hq_scorelimit | Score limit | 50 |
scr_hq_timelimit | Time limit (minutes) | 20 |
Weapon Settings
Toggle individual weapons on (1) or off (0).
United Offensive Weapons
| CVar | Weapon |
|---|---|
scr_allow_pistols | Pistols |
scr_allow_satchel | Satchel Charges |
scr_allow_smoke | Smoke Grenades |
scr_allow_grenades | Grenades |
scr_allow_flamethrower | Flamethrower |
scr_allow_artillery | Artillery |
scr_allow_bazooka | Bazooka |
scr_allow_mg34 | MG34 |
scr_allow_dp28 | DP28 |
scr_allow_mg30cal | .30 Cal Machine Gun |
scr_allow_gewehr43 | Gewehr 43 |
scr_allow_svt40 | SVT-40 |
Original CoD Weapons
| CVar | Weapon |
|---|---|
scr_allow_bar | BAR |
scr_allow_bren | Bren LMG |
scr_allow_enfield | Lee-Enfield |
scr_allow_kar98k | Kar98k |
scr_allow_kar98ksniper | Kar98k Sniper |
scr_allow_m1carbine | M1 Carbine |
scr_allow_m1garand | M1 Garand |
scr_allow_mp40 | MP40 |
scr_allow_mp44 | MP44 |
scr_allow_nagant | Mosin-Nagant |
scr_allow_nagantsniper | Mosin-Nagant Sniper |
scr_allow_panzerfaust | Panzerfaust |
scr_allow_ppsh | PPSh-41 |
scr_allow_springfield | Springfield |
scr_allow_sten | Sten |
scr_allow_thompson | Thompson |
Vehicle Settings
Toggle vehicles and emplacements on (1) or off (0).
| CVar | Vehicle |
|---|---|
scr_allow_flak88 | Flak 88 |
scr_allow_su152 | SU-152 |
scr_allow_elefant | Elefant |
scr_allow_panzeriv | Panzer IV |
scr_allow_t34 | T-34 |
scr_allow_sherman | Sherman |
scr_allow_horch | Horch |
scr_allow_gaz67b | GAZ-67B |
scr_allow_willyjeep | Willys Jeep |
TIP
After editing server.cfg, restart your server from the dashboard for changes to take effect.
WARNING
Using original CoD maps with UO game types like Headquarters is not recommended. The maps are too small for ranked artillery strikes and excessive smoke grenades.
