CS2 Console Commands — Full List & Practice Cfg
CS2 console commands let you practise, set up a server and test — from noclip and infinite ammo to bot control and grenade trajectories. Here's the list that matters, plus a ready practice config. Most cheat commands need sv_cheats 1, which only works on your own server.
Turn on the developer console in Settings → Game, then open it with ~. Cheat-style commands need sv_cheats 1, which only works on your own server or a private practice server — not on official matchmaking.
Core cheat commands (need sv_cheats 1)
| Command | What it does |
|---|---|
sv_cheats 1 | Enable cheat commands (your server only). |
noclip | Fly through walls and objects. |
buddha 1 | Take damage but never drop below 1 HP (replaces the old god). |
god | Full invulnerability (where supported). |
impulse 101 | Give max money (16000), full armor and every grenade. |
give weapon_ak47 | Spawn a weapon (e.g. weapon_awp, weapon_deagle). |
Practice & aim commands
| Command | What it does |
|---|---|
sv_infinite_ammo 1 | Never run out of ammo or need to reload. |
ammo_grenade_limit_total 5 | Carry all grenade types at once. |
sv_grenade_trajectory 1 | Draw the flight path of thrown grenades. |
sv_grenade_trajectory_time 10 | How long the trajectory line stays. |
sv_showimpacts 1 | Show bullet impact markers (spray practice). |
cl_pitch_speed / bind noclip | Bind noclip to a key for fast movement. |
Bot commands
| Command | What it does |
|---|---|
bot_add / bot_add_t / bot_add_ct | Add a bot (to a team). |
bot_kick | Remove all bots. |
bot_stop 1 | Freeze bots in place. |
bot_place | Teleport a bot to your crosshair. |
bot_difficulty <0-3> | Set bot skill (0 easy … 3 expert). |
bot_mimic 1 | Bots mirror your movement. |
Match & server flow
| Command | What it does |
|---|---|
mp_restartgame 1 | Restart the match after 1 second. |
mp_warmup_end | End warmup immediately. |
mp_warmuptime <seconds> | Set warmup length. |
mp_buytime 9999 | Buy any time (practice). |
mp_buy_anywhere 1 | Buy anywhere on the map (practice). |
mp_maxmoney 60000 ; mp_startmoney 60000 | Unlimited buy money (practice). |
A ready practice config
Paste this into the console on your own server (or save it as a .cfg and exec it) for a solo grenade/aim practice setup:
sv_cheats 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10
sv_showimpacts 1
mp_buytime 9999
mp_buy_anywhere 1
mp_maxmoney 60000
mp_startmoney 60000
mp_freezetime 0
mp_roundtime 60
mp_restartgame 1
bot_kick
These commands need sv_cheats 1, so they only work on your own server or a private practice server — never on official matchmaking, where they're disabled and using workarounds risks a ban. Keep them to practice and your own community servers.
View, HUD & demo commands
| Command | What it does |
|---|---|
cl_showfps 1 | Show a simple FPS counter. |
cq_netgraph 1 | Show the net graph (ping, loss, tick info). |
cl_draw_only_deathnotices 1 | Hide the HUD except kill feed (for recording, needs sv_cheats). |
demoui | Open the demo playback UI (for reviewing recorded demos). |
record <name> / stop | Record / stop recording a demo. |
spec_show_xray 1 | See players through walls in demos/GOTV (spectator). |
Related CS2 guides
Running your own server? See how to make a CS2 server, configure it with best CS2 server settings, add plugins via how to install CS2 plugins, and cut latency with how to reduce ping in CS2.
Counter-Strike, Steam, VAC and the Source engine are trademarks of Valve Corporation. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by Valve. You must own a legitimate copy of the game.
CS2 hosting with full console access
Our CS2 hosting gives you RCON, console access and mode presets — run practice configs, plugins and your own server the easy way.
Frequently asked questions
How do I enable the console in CS2?
Turn on the developer console in Settings → Game, then open it with the ~ (tilde) key. From there you can type console commands.
Why don't my CS2 cheat commands work?
Most (noclip, give, infinite ammo) need sv_cheats 1, which only works on your own server or a private practice server. They're disabled on official matchmaking, so they won't work there.
What replaced the god command in CS2?
buddha 1 is the practical replacement — you still take damage but never drop below 1 HP. The classic god (full invulnerability) works where supported, but buddha is the common practice choice.
How do I set up a CS2 practice server for grenades?
On your own server run sv_cheats 1, sv_infinite_ammo 1, sv_grenade_trajectory 1, sv_showimpacts 1, mp_buy_anywhere 1 and mp_buytime 9999 — or paste the ready practice config above. It gives you infinite nades with visible trajectories.
How do I add or remove bots in CS2?
bot_add (or bot_add_t / bot_add_ct for a team) adds a bot; bot_kick removes all bots; bot_stop 1 freezes them; bot_difficulty 0-3 sets their skill. Handy for aim and scenario practice.
Will using console commands get me banned in CS2?
On your own or a practice server, no — that's their intended use. On official matchmaking, cheat commands are disabled and trying to force them (or using external tools) risks a VAC ban. Keep them to practice and community servers.
How do I give myself a specific weapon in CS2?
With sv_cheats 1 on, give weapon_<name> spawns it — for example give weapon_ak47, give weapon_awp or give weapon_deagle. impulse 101 instead gives max money, full armor and all grenades at once.
How do I practice grenades with trajectory lines in CS2?
On your own server: sv_cheats 1, then sv_grenade_trajectory 1 (draw the flight path), sv_grenade_trajectory_time 10 (how long it stays), sv_infinite_ammo 1 and ammo_grenade_limit_total 5 so you can throw every nade repeatedly. The practice config above bundles these.
How do I add bots to a specific team in CS2?
bot_add_t adds a bot to the T side and bot_add_ct to the CT side (bot_add picks automatically). bot_stop 1 freezes them, bot_place teleports one to your crosshair, and bot_difficulty 0-3 sets their skill. bot_kick removes them all.
How do I make a private CS2 server for just my friends?
Set an sv_password in your server.cfg (or console) so only people with the password can join, keep sv_lan 0 for an online server, and share the connect IP. Add a GSLT if you also want it listed publicly.
Go deeper on this
Guides and explainers that pair with this fix — from our guides and blog.
Best CS2 Server Plugins
Metamod, CounterStrikeSharp and MatchZy — retakes, pugs and practice.
ReadDoes SourceMod Work on CS2?
The short answer is no — here is what to use instead.
ReadWhat Is Tick Rate?
Why 64 vs 128 tick decides how the game feels.
ReadWhat Is Netcode?
Why your shots do not always register, explained.
ReadRelated articles
Garry's Mod Admin Commands — ULX Full List
Every Garry's Mod admin command via ULX — kick, ban, slay, god, noclip, bring/goto, freeze, gag, mute, jail and user groups. Full reference.
Read fix Shooters & VoiceSquad Admin & RCON Commands — Full List
Every Squad admin command that matters — kick/ban, change layer, broadcast, restart match, list players, slomo — from the in-game console or RCON. Full reference.
Read fix Shooters & VoiceCS 1.6 5v5 Mix Server — Competitive Match Setup
Run proper 5v5 mixes on CS 1.6 — knife round, team pick, ready-up and match management with a mix plugin on a low-ping server. Setup and hosting.
Read fix