CS2 Bot Commands
Bots are a server setting, so these work in a game you host: load a map with map de_dust2 first.
To get rid of bots, set the quota to 0 and then kick them. Kicking alone does not hold, because the game fills the quota again.
Copy and paste
Remove all bots
bot_quota 0 bot_kick
Add bots at the hardest setting
bot_kick bot_difficulty 3 bot_add_ct bot_add_t
Difficulty applies to bots that join after you set it, so kick the old ones first.
Bots that stand still for aim practice
sv_cheats 1 bot_stop 1 bot_dont_shoot 1
Most of these are cheat-protected.
Bots with knives only
bot_knives_only
How to open the CS2 console
- Open Settings, then the Game tab, and set Enable Developer Console to Yes. That switches on
con_enable, which is off by default. - Press the console key. On a US keyboard it is the tilde key (~) under Esc. The key is the one bound to
toggleconsole. - Type a command and press Enter. Type a command on its own to see its current value.
If the key does nothing, check that the setting above is on and that another action is not using the key. You can also start the game with -console in your launch options. Valve does not allow toggleconsole to be bound to mouse 1.
CS2 Bot Commands: every command
| Command | What it does | Default | Example | Cheats |
|---|---|---|---|---|
| bot_addServer setting | Adds a bot. You can name a team, a type, a difficulty and a name after it. | Command | bot_add | No |
| bot_add_ctServer setting | Adds a Counter-Terrorist bot. | Command | bot_add_ct | No |
| bot_add_tServer setting | Adds a Terrorist bot. | Command | bot_add_t | No |
| bot_kickServer setting | Removes bots. With no extra words it removes all of them; you can limit it by team, type, difficulty or name. | Command | bot_kick | No |
| bot_killServer setting | Kills bots, with the same team, type, difficulty and name options as bot_kick. | Command | bot_kill | Yes |
| bot_quotaServer setting | The number of bots the game keeps in the match. Set it to 0 first, or kicked bots come back. | 1 | bot_quota 0 | No |
| bot_quota_modeServer setting | How the quota is counted: normal, fill or match.The 2023 dump lists a value that is not one of the allowed ones, so no default is shown. | – | bot_quota_mode normal | No |
| bot_difficultyServer setting | How good new bots are: 0 easy, 1 normal, 2 hard, 3 expert. | 2 | bot_difficulty 3 | No |
| bot_knives_onlyServer setting | Bots use only knives. | Command | bot_knives_only | No |
| bot_pistols_onlyServer setting | Bots use only pistols. | Command | bot_pistols_only | No |
| bot_snipers_onlyServer setting | Bots use only sniper rifles. | Command | bot_snipers_only | No |
| bot_all_weaponsServer setting | Lets bots use any weapon again. | Command | bot_all_weapons | No |
| bot_stopServer setting | Freezes bots in place when set to 1. | 0 | bot_stop 1 | Yes |
| bot_zombieServer setting | Bots stand idle and do not attack. | false | bot_zombie 1 | Yes |
| bot_dont_shootServer setting | Bots never fire their weapons. | false | bot_dont_shoot 1 | Yes |
| bot_freezeServer setting | Freezes the bots. | false | bot_freeze 1 | Yes |
| bot_crouchServer setting | Makes the bots crouch. | false | bot_crouch 1 | Yes |
| bot_placeServer setting | Puts a bot where you are pointing. | Command | bot_place | Yes |
| bot_join_teamServer setting | Which team new bots join: any, T or CT. | any | bot_join_team CT | No |
| bot_chatterServer setting | How much bots talk: off, radio, minimal or normal. | normal | bot_chatter off | No |
Defaults are the values in Valve's list, taken from build 9832 on 2 Oct 2023. Valve has changed some since; where a Valve update note says so, the new value is used and marked. A blank default means the list shows a command (not a setting), or the value in it is not trustworthy.
Why bots come back after you kick them
bot_quota is the number of bots the game keeps in the match. While it is above 0, a kicked bot is replaced. Set it to 0, then run bot_kick.
bot_quota_mode decides how the quota counts: normal, fill (keeps the total number of players at the quota) or match (keeps a ratio of humans to bots).
Bot difficulty
bot_difficulty takes 0 for easy, 1 for normal, 2 for hard and 3 for expert. In Valve's 2023 list the default is 2. The setting is described as the skill of bots joining the game, so change it, kick the bots and add new ones.
bot_add, bot_add_ct and bot_add_t take a type, a difficulty and a name after the command, which lets you add one bot at a set level without changing the default.
What bots are allowed to use
bot_knives_only, bot_pistols_only and bot_snipers_only limit the bots. bot_all_weapons lifts the limit. Valve's 16 Nov 2023 update notes record a fix for bot_knives_only not working for Terrorists.
Which bot commands need cheats
Adding, kicking and the quota need no cheats. The commands that make bots easier targets, such as bot_stop, bot_zombie, bot_dont_shoot, bot_freeze, bot_crouch, bot_place and bot_kill, are flagged cheat-protected and need sv_cheats 1.
Tools that write these for you
CS2 Bot Commands FAQ
How do I kick bots in CS2?
Run bot_kick in the console. To stop them coming back, run bot_quota 0 first. With no extra words it removes every bot.
How do I remove bots in CS2?
bot_quota 0 and bot_kick. The quota is the number of bots the game keeps in the match, so at 0 nothing refills.
How do I change bot difficulty in CS2?
Set bot_difficulty to 0, 1, 2 or 3 (easy, normal, hard, expert), then kick the bots and add new ones. Valve describes it as the skill of bots joining the game.
How do I add a bot to one team?
bot_add_ct adds a Counter-Terrorist bot and bot_add_t adds a Terrorist bot. bot_join_team sets the team new bots join: any, T or CT.
Why do bots keep coming back?
Because bot_quota is above 0. Set it to 0 and kick them.
Do bot commands work in matchmaking?
No. They change a game you host, so use a local game or a server you run.
More CS2 commands
All commandsCommands, defaults and flags come from Valve's command list on the Valve Developer Community wiki (build 9832, 2 Oct 2023). Changes since come from Valve's Counter-Strike 2 update notes. Checked 24 Nov 2026.