Neon amber console graphic for the CS2 practice config generator
CS2 tool

CS2 practice config generator

Pick your map and options, copy the text and paste it into the CS2 console on your own local server. It turns on cheats, grenade previews and unlimited utility so you can repeat a throw until it is automatic.

These commands need sv_cheats 1, so they only work on a server you control. Open the console, load the map with the map command shown in the first lines, then paste the rest. You can also save the text as a .cfg file in the game’s cfg folder and run it with exec.

What each command does

CommandWhat it does
sv_cheats 1Allows cheat commands. Only works on your own server or local game.
mp_limitteams 0Removes the limit on team size difference.
mp_autoteambalance 0Stops the game moving players between teams.
mp_roundtime {roundtime}Sets the round length in minutes.
mp_roundtime_defuse {roundtime}Sets the round length on defuse maps.
mp_freezetime 0Removes the freeze time at round start.
sv_grenade_trajectory_prac_pipreview 1Shows a preview of where the grenade will land.
sv_grenade_trajectory_prac_trailtime 4Keeps the flight path visible for a few seconds.
sv_infinite_ammo 1Ammo and grenades do not run out.
ammo_grenade_limit_total 5Lets you carry up to five grenades.
mp_buy_anywhere 1Lets you buy from anywhere on the map.
mp_buytime 9999Keeps the buy menu available.
mp_maxmoney 60000Raises the money cap.
mp_startmoney 60000Starts you with that money.
sv_showimpacts 1Marks where your bullets hit.
mp_ignore_round_win_conditions 1The round does not end when a team is eliminated.
mp_respawn_on_death_ct 1CTs respawn after dying.
mp_respawn_on_death_t 1Ts respawn after dying.
bot_kickRemoves all bots.
bot_add_ctAdds a bot to the CT side.
bot_stop 1Freezes bots in place.
bot_dont_shoot 1Stops bots from firing.

FAQ

Will this config get me banned?
It is for your own local or private server. Cheat commands do not work on official matchmaking servers.
Why does the trajectory preview not show?
Check that sv_cheats 1 ran first and that you are on your own server.
How do I save it as a file?
Paste the text into a file ending in .cfg inside the game’s cfg folder, then type exec followed by the file name in the console.

Sources