Skip to content

Instantly share code, notes, and snippets.

@nullconfig
Last active May 17, 2026 20:12
Show Gist options
  • Select an option

  • Save nullconfig/b723a3af3578d2f2bdbf5c46197df33b to your computer and use it in GitHub Desktop.

Select an option

Save nullconfig/b723a3af3578d2f2bdbf5c46197df33b to your computer and use it in GitHub Desktop.
CS2 Practice Configuration File

CS2 Practice Config

An offline/local server config for Counter-Strike 2 practice sessions. Enables cheats, infinite money, grenade trajectory helpers, and useful keybinds so you can focus on learning lineups and mechanics without friction.


Setup

  1. Download practice_config.cfg and place it in your CS2 cfg folder:
    Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\
    
  2. Launch CS2 and start an offline/local server (Workshop map or via the Practice with Friends menu).
  3. Open the console (default: `) and run:
    exec practice_config
    

The config applies instantly — no restart needed.


What It Does

Server Settings

Setting Value Effect
sv_cheats 1 Enables cheat commands required by the config
bot_kick Removes all bots on load
mp_autokick 0 Prevents being kicked for inactivity
mp_roundtime / mp_roundtime_defuse 60 min Rounds last 60 minutes
mp_freezetime 2 sec Minimal freeze time at round start
mp_limitteams / mp_autoteambalance 0 No team restrictions
sv_noclipspeed 1200 Fast noclip movement
sv_regeneration_force_on true Passive HP regeneration

Buying

Setting Value Effect
mp_buy_anywhere 1 Buy from anywhere on the map
mp_buytime 9999 Buy at any time during the round
mp_maxmoney / mp_startmoney $60,000 Start with max money each round

Weapons & Ammo

Setting Value Effect
sv_infinite_ammo 2 Infinite reserve ammo (reloading still required)
ammo_grenade_limit_total 6 Carry up to 6 grenades at once

Grenade Trajectory Visualization

Setting Effect
sv_grenade_trajectory 1 Shows grenade flight path
sv_grenade_trajectory_prac_pipreview true Displays pip preview of the throw
sv_grenade_trajectory_prac_trailtime 10 Trail lingers for 10 seconds
sv_grenade_trajectory_time_spectator 8 Spectator trail duration
sv_showimpacts 2 Shows bullet impact markers
sv_showimpacts_time 5 Impact markers last 5 seconds

Keybinds

Key Action
Q Toggle noclip (fly around the map freely)
K Place a bot at your current position
C Re-throw your last grenade

Note: Q is rebound from lastinv (last weapon). If you use Q for weapon switching, rebind noclip to another key by editing the config.


Tips

  • Grenade lineups — Use C to instantly re-throw a grenade without re-buying, and watch the trajectory trail to fine-tune your angles.
  • Positioning bots — Press K to drop a bot exactly where you're standing, useful for simulating player positions or cover.
  • Noclip exploration — Press Q to fly through walls and scout boost spots or angles before practicing them on foot.
  • Reset a round — Run mp_restartgame 1 in the console to reset the round and replenish all grenades/money.
// Toggle Cheats
sv_cheats 1
// Server Settings
bot_kick
mp_autokick 0
mp_warmup_end
mp_freezetime 2
mp_roundtime 60
mp_limitteams 0
mp_autoteambalance 0
mp_restartgame 1
mp_roundtime_defuse 60
mp_team_intro_time 0
sv_noclipspeed 1200
sv_regeneration_force_on true
// Buying
mp_buy_anywhere 1
mp_buytime 9999
mp_maxmoney 60000
mp_startmoney 60000
// Weapons
ammo_grenade_limit_total 6
sv_infinite_ammo 2
// Nade Practice
sv_grenade_trajectory 1
sv_grenade_trajectory_prac_pipreview true
sv_grenade_trajectory_time_spectator 8.000000
sv_grenade_trajectory_prac_trailtime 10
sv_grenade_trajectory_prac_pipereview 1
sv_showimpacts 2
sv_showimpacts_time 5
// Binds
bind "q" "noclip"
bind "k" bot_place 1
bind "c" sv_rethrow_last_grenade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment