4 min readUpdated Aug 15, 2026

DoD:S Console Commands List

Day of Defeat: Source has two sets of commands most other Source games do not. The mp_limit_ family caps how many players can take each class per team, and the clan match commands run a proper ready up and restart flow for scrimmages.

Search the full list below, then add what you need to your Day of Defeat: Source server. Each entry shows the default value, what it does and whether it runs on the server or the client.

Category

1,214 commands in total

CommandDefaultDescription
Erases current game stats and writes out a blank stats fileCommandServer
Shutdown and restart the engine.CommandServer
Default: 0Turn on achievement debug msgs.ServerCheatReplicated
Add an IP address to the ban list.CommandServer
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0Debug the NPC dynamic interaction system.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0Show random expression decisions for NPCs.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid.ServerCheat
Default: 0No description is published for this one.Server
Debug the attempted connection between two nodesCommandServer
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerCheatReplicated
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerCheat
Drop an ai_hint at the player's current eye position.CommandServer
No description is published for this one.CommandServer
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0Maximum frametime to still play background expressions.Server
Default: 0Disable npc background expressions when you can't see them.Server
Default: 720No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 50frametime limit for min efficiency AIE_NORMAL (in sec's).Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerReplicated
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 8No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 0No description is published for this one.ServerArchived
Default: 0No description is published for this one.Server
Set how high AI bumps up ground walkers when checking stepsCommandServer
Default: 0Shows that bones that are setup every thinkServer
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.ServerReplicated
Default: -1No description is published for this one.ServerReplicated
Default: 0No description is published for this one.Server
Default: 1000No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 3No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.Server
Default: 0No description is published for this one.ServerArchived
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.Server
Default: 1No description is published for this one.ServerCheat
Changes the density of air for drag computations.CommandServer
Alias a command.CommandServer
Default: 1Toggle the 3-way animation blending code.ServerReplicated
Default: -1Show the (client) animation state for the specified entity (-1 for none).ServerCheatReplicated
Default: 01 to output anim_showstate to Msg(). 2 to store in AnimState.log. 3 for both.ServerCheatReplicated
Default: 1Allow AsyncBegin/EndRead()Server
Default: 0Set the async filesystem mode (0 = async, 1 = synchronous)Server
No description is published for this one.CommandServer
Default: 0Force async reads to serialize for profilingServer
Default: 0Simulate a delay of up to a set msec per file operationServer
No description is published for this one.CommandServer
Default: 0No description is published for this one.Server
Default: 2160No description is published for this one.Server
Add a user ID to the ban list.CommandServer
Add an IP address to the ban list.CommandServer
Ends gathering of info.CommandServer
Starts gathering of info. Arguments: filename to write results intoCommandServer
Bind a key.CommandServer
Bind this key but only on Mac, not win32CommandServer
Performs a bind <key> 'increment var <cvar> 0 1 1'CommandServer
bloodCommandServer
Add a bot.CommandServer
Default: 0Shoot!Server
Default: 0Forces the specified bot to change class (e.g. bot_changeclass bot01 soldier).Server
Default: 0Force all bots to crouch.Server
Default: 0Set to a team number, and that team will all keep their combat shields raised.Server
Default: 0If nonzero, bots use no CPU for AI. Instead, they run around randomly.Server
Default: 0When firing, use attack2.Server
Default: 0When firing, don't tap fire, hold it down.Server
Default: 0Force bots with the specified weapon to fire.Server
Default: 0Bot uses usercmd of player by index.Server
Default: 0Offsets the bot yaw.Server
Default: 0Forces bots to send the specified command.Server
Default: 0If nonzero, bots will stay in idle mode and not attack.Server
Default: 0No description is published for this one.Server
Default: 1No description is published for this one.Server
Toggle. Player takes damage but won't die. (Shows red cross when health is zero)CommandServer
Turn a budget group on/offCommandServer
Automatically swaps the current weapon for the bug bait and back again.CommandServer
cache_print [section] Print out contents of cache memory.CommandServer
cache_print_lru [section] Print out contents of cache memory.CommandServer
cache_print_summary [section] Print out a summary contents of cache memory.CommandServer
Start a vote on an issue.CommandServer
Tests hull collision detectionCommandServer
Tests collision detectionCommandServer
Spawn airboat in front of the player.CommandServer
Spawn jeep in front of the player.CommandServer
changelevel <mapname> :Multiplayer change level.CommandServer
Immediately changes to the next map in the map rotation for the server.CommandServer
Transition to the specified map in single playerCommandServer
Default: 450No description is published for this one.ServerCheatReplicated
Default: 1Enable/disable clock correction on the client.Cheat
Default: 200Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount if the difference between the client and server clock is equal to or larger than cl_clock_correction_adjustment_max_offset.Cheat
Default: 90As the clock offset goes from cl_clock_correction_adjustment_min_offset to this value (in milliseconds), it moves towards applying cl_clock_correction_adjustment_max_amount of adjustment. That way, the response is small when the offset is small.Cheat
Default: 10If the clock offset is less than this amount (in milliseconds), then no clock correction is applied.Cheat
Default: 999Force clock correction to match the server tick + this offset (-999 disables it).Cheat
Default: 0Show debugging info about the clock drift.Cheat
Default: 150Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.Cheat
Default: 0Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.Cheat
Default: 450No description is published for this one.ServerCheatReplicated
Default: 6Delay in seconds before the client will resend the 'connect' attemptServer
Default: 0Show console messages about ignored connectionless packets on the client.Server

Or search above to jump straight to the one you need.

Values marked Server belong in your dod/cfg/server.cfg. Values marked Clientare typed into each player’s own console.

How to Use DoD:S Server Commands

The server reads dod/cfg/server.cfg on startup and on every map change.

  1. 1
    Log in to Bropanel and select your DoD:S server.
  2. 2
    In the sidebar, open Files.
  3. 3
    Open dod/cfg/server.cfg.
  4. 4
    Add one command per line, such as mp_timelimit 30.
  5. 5
    Save the file and restart your server.

Class Limit Commands

Every class has its own cap per team. Set a number to limit it, or -1 to leave it unlimited.

CommandWhat it caps
mp_limit_allies_riflemanAllied Rifleman
mp_limit_allies_assaultAllied Assault
mp_limit_allies_supportAllied Support
mp_limit_allies_sniperAllied Sniper
mp_limit_allies_mgAllied Machine Gunner
mp_limit_allies_rocketAllied Rocket
mp_limit_axis_riflemanAxis Rifleman
mp_limit_axis_assaultAxis Assault
mp_limit_axis_supportAxis Support
mp_limit_axis_sniperAxis Sniper
mp_limit_axis_mgAxis Machine Gunner
mp_limit_axis_rocketAxis Rocket

All of them default to -1, meaning no limit. mp_combinemglimits 1 merges the mg34 and mg42 caps into a single shared pool.

Clan Match Commands

CommandDefaultWhat it does
mp_clan_readyrestart0Restarts the game once each team gives the ready signal.
mp_clan_restartround0Restarts the round after the given number of seconds.
mp_restartwarmup0Set to 1 to start or restart the warmup period.
mp_warmup_time0Warmup length in seconds.
mp_winlimit0Score one team can reach before the map changes.
mp_tickpointinterval30Delay between point captures scoring.

Most Used DoD:S Server Commands

CommandDefaultWhat it does
hostnameemptySets the server name shown in the browser.
sv_passwordemptyLocks the server behind a password.
rcon_passwordemptySets the admin password for rcon.
sv_downloadurlemptyPoints clients at your FastDL host.
mp_timelimit0Minutes of game time per map.
mp_friendlyfire0Set to 1 to let teammates damage each other.
mp_limitteams2Player difference allowed between teams. 0 disables.
mp_allowspectators1Set to 0 to turn off spectator mode.
mp_forcecamera1Restricts what dead players can spectate.
dod_bonusround1Lets the round winners keep attacking during the intermission.
sv_alltalk0Set to 1 so both teams hear each other.
sv_cheats0Set to 1 to unlock cheat commands.
sv_gravity800World gravity.

How to Open the Console in DoD:S

  1. 1
    Open Day of Defeat: Source and go to Options.
  2. 2
    Select the Keyboard tab and click Advanced.
  3. 3
    Tick Enable developer console (~).
  4. 4
    Click OK, then press the ~ key in game.

FAQ