Day of Defeat: Source Server Configuration Generator
Use the DoD:S server.cfg generator to create the server.cfg for your Day of Defeat: Source server. Set the server name, password, GSLT, time limit, bonus round, friendly fire, class limits and RCON in the form, or describe your server to the AI in Easy Mode. The live preview shows the finished server config, which you can copy or download. Free, with no sign-up required, right in your browser.
Built by Florian Galz
Config ready? Rent your server and transfer it with one click.
ZapX AI Agent
Explain how you want to configure your server
// Day of Defeat: Source — generated with the ZAP-Hosting Game Config Generator// zap-hosting.com/tools/dods/config-generator// Server basicshostname "ZAP Day of Defeat: Source"sv_password ""sv_setsteamaccount ""// Rounds & timemp_timelimit 0mp_winlimit 0dod_bonusround 1dod_bonusroundtime 15dod_enableroundwaittime 1mp_chattime 10mp_clan_readyrestart 0// Gameplaydod_freezecam 1mp_allowspectators 1mp_fadetoblack 0// Team & fairnessmp_friendlyfire 0mp_limitteams 2mp_autokick 0// Communicationsv_voiceenable 1sv_alltalk 0// Class limitsmp_allowrandomclass 1mp_limit_allies_rifleman -1mp_limit_allies_assault -1mp_limit_allies_support -1mp_limit_allies_sniper -1mp_limit_allies_mg -1mp_limit_allies_rocket -1mp_limit_axis_rifleman -1mp_limit_axis_assault -1mp_limit_axis_support -1mp_limit_axis_sniper -1mp_limit_axis_mg -1mp_limit_axis_rocket -1// Administration & securityrcon_password ""sv_cheats 0// Othersv_lan 0
Show config file preview
// Day of Defeat: Source — generated with the ZAP-Hosting Game Config Generator// zap-hosting.com/tools/dods/config-generator// Server basicshostname "ZAP Day of Defeat: Source"sv_password ""sv_setsteamaccount ""// Rounds & timemp_timelimit 0mp_winlimit 0dod_bonusround 1dod_bonusroundtime 15dod_enableroundwaittime 1mp_chattime 10mp_clan_readyrestart 0// Gameplaydod_freezecam 1mp_allowspectators 1mp_fadetoblack 0// Team & fairnessmp_friendlyfire 0mp_limitteams 2mp_autokick 0// Communicationsv_voiceenable 1sv_alltalk 0// Class limitsmp_allowrandomclass 1mp_limit_allies_rifleman -1mp_limit_allies_assault -1mp_limit_allies_support -1mp_limit_allies_sniper -1mp_limit_allies_mg -1mp_limit_allies_rocket -1mp_limit_axis_rifleman -1mp_limit_axis_assault -1mp_limit_axis_support -1mp_limit_axis_sniper -1mp_limit_axis_mg -1mp_limit_axis_rocket -1// Administration & securityrcon_password ""sv_cheats 0// Othersv_lan 0
Example result
Example: the generated server.cfg
You set the options using a form or AI Easy Mode, and the generator creates the finished server.cfg for Day of Defeat: Source live. Below are the first lines of the default configuration; your file contains your values and all other settings.
Example · Default configuration
Output
// Day of Defeat: Source — generated with the ZAP-Hosting Game Config Generator// zap-hosting.com/tools/dods/config-generator // Server basicshostname "ZAP Day of Defeat: Source"sv_password ""sv_setsteamaccount "" // Rounds & timemp_timelimit 0mp_winlimit 0dod_bonusround 1dod_bonusroundtime 15dod_enableroundwaittime 1mp_chattime 10- +37 rowsYou can copy or download the complete file in the generator; the sample lines here only show the beginning.
Settings
DoD:S server commands: the cvars in your server.cfg
The generator creates your Day of Defeat: Source server’s server.cfg, not a client config such as autoexec.cfg. Its 38 settings are divided into eight sections, with the corresponding cvar or launch parameter in parentheses.
Server basics
Server name (hostname), server password (sv_password, blank for a public server), GSLT token (sv_setsteamaccount), player count (2–32, default 16) and starting map (default dod_anzio). Player count and starting map are launch parameters, so they are not included in server.cfg.
Rounds & time
Time limit per map (mp_timelimit, 0 = no limit), round wins per map (mp_winlimit, 0 = no limit), bonus round after a win (dod_bonusround, on by default), pause after a round win (dod_bonusroundtime, 5–15 seconds, default 15), wait time between rounds (dod_enableroundwaittime), chat time after a map ends (mp_chattime, 1–120 seconds, default 10) and clan match start via ready signal (mp_clan_readyrestart, mp_clan_ready_signal).
Gameplay
Freeze cam on your killer (dod_freezecam, on by default), allow spectators (mp_allowspectators, on by default), and fade the screen to black after death (mp_fadetoblack, off by default).
Teams & fairness
Friendly fire (mp_friendlyfire, off by default) with a safe zone around each player (dod_friendlyfiresafezone, default 100 units), maximum team size difference (mp_limitteams, 1–20, default 2), and auto-kick for inactive players and teamkillers (mp_autokick, off by default).
Communication
Voice chat (sv_voiceenable, on by default) and All-Talk (sv_alltalk, off by default), which lets all players hear one another regardless of team.
Class limits
Allow random class selection (mp_allowrandomclass) and set separate limits for Allies and Axis on how many players can play Rifleman, Assault, Support, Sniper, MG and Rocket (mp_limit_allies_* and mp_limit_axis_*): -1 = no limit, 0 = class disabled.
Administration & security
RCON password (rcon_password; leave empty to disable RCON) and cheat commands (sv_cheats; off by default). Never enable sv_cheats on a public server.
Other
LAN mode (sv_lan), which removes the server from the public server list and is intended only for local testing.
The generator appends lines it does not recognise from an imported server.cfg unchanged to the end of the file. It does not create a mapcycle, plugins or admin permissions.
Guide
How to set up your DoD:S server.cfg
From the first setting to a running server: how to apply your DoD:S server config to your Day of Defeat: Source server.
- 1
Step 1
Open generator or import config
The generator starts with the Day of Defeat: Source defaults, and you can immediately see the finished server.cfg in the live preview. If you already have a server.cfg, import it as a .cfg or .txt file up to 2 MB, or paste its contents.
- 2
Step 2
Choose Easy Mode or the form
In Easy Mode, describe your server in your own words, for example, “6v6 server with no more than one sniper per team and no bonus round.” The AI suggests suitable values and explains each change; only changes you confirm are applied. In advanced mode, you set every option yourself.
- 3
Step 3
Set server basics
Enter the server name (hostname), an optional server password and your GSLT token, then choose the player count and starting map, such as dod_anzio, dod_avalanche or dod_flash.
- 4
Step 4
Configure rounds, teams and classes
Set the time limit (mp_timelimit) and round win limit (mp_winlimit), configure the bonus round and friendly fire, limit the team size difference, and set a per-team limit for each class, such as one sniper and two machine gunners.
- 5
Step 5
Secure administration
Set an RCON password so you can manage the server remotely, and leave sv_cheats off on a public server.
- 6
Step 6
Check and save server.cfg
Check server.cfg in the live preview. Then copy or download the file, or share a link without passwords.
- 7
Step 7
Upload and apply
On a self-hosted server, place the file as server.cfg in the dod/cfg folder and run “exec server.cfg” in the console or restart the server. On a ZAP-Hosting server, you can transfer your changes directly from this page with one click. They go into dod/cfg/custom.cfg, which the server executes after its own server.cfg on every startup, so they persist across restarts. Server name, password, player count, starting map and GSLT are launch parameters in the panel.
Setup
File location & applying changes
Two ways to get the config onto a server: upload it yourself or transfer it with one click through our panel.
The manual method
Upload yourself
- 1
Download file
Download the generated server.cfg using the button above.
- 2
Upload via file manager or FTP/SFTP
Place in
dod/cfg/server.cfg(Linux) ordod\cfg\server.cfg(Windows). - 3
Apply changes
Restart your server or run “exec server.cfg” in the console.
The ZAP-Hosting way
Transfer instantly, no upload required
Rent a Day of Defeat: Source server from us and transfer your settings directly from this page with one click.
- No FTP, no file manager
- Live in seconds
- Undo anytime
More tools
server.cfg generators for other Source games
Server Configuration Generator
Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your CS:GO server.
Built by Florian Galz
Server Configuration Generator
Describe your server.cfg to the ZapX AI Agent in your own words or set the options in the form — with a live preview for your CS:Source server.
Built by Florian Galz
Server Configuration Generator
Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Team Fortress 2 server.
Built by Florian Galz
Server Configuration Generator
Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your No More Room in Hell server.
Built by Florian Galz
Server Configuration Generator
Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Left 4 Dead 2 server.
Built by Florian Galz
Server Configuration Generator
Describe server.cfg to ZapX AI Agent in your own words or set the options in the form — with a live preview for your Garry's Mod server.
Built by Florian Galz
FAQ
Frequently asked questions about the DoD:S server.cfg generator
File location, class limits, bonus round, GSLT, launch parameters, bots and passwords—quick answers.
Where is server.cfg located in Day of Defeat: Source, and how do I apply it?
server.cfg is in your server’s dod game folder: dod/cfg/server.cfg on Linux and dod\cfg\server.cfg on Windows. Downloading the file does not transfer it automatically. On a self-hosted server, place it there and restart the server or run “exec server.cfg” in the console. On ZAP-Hosting servers, the server image rewrites server.cfg on every startup and then executes dod/cfg/custom.cfg. The generator transfers your values there with one click, so they persist across restarts.
Is the DoD:S server.cfg generator free, and do I need an account?
The generator is free to use without signing up: the form, Easy Mode, import, copy, download and sharing features all work without an account. The server.cfg is generated directly in your browser. Only in Easy Mode are your description and current values, without passwords, sent to the AI, which suggests changes. Only changes you confirm are applied.
How do I limit Sniper, MG and Rocket on my DoD:S server?
Under “Class limits,” set how many players can use each of the six classes at once, separately for the Allies and Axis. The values appear in server.cfg as mp_limit_allies_sniper, mp_limit_axis_mg and so on. -1 means no limit and is the default; 0 disables the class entirely. You can also enable or disable random class selection with mp_allowrandomclass.
What is the bonus round in DoD:S, and how do I disable it?
After winning a round, the winning team can continue attacking during the break before the next round. This is controlled by dod_bonusround and is on by default. Turn it off in the generator for clan matches. Set the length of the break after a round win with dod_bonusroundtime (5–15 seconds, default 15).
Do I need a GSLT token for my DoD:S server?
Yes, for a public server. The Game Server Login Token lets the server sign in to Steam; it appears in server.cfg as sv_setsteamaccount. You can create one for free at steamcommunity.com/dev/managegameservers using App ID 300, the game’s ID. The token is masked like a password in the form.
Why aren't player count and starting map in server.cfg?
Both are launch parameters (-maxplayers and +map), not server.cfg cvars. The generator therefore deliberately leaves them out of the file. In the form, choose between 2 and 32 players and one of nine standard maps: dod_anzio, dod_argentan, dod_avalanche, dod_colmar, dod_donner, dod_flash, dod_jagd, dod_kalt and dod_palermo.
Can I configure bots or SourceTV on my DoD:S server?
Bots: no. Day of Defeat: Source has no bot system like Counter-Strike: Source; its existing bot commands are developer tools only. The generator therefore has no bot settings. SourceTV is also absent: ZAP servers do not provide a separate SourceTV port for Day of Defeat: Source.
Will my passwords appear in the share link?
No. The server password, RCON password and GSLT token are masked in the form, never saved in share links and never sent to the AI in Easy Mode. A share link contains only the non-secret values you changed.
Any more questions?
Contact SupportGet your Day of Defeat: Source server online today
Rent your Day of Defeat: Source server now and transfer this config with one click.
No setup. No risk. Online in 60 seconds.
