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!
Use this command to restrict server access based on your Steam group's membership. By default, it is disabled and allows everyone to join. Adjust the settings below to control who can connect.