Warning: this config generator is outdated! For a recent version, please visit GameCommandControl
If you have any questions, suggestions or found a bug in this script, you can find me on the CODBoards.com forums. Please leave a message in this thread and I'll reply to it. Alternatively, send me a private message on the boards (my nickname is Robertje).

Note: generated config files are NOT stored on the server.
 
Public settings

Server Variable Value
Admin of the server (_ADMIN)
Enter the admin of the server (you).
Admin e-mail (_EMAIL)
Enter the e-mail of the admin of this server (your e-mail).
IRC Channel (_IRC)
The IRC of your clan (if you have any).
Website (_WEBSITE)
The website of your clan (if you have any).
Location (_LOCATION)
The location of the server.
General settings

Server Variable Value
Server name (sv_hostname)
The name of your server visible in the master list.
Server IP (net_ip)
The IP number of the gameserver.
Server port (net_port)
The server port number (default is 28960).
Dedicated server (dedicated)
Choose your server type:
0: Local server, local client.
1: LAN Server.
2: Internet Server
Pure server (sv_pure)
Set this option to '1' to restrict players with modified game files from joining the server
Maximum players (sv_maxPlayers)
The maximum number of players on the server at the same time.
Minimum ping (sv_minPing)
The minimum ping allowed per player. Setting this to '0' means no limit on ping time.
Maximum ping (sv_maxPing)
The maximum ping allowed per player. Setting this to '0' means no limit on ping time.
Maximum rate (sv_maxRate)
The maximum amount of bandwidth allowed per player. Setting this to '0' means no limit on ping bandwidth.
Voice chat (sv_voice)
Enables or disables the voice chat functionality.
Server password (g_password)
Enter a password to restrict players from joining unless they know the password. Password are case sensitive.
Advanced settings

Server Variable Value
Friendly Indicators (sv_drawFriend)
Enable this option to add an icon over the head of teammates.
Friendly Fire (scr_friendlyfire)
Enable this option to allow teammates to hurt and even kill each other. There are 4 options.
0: On
1. Off
2. Reflect
3. Shared
Force respawning (scr_forceRespawn)
Enable this option to force players to respawn after dying.
Killcam (scr_killCam)
Disable this option to turn off the killcam, which shows who killed dead players.
Allow voting (g_allowVote)
Enable this option to allow players to use the in-game voting system to change server options such as map and game type.
Auto-balance teams (scr_teamBalance)
Enable this option to automatically maintain an even number of players on each team.
Allow enemy spectating (scr_spectateEnemy)
Enable this option to allow dead players to spectate players on the opposing team.
Allow free spectating (scr_spectatefree)
Enable this option to allow spectators to freely roam the map.
Weapons

Server Variable Value
Allow bar (scr_allow_bar)
Enable this option to allow players to use the bar.
Allow bren (scr_allow_bren)
Enable this option to allow players to use the bren.
Allow enfield (scr_allow_enfield)
Enable this option to allow players to use the enfield.
Allow enfieldsniper (scr_allow_enfieldsniper)
Enable this option to allow players to use the enfieldsniper.
Allow g43 (scr_allow_g43)
Enable this option to allow players to use the g43.
Allow greasegun (scr_allow_greasegun)
Enable this option to allow players to use the greasegun.
Allow kar98k (scr_allow_kar98k)
Enable this option to allow players to use the kar98k.
Allow kar98ksniper (scr_allow_kar98ksniper)
Enable this option to allow players to use the kar98ksniper.
Allow m1carbine (scr_allow_m1carbine)
Enable this option to allow players to use the m1carbine.
Allow m1garand (scr_allow_m1garand)
Enable this option to allow players to use the m1garand.
Allow mp40 (scr_allow_mp40)
Enable this option to allow players to use the mp40.
Allow mp44 (scr_allow_mp44)
Enable this option to allow players to use the mp44.
Allow nagant (scr_allow_nagant)
Enable this option to allow players to use the nagant.
Allow nagantsniper (scr_allow_nagantsniper)
Enable this option to allow players to use the nagantsniper.
Allow pps42 (scr_allow_pps42)
Enable this option to allow players to use the pps42.
Allow ppsh (scr_allow_ppsh)
Enable this option to allow players to use the ppsh.
Allow shotgun (scr_allow_shotgun)
Enable this option to allow players to use the shotgun.
Allow springfield (scr_allow_springfield)
Enable this option to allow players to use the springfield.
Allow sten (scr_allow_sten)
Enable this option to allow players to use the sten.
Allow svt40 (scr_allow_svt40)
Enable this option to allow players to use the svt40.
Allow thompson (scr_allow_thompson)
Enable this option to allow players to use the thompson.
Allow fraggrenades (scr_allow_fraggrenades)
Enable this option to allow players to use the fraggrenades.
Allow smokegrenades (scr_allow_smokegrenades)
Enable this option to allow players to use the smokegrenades.
Capture The Flag settings

Server Variable Value
Map score limit (scr_ctf_scorelimit)
Map score limit.
Map time limit (scr_ctf_timelimit)
Map time limit.
In minutes, valid values are between 0 (no limit) and 1440.
Deathmatch settings

Server Variable Value
Map score limit (scr_dm_scorelimit)
Map score limit.
Map time limit (scr_dm_timelimit)
Map time limit.
In minutes, valid values are between 0 (no limit) and 1440.
Search and Destroy settings

Server Variable Value
Bomb timer (scr_sd_bombtimer)
Time until the bomb explodes once planted, in seconds.
Grace period (scr_sd_graceperiod)
Time at round start where spawning and weapon choosing is still allowed. Valid values are between 0 and 60.
Round length (scr_sd_roundlength)
Round length, in minutes.
Round limit (scr_sd_roundlimit)
Maximum number of round wins per map.
Map score limit (scr_sd_scorelimit)
Map score limit.
Map time limit (scr_sd_timelimit)
Map time limit.
In minutes, valid values are between 0 (no limit) and 1440.
Team Deathmatch settings

Server Variable Value
Map score limit (scr_tdm_scorelimit)
Map score limit.
Map time limit (scr_tdm_timelimit)
Map time limit.
In minutes, valid values are between 0 (no limit) and 1440.
Headquarters settings

Server Variable Value
Map score limit (scr_hq_scorelimit)
Map score limit.
Map time limit (scr_hq_timelimit)
Map time limit.
In minutes, valid values are between 0 (no limit) and 1440.
Maplist

Server Variable Value
Deathmatch
Check all maps for your maplist in this gametype
 mp_breakout
 mp_brecourt
 mp_burgundy
 mp_carentan
 mp_dawnville
 mp_decoy
 mp_downtown
 mp_farmhouse
 mp_leningrad
 mp_matmata
 mp_railyard
 mp_toujane
 mp_trainstation
Team Deatchmatch
Check all maps for your maplist in this gametype
 mp_breakout
 mp_brecourt
 mp_burgundy
 mp_carentan
 mp_dawnville
 mp_decoy
 mp_downtown
 mp_farmhouse
 mp_leningrad
 mp_matmata
 mp_railyard
 mp_toujane
 mp_trainstation
Search and Destroy
Check all maps for your maplist in this gametype
 mp_breakout
 mp_brecourt
 mp_burgundy
 mp_carentan
 mp_dawnville
 mp_decoy
 mp_downtown
 mp_farmhouse
 mp_leningrad
 mp_matmata
 mp_railyard
 mp_toujane
 mp_trainstation
Capture The Flag
Check all maps for your maplist in this gametype
 mp_breakout
 mp_brecourt
 mp_burgundy
 mp_carentan
 mp_dawnville
 mp_decoy
 mp_downtown
 mp_farmhouse
 mp_leningrad
 mp_matmata
 mp_railyard
 mp_toujane
 mp_trainstation
Headquarters
Check all maps for your maplist in this gametype
 mp_breakout
 mp_brecourt
 mp_burgundy
 mp_carentan
 mp_dawnville
 mp_decoy
 mp_downtown
 mp_farmhouse
 mp_leningrad
 mp_matmata
 mp_railyard
 mp_toujane
 mp_trainstation