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!
When set to 1, this command enforces that every client connected to the server uses files that match the server's. Clients listed in pure_server_whitelist.txt are exempt from this check.
Set whether players who fail the sv_pure file check are kicked or just warned. When enabled (1), clients with modified or different files are kicked. When disabled (0), those clients receive only a warning.
Set to 1 to print a message to the server console whenever the server verifies a client's file using CRC, helping you track file checks. Set to 0 to disable these messages.
Sets the maximum distance for Potentially Visible Set (PVS) and Potentially Audible Set (PAS) checks to help optimize network performance and control what objects and sounds can be detected in the game.