Commands for CS2 practice server
Whether you want to practice smoke lineups or explore new tricks with your teammates, these training commands will help you set up a custom server.
CS2 has made it very easy to launch a private server but you might want to customize the settings to fit your specific needs.
Download the CS LAB practice config if you want to load the server settings directly from the console.
Place the config file in the following folder:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
Create a CS2 practice server
- From the main menu click on Play
- Select Practice and choose Casual
- Turn on Infinite Warmup to start the map without bots
- Select the map you want to play and press Go.
To load the practice config, open the console and type exec cs2practice.
List of useful practice server commands
The following is a list of all useful commands used in the CS LAB practice config.
sv_cheats 1
This command allows cheat codes to be used on the practice server.
sv_infinite_ammo 1
This command gives you limitless ammunition and eliminates the need to reload.
sv_grenade_trajectory_prac_pipreview 1
This command gives you a preview of where the grenade will land.
sv_grenade_trajectory_prac_trailtime 15
This command draw and show the grenade trajectory line for 15 seconds
sv_grenade_trajectory_time_spectator 15
This command draw and show the grenade trajectory line for 15 seconds for any spectators
sv_rethrow_last_grenade
This command automatically rethrows the last grenade used without you needing to stay in the same position.
ammo_grenade_limit_total 5
This command lets you carry all five grenades at once.
mp_roundtime 60
This command sets the number of minutes before a round is won/lost to 60 minutes.
mp_roundtime_defuse 60
This command sets the maximum round time on any defusal map to 60 minutes.
mp_maxmoney 60000
This command lets you carry up to 60000 dollars.
mp_startmoney 60000
This command gives you 60000 dollars at the beginning of the game.
mp_freezetime 0
This command eliminates the time you are frozen in spawn, allowing you to move as soon as the round begins.
mp_warmup_end 0
This command forces the warmup period to end, immediately starting the game.
mp_buytime 9999
This command lets you access the buy menu for 9999 seconds or 166 minutes.
mp_buy_anywhere 1
This command lets you purchase weapons and grenades from any location on the map.