File location... dod/cfg/server.cfg
This is a place to adjust a heap of cvars. Source server’s share some and some are just for the mod you are using. Your server provider may have a generic one for you.
The basics you have to adjust are at least the server name. Some providers make you use a “Banded” server name, some not. The amount of adjustments are huge and different for each mod. Just google “dods server.cfg” there are heaps.
It depends on taste, one server.cfg is different from the next, there is no “this one is best here… it depends on what you want. See this dods cvar list and pick through it…
Google and learn each cvar is best, the basics for dods on my server if you want to copy it…
// The server name
hostname "YOUR_SERVER NAME_HERE”
// rcon password, needed for HLSW and rcon access in console
rcon_password "YOUR_RCON_PASSWORD_HERE"
// Server password. Put // in front for a public server none for a locked server.
//sv_password "YOUR_PASSWORD_HERE"
//Off site Fast Downloads and allow in game downloads.
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://YOUR_WEB_FOLDERS_HERE"
net_maxfilesize 100
// Contact the server admin
sv_contact "YOUR_EMAIL_ADDRESS_HERE"
//Location of server. 5 = Australia see here for more…
// http://developer.valvesoftware.com/wiki/Sv_region
sv_region 5
//Class limits. Set the amount each class can have.
// “-1” is unlimited. “1” is only one in this class
// “0” is none in this class.
mp_allowrandomclass -1
mp_limit_allies_assault -1
mp_limit_allies_mg 1
mp_limit_allies_rifleman -1
mp_limit_allies_rocket -1
mp_limit_allies_sniper 2
mp_limit_allies_support -1
mp_limit_axis_assault -1
mp_limit_axis_mg 1
mp_limit_axis_rifleman -1
mp_limit_axis_rocket -1
mp_limit_axis_sniper 2
mp_limit_axis_support -1
// Exec files on startup for the banned players lists
exec banned.cfg
exec rcon.cfg // file with your rcon password
// Server Logging
log 1
sv_logbans 1
sv_rcon_minfailures 2
sv_rcon_maxfailures 3
sv_rcon_banpenalty 0 //(permanent ban}
sv_rcon_minfailuretime 30
mapcyclefile "mapcycle.txt"
//Pure Settings for Public Server
sv_pure 0
sv_allow_wait_command 1
sv_pure_kick_clients 0
sv_allow_color_correction 1
// general server cvars
mp_friendlyfire 0
mp_timelimit 30
decalfrequency 180
sv_accelerate 10
sv_airaccelerate 10
sv_bounce 0
sv_cheats 0
sv_client_cmdrate_difference 80
sv_client_max_interp_ratio 2
sv_client_min_interp_ratio 1
sv_consistency 0
sv_footsteps 1
sv_friction 8
sv_gravity 800
sv_maxcmdrate 100
sv_maxspeed 350
sv_maxrate 30000
sv_maxupdaterate 100
sv_mincmdrate 30
sv_minrate 10000
sv_minupdaterate 30
sv_pausable 0
sv_secure 1
sv_stopspeed 50
sv_wateraccelerate 10
sv_waterfriction 1
sv_alltalk 1
mp_falldamage 10
mp_allowspectators 1
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 1
mp_forcerespawn 1
mp_weaponstay 60
// Turn off freezecam function
dod_freezecam 0
dod_playachievementsound 0
// Enable/Disable LAN mode
sv_lan 0
// Perform server side lag compensation of weapon firing events.
cl_lagcompensation 1
// Bonus Round
//
// Enable timers to wait between rounds. Default: 1
dod_enableroundwaittime 1
//
// If true, the winners of the round can attack in the intermission. Default: 1
dod_bonusround 1
//
// Time after round win until round restarts. Default: 15
dod_bonusroundtime 15
//
//
// ...END