Setting up bots on your Counter-Strike 2 (CS2) server lets you practice aim, test strategies, or fill empty slots when real players are offline. This guide walks you through adding bots, controlling their difficulty, and managing them with console commands and config files. You’ll need a running CS2 dedicated server and access to its command console—either in-game or via SSH/RDP.
What You’ll Need
- A CS2 dedicated server (official or third-party hosting) with admin access.
- The server console (in-game console enabled or SSH/RDP access).
- Basic familiarity with CS2’s command line interface.
Step-by-Step
- Start your server and load a map. Bots only spawn on a loaded map. Use
map de_dust2orchangelevel de_miragein the console. - Enable bots with the default command. Type
bot_addin the console. This adds one bot to the opposing team (or your team if you’re spectating). Repeat to add more. - Specify team and difficulty. Use
bot_add_t(Terrorist) orbot_add_ct(Counter-Terrorist). For difficulty, setbot_difficultyto a value 0-3 (0=easy, 1=normal, 2=hard, 3=expert) before adding bots. - Set the number of bots automatically. Use
bot_quotato define how many bots you want. For example,bot_quota 10sets a target of 10 bots. Then setbot_quota_mode fillto fill empty slots, ormatchto balance teams. - Control bot behavior. Use
bot_stop 1to freeze bots,bot_freeze 1to make them stand still (useful for aim training).bot_kickremoves all bots. - Create a config file for persistent settings. Navigate to your server’s
cfgfolder (usuallycsgo/cfg). Create a file likebot.cfgand add lines such asbot_quota 10,bot_difficulty 2,bot_quota_mode fill. Then execute it withexec bot.cfgin the console. - Add bots to your own team for practice. Use
bot_add_torbot_add_ctafter joining a team. To make bots on your team, you may need to setbot_join_team anyandbot_join_after_player 1. - Adjust bot names and chat. Use
bot_prefixto add a prefix to bot names, andbot_chatterto control their voice lines (0=off, 1=minimal, 2=normal).
Common Mistakes
- Bots not spawning: Often because the map isn’t fully loaded or the server is in a competitive mode that restricts bots. Ensure you’re on a casual or deathmatch mode, or set
sv_cheats 1temporarily. - Using
bot_addbefore map load: The command does nothing if no map is active. Always load a map first. - Difficulty not applying: You must set
bot_difficultybefore adding bots. Changing it after they spawn doesn’t affect existing bots. - Quota not working: If
bot_quotaseems ignored, checkbot_quota_mode. Infillmode, it adds bots to fill empty slots; inmatchmode, it balances teams. If you have 10 players and set quota to 10, no bots appear. - Bots on the same team: By default, bots join the opposite team. To force them onto your team, use
bot_join_team anyand then issuebot_addwhile you’re on a team.
Tips
- Use
bot_knives_onlyandbot_pistols_onlyfor specific weapon practice. Set them to 1 to restrict bots to those weapons. - For aim training, set
bot_difficulty 0andbot_freeze 1to have stationary targets. - Save your config so you don’t have to retype commands each time. Create a
practice.cfgwith your preferred bot settings and execute it after map change. - Use
bot_zombie 1to make bots only use melee, great for practicing movement and close-range fights. - To reset bots, use
bot_kickthen re-add them with new settings.
Troubleshooting
- Bots don’t move: Check if
bot_stoporbot_freezeis set to 1. Set them to 0 to re-enable movement. - Bots are too easy/hard: Adjust
bot_difficultyand restart the round or kick and re-add bots. - Console commands not working: Ensure you have admin rights. On a dedicated server, you may need to set
sv_cheats 1for some bot commands (likebot_place). - Bots don’t appear in competitive mode: Competitive mode disables bots by default. Switch to casual or deathmatch, or use
bot_quota_mode fillwith a high quota. - Server crashes when adding many bots: Lower
bot_quotaor check your server’s performance. Bots are CPU-intensive. - Executing config file not working: Make sure the file is in the correct
cfgfolder and has a.cfgextension. Use absolute path if needed.
Frequently Asked Questions
How do I add bots to my own team?
Join a team first, then set bot_join_team any and use bot_add. The bot will join your team.
Can I set bots to only use knives?
Yes, set bot_knives_only 1 in the console. Bots will only use melee weapons.
Why do bots keep getting stuck?
This can happen on custom maps with pathfinding issues. Try a different map or use bot_stop 1 to freeze them.
How do I remove all bots quickly?
Type bot_kick in the console. This removes all bots from the server.
Can I make bots harder than expert?
No, bot_difficulty 3 is the maximum. For more challenge, try playing with fewer teammates or on smaller maps.
Do bot settings persist across map changes?
No, most bot settings reset when the map changes. Use a config file and execute it after each map load.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Samsung Smart Speaker Rollable Display: Facts
- HP 9730e: Wide Prints, Not A3 Scans
- What 8888 Does When You Use It as DNS Server
- Credential Manager: Seamless Sign-In Explained
- API Governance for Public Data: What Growing Portfolios Need
- Enterprise AI Hidden Cost: Data Architecture ROI