Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

How to Set Up Bots on a CS2 Server

Use CS2 server commands to add bots, control their population and remove them. This guide explains bot_quota modes, local versus dedicated setup, persistent configuration and troubleshooting.
Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To add bots in Counter-Strike 2, send the server commands bot_add, bot_add_t, or bot_add_ct from the developer console. Use bot_quota to set the target population, choose bot_quota_mode fill to keep a chosen number of players in the match, and run bot_kick to remove bots. The commands must reach the server that is running the map, and a dedicated server requires server-level permissions.

What CS2 bot commands actually control

A CS2 bot is a computer-controlled player managed by the game server. The client console is only an input method: a command changes the match when it is sent to the server hosting your map and when your account has permission to issue server commands. Typing a command in a client connected to somebody else’s server will not give you control over that server.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There are two practical ways to run bots:

  • Local practice or private session: you start the map and issue commands from your own developer console. This is the fastest way to test teams, quotas and difficulty.
  • Dedicated server: you use the provider console, the server process console, RCON or another administrator interface. Put persistent convars in the instance’s configuration so they survive a restart.

Bot behavior also depends on the active map and game mode. A command can be valid yet produce no bot if the current mode disallows bots, the map has no usable navigation data, or the command was sent to a client rather than the server.

Before adding a bot

Enable the developer console

  1. Launch CS2 and open Settings.
  2. Find the option that enables the developer console and set it to Yes.
  3. Use the configured console key (commonly the tilde key, unless you changed it) to open the console in a match.

Start a practice/private session or connect to the dedicated server on which you want the bots. If the console does not open, check the key binding in the keyboard settings rather than repeatedly entering commands that are never sent.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Confirm that you are an administrator

On a local session that you created, you normally have the authority needed for bot convars. On a dedicated server, use the host’s server console, an authenticated RCON connection, or the provider’s administrative console. A normal player console cannot override a remote server’s settings.

Confirm the map and mode

Check the map name and the active mode before troubleshooting the bot count. Some modes or custom maps do not support the expected bot behavior, and missing navigation data can prevent a bot from spawning or moving. If you have just changed a configuration, change level or restart when the host requires a reload.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Add bots with the console

Enter one of these commands in the server console:

Command Result When to use it
bot_add Requests a bot without selecting a team. Let the server choose the team or quickly populate a practice match.
bot_add_t Requests a Terrorist bot. Build or rebalance the Terrorist side.
bot_add_ct Requests a Counter-Terrorist bot. Build or rebalance the Counter-Terrorist side.

The team-specific forms also document optional type, difficulty and name arguments. A representative syntax is bot_add_ct <type> <difficulty> <name>. The accepted values and their order can change with the running build, so use the command’s built-in help on your server before supplying those arguments. If you only need a normal bot, omit the optional fields.

Check that the request worked

Watch the scoreboard and the server console after each command. A successful request should create a bot on the requested side if a slot is available and the mode permits it. If no player appears, do not immediately increase the quota; first verify that the command reached the server and that you selected the intended team.

Set the bot population with bot_quota

bot_quota is the server convar for the bot target. The current CS2OpenDev convar reference lists a default value of 10. That default is a server setting, not a promise that ten bots will always be visible: the active quota mode, available slots, human players and game rules can all change the resulting count.

Keep a fixed bot target

For a straightforward target, enter a number and use the normal quota behavior:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
bot_quota 5
bot_quota_mode normal

In normal mode, the quota is treated as the target number of bots. The server may still be limited by the match’s maximum slots, team rules or a mode that does not permit bots. If you want to add exactly one bot for a short test, bot_add is more direct than changing a persistent quota.

Fill open places with bots

Use fill mode when you want the server to maintain a total player population as humans join and leave:

bot_quota 5
bot_quota_mode fill

In fill mode, the server adjusts the bots to keep N players in the game, where N is the value of bot_quota. Consequently, five does not mean five bots. If two humans are present, the server seeks a five-player match and may add three bots; if another human joins, it can remove or stop replacing a bot. This is why the apparent bot count changes during a session.

Maintain a human-to-bot ratio

Match mode interprets the quota as a one-to-N human-to-bot ratio:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
bot_quota 2
bot_quota_mode match

With this mode, the number of bots is tied to the number of human players rather than being a fixed total. As humans connect or disconnect, the server recalculates the bot population. Use it for a server that should scale practice opponents with its human population, not for a permanently fixed number of bots.

Change a quota that keeps replacing kicked bots

If you run bot_kick while fill or match mode is active, the server is designed to restore the configured population. To keep the match empty, lower the quota or switch to a mode and value that do not request replacements before kicking the bots.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Remove bots

To remove all bots currently in the match, run:

bot_kick

The documented command syntax also supports filters for team, bot type, difficulty and name. Use the command help on the running build to see the exact filter format, then apply the narrowest filter that matches your goal. For example, a team filter is safer than removing every bot when you are testing only one side.

Remember that removal is a current-match action. A persistent bot_quota setting can add bots again immediately or after the next level change, depending on the quota mode. Treat the quota configuration as the source of truth when you need the result to persist.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Local server versus dedicated server

Decision Local practice/private session Dedicated server
Where commands are sent Your developer console while you host the map. Provider console, server process console, authenticated RCON or another server-admin interface.
Best use One-off experiments, aim practice and quick team tests. A persistent match for several players or repeated sessions.
Persistence Commands generally last for the current session unless you save them elsewhere. Convars belong in the active instance’s configuration or startup mechanism.
Administrative control Usually available to the player who created the session. Requires the permissions granted by the server operator or host.
Common failure The console is open but the command is being sent to a server you do not control. The wrong instance, map or game-mode configuration is being edited.

Use a local session to validate the command sequence first. Move the same convars to a dedicated server only after confirming that the map and mode support the behavior you want.

Make bot settings persistent on a dedicated server

Place convars in the active configuration

Add the required settings to the configuration file that the running server instance actually loads. A minimal example is:

bot_quota 5
bot_quota_mode fill

If you prefer a fixed bot total, use normal instead of fill. Do not assume that a file with a familiar name is active: hosts can use different paths and startup profiles for different instances.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Load the settings after game-mode configuration

Game-mode configuration can override bot convars. Ensure your bot settings execute after the game-mode configuration, or issue them through the server console after the mode has loaded. This ordering is a common reason a value appears correct in a file but behaves differently in game.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

Use the host’s reload procedure

Some hosts apply configuration changes only after a restart or level change. Follow the provider’s current documentation for its panel; panel labels and file paths differ. After reloading, reconnect and verify the active values in the server console rather than assuming the edit took effect.

Verify the correct instance

  • Check that the map you are playing belongs to the server instance whose configuration you edited.
  • Confirm that the command was executed with server permissions, not merely typed into an unprivileged client console.
  • Inspect the startup profile or command line if several instances share the same machine.
  • Record the selected mode and map so a later level change does not move you to a different configuration.

A reliable setup sequence for a dedicated server

  1. Start or restart the intended dedicated-server instance.
  2. Load the map and game mode in which bots should play.
  3. Open the provider console, server process console or authenticated RCON session.
  4. Set the mode first, then issue bot_quota and bot_quota_mode so later mode loading does not overwrite them.
  5. Run bot_add_t or bot_add_ct for a team-specific spot check.
  6. Observe the scoreboard and server output. Confirm the number of humans and bots matches the meaning of the selected quota mode.
  7. Save the same convars in the persistent configuration and reload according to the host’s procedure.
  8. Reconnect or change level and repeat the check. A setting that works only until restart is not yet persistent.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting: diagnose the symptom

No bot appears after bot_add

  • Wrong console: verify that you are hosting the local session or using a server-admin console. A remote client console cannot control an unrelated server.
  • Team or slot problem: run bot_add_t or bot_add_ct and check whether the requested side has room.
  • Map or mode restriction: confirm the active map, game mode and bot support. Custom maps may lack navigation data required for bots.
  • Stale configuration: change level or restart if the host applies settings only during a reload.
  • Changed command behavior: use the current build’s command help and compare the spelling and syntax with the maintained CS2OpenDev reference.

Bots keep coming back after you kick them

Inspect bot_quota and bot_quota_mode. Fill mode is specifically designed to replenish bots until the requested player total is met, and match mode recalculates bots from the human count. Reduce the quota or change the mode before running bot_kick if you need the removal to remain in effect.

The number of bots is wrong

First identify what the quota means in the active mode. In normal mode it is the bot target; in fill mode it is the desired total number of players; in match mode it is the multiplier in a human-to-bot ratio. Human joins and leaves can therefore change the displayed bot count without any command being issued. Also check the match’s available slots and team limits.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Settings reset after a restart

Move the convars from a one-off console entry into the persistent configuration or startup mechanism for the active server instance. Confirm that the file is loaded after game-mode settings, then restart or change level and test again. If a hosting panel rewrites files, use its documented configuration field instead of editing a generated file that will be replaced.

The console reports an unknown command

Run the command’s help in the current CS2 build and check for spelling, underscores and argument order. Command behavior can change between builds, and a guide written for another version may show obsolete syntax. If the command is absent, verify that you are in CS2 rather than a different game executable or server environment.

Bots spawn but do not move

Check the map’s navigation data and whether the current mode supports bot navigation. A syntactically successful spawn does not guarantee usable paths. Test on a standard map known to support bots; if that works, the custom map or its navigation data is the likely cause.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

Useful command patterns

Quick five-player practice match

bot_quota 5
bot_quota_mode fill

This asks the server to keep five players total, so the bot count falls as humans join.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Five bots regardless of human joins

bot_quota 5
bot_quota_mode normal

This targets five bots, subject to available slots, team rules and mode restrictions.

Scale opponents with human players

bot_quota 2
bot_quota_mode match

This uses the documented one-to-two human-to-bot ratio behavior; the visible count changes with the number of humans.

Reset a practice match

bot_kick
bot_add_t
bot_add_ct

Use this sequence when you want to clear the current bot population and place one bot on each side. If a quota mode is active, it may add additional bots after the manual additions.

Operational checklist

  • Developer console is enabled and opens with the configured key.
  • The command is being sent to the server running the current map.
  • You have host, RCON or provider-console permissions.
  • The map and mode allow bots and provide usable navigation data.
  • bot_add, bot_add_t and bot_add_ct are used for manual additions.
  • bot_quota is understood according to the selected quota mode.
  • bot_kick is not being immediately undone by fill or match behavior.
  • Persistent convars load after any game-mode configuration that could override them.
  • A restart or level change has been performed when the host requires one.
  • The scoreboard and server console have been checked after the reload.

Which setup should you choose?

Choose a local session when you need immediate practice and do not need settings to survive. Choose a dedicated server when other players must reconnect to the same bot rules or when the match should run independently of your game client. Use normal mode for a stable bot target, fill mode for a stable total player count, and match mode for a population that scales with humans. This choice matters more than the individual add command because it determines what happens when players join, leave or restart the server.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.