server.cfg generator
Pick a game, fill in the rest, and copy out a config plus the command line to start it. The cvar names, gametype codes and binary name change with the game, which is where most hand-written configs go wrong.
/opt/cod2/main/server.cfg
// Call of Duty 2 server.cfg // generated on free.war24.net/tools/server-cfg-generator/ seta sv_hostname "^3My ^7Server" set rcon_password "CHANGE-ME" set sv_maxclients 20 set g_gametype "dm" // content set sv_pure 1 set sv_allowDownload 1 // network set sv_maxRate 25000 set sv_fps 20 set sv_timeout 60 set sv_floodProtect 1 set g_antilag 1 // gameplay set scr_friendlyfire 0 set scr_killcam 1 set scr_teambalance 1 set g_allowVote 1 set sv_punkbuster 0 // limits (timelimit is in minutes, not seconds) set scr_dm_timelimit 15 set scr_dm_scorelimit 500 // logging set g_log "games_mp.log" set g_logsync 0 set logfile 1 // rotation set sv_mapRotation "gametype dm map mp_toujane map mp_breakout map mp_brecourt map mp_burgundy" map_rotate
command line
setarch i386 -R ./cod2_lnxded \ +set fs_basepath /opt/cod2 \ +set fs_homepath /opt/cod2 \ +set dedicated 2 \ +set net_port 28960 \ +set sv_maxclients 20 \ +set rcon_password "CHANGE-ME" \ +exec server.cfg \ +map mp_toujane
Everything runs in your browser. Nothing is uploaded, including the rcon password. Still, generate the password yourself with something like
head -c 24 /dev/urandom | base64 rather than typing a word.