Skip to content

4 min readUpdated Aug 15, 2026

CS:S Console Commands List

Counter-Strike: Source moved the game onto the Source engine, and with it came a much larger set of console variables than CS 1.6 ever had. Round rules, economy, bots, physics and network settings all sit behind mp_ and sv_ commands.

Search the full list below, then add what you need to your Counter-Strike: Source server. Every entry shows the default value, a description and flags telling you whether it runs on the server or on the client.

Category

1,471 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: 30No description is published for this one.ServerReplicated
Default: 52No description is published for this one.ServerReplicated
Default: 100No description is published for this one.ServerReplicated
Default: 35No description is published for this one.ServerReplicated
Default: 200No description is published for this one.ServerReplicated
Default: 90No description is published for this one.ServerReplicated
Default: 100No description is published for this one.ServerReplicated
Default: 90No description is published for this one.ServerReplicated
Default: 120No description is published for this one.ServerReplicated
Default: 32No description is published for this one.ServerReplicated
Default: 2No description is published for this one.ServerReplicated
Default: 1No description is published for this one.ServerReplicated
Default: 1No description is published for this one.ServerReplicated
Default: 1Toggle the 3-way animation blending code.ServerReplicated
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
—Attempt to purchase items with the order listed in cl_autobuyCommandServer
—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
—bot_add <t|ct> <type> <difficulty> <name> - Adds a bot matching the given criteria.CommandServer
—bot_add_ct <type> <difficulty> <name> - Adds a Counter-Terrorist bot matching the given criteria.CommandServer
—bot_add_t <type> <difficulty> <name> - Adds a terrorist bot matching the given criteria.CommandServer
—Allows the bots to use all weaponsCommandServer
Default: 1If nonzero, bots may use grenades.ServerReplicated
Default: 1If nonzero, bots may use the machine gun.ServerReplicated
Default: 1If nonzero, bots may use pistols.ServerReplicated
Default: 1If nonzero, bots may use rifles.ServerReplicated
Default: 1If nonzero, bots may occasionally go 'rogue'. Rogue bots do not obey radio commands, nor pursue scenario goals.ServerReplicated
Default: 1If nonzero, bots may use shotguns.ServerReplicated
Default: 1If nonzero, bots may use sniper rifles.ServerReplicated
Default: 1If nonzero, bots may use sub-machine guns.ServerReplicated
Default: 0If nonzero, bots with high co-op may automatically follow a nearby human player.ServerReplicated
Default: 1If nonzero, bots will automatically leave to make room for human players.ServerReplicated
—Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal'.ServerReplicated
Default: 0Force all bots to crouch.ServerCheat
Default: 0For internal testing purposes.ServerCheatReplicated
Default: 0For internal testing purposes.ServerCheatReplicated
Default: 0If nonzero and there is a human on the team, the bots will not do the scenario tasks.ServerReplicated
Default: 1Defines the skill of bots joining the game. Values are: 0=easy, 1=normal, 2=hard, 3=expert.ServerReplicated
Default: 0If nonzero, bots will not fire weapons (for debugging).ServerCheatReplicated
Default: 2000If nonzero, bots will not buy if their money falls below this amount.ServerReplicated
Default: 0If nonzero, bots use no CPU for AI. Instead, they run around randomly.ServerCheatReplicated
Default: 0No description is published for this one.ServerCheat
—Sends a bot to the selected nav area (useful for testing navigation meshes)CommandServer
Default: 1If nonzero, bots wait until a player joins before entering the game.ServerReplicated
Default: 0Prevents bots from joining the server for this many seconds after a map change.Server
—Determines the team bots will join into. Allowed values: 'any', 'T', or 'CT'.ServerReplicated
—bot_kick <all> <t|ct> <type> <difficulty> <name> - Kicks a specific bot, or all bots, matching the given criteria.CommandServer

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

Values marked Server belong in your cstrike/cfg/server.cfg. Values marked Client are typed into each player’s own console.

How to Use CS:S Server Commands

Source games read cstrike/cfg/server.cfg when the server starts and on every map change.

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

To change something mid-match, use the Console tab in the panel or connect with rcon. Live changes apply at once and revert when the server restarts.

Most Used CS: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 for custom files.
mp_timelimit0Minutes of game time per map.
mp_maxrounds0Rounds before the server changes map.
mp_winlimit0Score one team can reach before the map changes.
mp_roundtime2Round length in minutes.
mp_freezetime6Seconds players stay frozen at round start.
mp_startmoney800Money each player gets on reset.
mp_buytime1Minutes after round start that players can buy.
mp_c4timer45Bomb timer in seconds.
mp_friendlyfire0Set to 1 to let teammates damage each other.
mp_autoteambalance10 off, 1 forced switch, 2 ask for volunteers.
mp_limitteams2Player difference allowed between teams. 0 disables.
mp_forcecamera1Restricts what dead players can spectate.
sv_alltalk0Set to 1 so both teams hear each other.
sv_cheats0Set to 1 to unlock cheat commands.
sv_gravity800World gravity.
sv_lan0Set to 1 for a LAN only server.
bot_quota0How many bots the server keeps in the game.
bot_difficulty1Bot skill. 0 easy, 1 normal, 2 hard, 3 expert.

sv_pure and Custom Content

sv_pure decides how strictly the server checks player files. It matters as soon as you run custom maps or models.

ValueEffect
-1No checking. Players can load any custom files they like.
0Players may use custom files that are not in the whitelist.
1Files must match the server whitelist in cstrike/cfg/pure_server_whitelist.txt.
2Everything must match the server files. Strictest setting.

Run sv_pure with no value in the console to print the current mode.

How to Open the Console in CS:S

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

FAQ

Why does my server.cfg get ignored?

The file has to sit in cstrike/cfg/server.cfg, not in the root cstrike folder. That is a change from CS 1.6, which reads cstrike/server.cfg. Also check that no plugin config runs later and overwrites your value.

What is the difference between mp_maxrounds and mp_winlimit?

mp_maxrounds counts every round played and changes map once it hits the number. mp_winlimit watches each team's score and changes map when either team reaches it. Set the one you want and leave the other at 0.

How do I add bots to my CS:S server?

Set bot_quota to the number you want and bot_difficulty to the skill level. Add both lines to your server.cfg. Use bot_add in the console to drop in a single bot without changing the quota.

A command works in my own console but not on the server. Why?

Check its flags in the list. Commands marked Client only ever affect the machine that runs them. Commands marked Cheat need sv_cheats 1 on the server first, and that setting is replicated to every player.