Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).
How to Use CS:GO & CS2 Commands
First, turn on the developer console. Go to Settings > Game Settings and switch "Enable Developer Console" to Yes.
Press the ` or ~ key on your keyboard to open the console.
Type in a command, or copy it from here, hit ENTER, and you’re good to go!
Set bots to ignore or detect players. When enabled (1), bots will not see or react to human players. When disabled (0), bots behave normally and can detect players.
Sets the team that bots join when added to the server using the "bot_add" command. Choose Terrorist (T), Counter-Terrorist (CT), or have bots join randomly.
Use this console command to kick bots from the server. You can remove all bots, bots from a specific team, or bots by difficulty or name by specifying the appropriate option.
Change the maximum sight range for bots. When enabled, bots can see players from much farther away than usual, or revert to the default vision range when disabled.