All CS2/CSGO Commands List

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).
sv_maxspeed
<Speed>
Like the previous console command, it allows you to set the maximum speed players can reach.
Name:
Speed
Description:
The max speed that a player can reach on the specific server. The default is set to 320. A higher number means more speed.
Examples, Generator & More
sv_matchpause_auto_5v5
sv_matchpause_auto_5v5
<0 / 1>
If either team has less than 5 players when the match starts, the game will be automatically paused. The default value is 0. You can set it to “1” to enable it again.
Name:
0 / 1
Description:
Inputting a 0 will not pause the match if less than 5 players are on a team. Input a 1 to pause the match.
Examples, Generator & More
sv_matchend_drops_enabled
sv_matchend_drops_enabled
<0 / 1>
Allows you to determine whether a drop will occur at the end of a CS2 match.
Name:
0 / 1
Description:
Setting this to 0 will disable drops at the end of each match. If you input a 1 it will enable drops on the server.
Examples, Generator & More
sv_mincmdrate
Allows you to adjust your server's tick rate. 128 is the default value in CS2.
Examples, Generator & More
sv_minuptimelimit
<Hours>
Sets the working time for the server to shut down when the amount of RAM you specify with sv_memlimit is exceeded.
Name:
Hours
Description:
The min hours of server uptime before the server can be stopped.
Examples, Generator & More
sv_memlimit
<Megabytes>
This command comes into play when there is a heavy demand on your server and the amount of RAM is exceeded. If the RAM usage level in megabytes you specify is exceeded, the server will automatically shut down at the end of the match.
Name:
Megabytes
Description:
The memory limit. You can set to 0 to disable.
Examples, Generator & More
sv_maxuptimelimit
<Hours>
Allows you to determine the maximum hours that the server can be actively running before shutting itself down completely. The default value is 0 since it is infinite duration.
Name:
Hours
Description:
The maximum amount of time in hours that the server can be allowed to run.
Examples, Generator & More
sv_steamgroup_exclusive
sv_steamgroup_exclusive
<0 / 1 / 2>
You will only allow players in your Steam group to your server. More precisely, players in the Steam group are whitelisted.
Name:
0 / 1 / 2
Description:
You will only allow players in your Steam group to your server. More precisely, players in the Steam group are whitelisted. When the default value is 0, whitelist is not active. 1 is when a member of the Steam group is online., Inputting a 2 will ensure only people from that Steam group can connect.
Examples, Generator & More
sv_max_queries_sec_global
sv_max_queries_sec_global
Sets the rate limit at which your server will respond.
Examples, Generator & More
sv_max_queries_sec
sv_max_queries_sec
Sets the maximum number of queries per second from an IP address.
Examples, Generator & More
sv_max_allowed_net_graph
sv_max_allowed_net_graph
<Value>
egulates the maximum setting limit that can be added to the server with the net_graph command.
Name:
Value
Description:
The default value is 1. If you want the Netgraph command to display more information, you can increase the value.
Examples, Generator & More
servercfgfile
It activates the CFG file that you configured specifically for your server.
Examples, Generator & More
sv_password
<0 / Password>
Allows you to set a password to connect to your server. A value of 0 disables this command.
Name:
0 / Password
Description:
Setting this to 0 will ensure that no password is required to join your server. You can enter a password here to enable a required password for players to join your server.
Examples, Generator & More
sv_shutdown
If you want your server to shut down quickly, you can use this command.
Examples, Generator & More
server_game_time
<Seconds>
This command specifies your server's game time in seconds.
Name:
Seconds
Description:
The amount of time which is in seconds that you want to set your server seconds play time.
Examples, Generator & More
maxplayers
<Amount>
It allows you to set the maximum number of players that can connect to your server.
Name:
Amount
Description:
The number of players you wish that can be on your server at the same time.
Examples, Generator & More
heartbeat
This command will send your server's ping, player count, and other details to the Steam main server. Normally there is no need to use this command. Because it works automatically every 30 minutes.
Examples, Generator & More
changelevel
<Map Codes>
It closes the map you are currently playing and opens the map you have selected instead.
Name:
Map Codes
Description:
The name of the map you want to change to, can be done by using Map Codes.
Examples, Generator & More
Kickid_hltv
<User ID> <Reason>
It is a command that allows you to kick a player with ID or unique ID. If you want, you can add a message by specifying reason at the end of the command.
Name:
User ID
Description:
Input the users ID
Name:
Reason
Description:
You can specify the reason for the ban.
Examples, Generator & More
writeip
Saves the IP addresses of banned players in "banned_ip.cfg".
Examples, Generator & More
writeid
This command saves the IDs of all players you have banned in the game in "banned_user.cfg". In this way, even if you turn off and on the server, bans will continue to be applied indefinitely.
Examples, Generator & More
listip
You will see a list of players you have banned via IP.
Examples, Generator & More
listid
It lists the IDs of the players you have banned from your server so far.
Examples, Generator & More
removeip
<Ip Address>
You unban a player you banned via IP address.
Name:
Ip Address
Description:
The Ip Adresss you want to unban.
Examples, Generator & More
Show entries:

Above 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).

You can type in the name of a specific command to filter that command.

We also have a Command category making it easier for those looking for CSGO commands in a certain category.