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).
banip
It allows you to ban any user based on their IP. If you set the minute to "0" again, the ban will become permanent.
Examples, Generator & More
banid
<Minutes> <User ID>
You ban a player playing on your server based on their Steam ID or player ID. If you set the minute to 0, that player will be banned indefinitely
Name:
Minutes
Description:
The number of minutes you wish to ban the user from your server.
Name:
User ID
Description:
The specific User ID of the user you wish to ban. You can find the ID of the user by inputting 'status' into the console. The id is the players number before the username in the list of all players.
Examples, Generator & More
sv_banid_enabled
<0 / 1>
With this command, you can set whether the "banid" command will be used to ban players in (CS2 only)
Name:
0 / 1
Description:
Enables or disables the banid feature
Examples, Generator & More
connect
<IP address>
It allows you to connect to any CS2 server whose IP address you know.
Name:
IP address
Description:
Input the IP address of the server you wish to connect.
Examples, Generator & More
cl_timeout
<Seconds>
Determines the time you wait before disconnecting your server.
Name:
Seconds
Description:
You can choose a number between 4 and seconds.
Examples, Generator & More
sv_skyname
<Skybox Code>
This command allows you to change your client's skybox. Specify the desired skybox's code to apply that skybox. Let's take a look at exactly how to put it into practice.
Name:
Skybox Code
Description:
Skybox Names Codes:

cs_baggage_skybox_
cs_tibet
embassy
italy
jungle
office
sky_cs15_daylight01_hdr
sky_cs15_daylight02_hdr
sky_cs15_daylight03_hdr
sky_cs15_daylight04_hdr
sky_day02_05
nukeblank
sky_venice
sky_csgo_cloudy01
sky_csgo_night02
sky_csgo_night02b
vertigo
vertigoblue_hdr
sky_dust
vietnam
Examples, Generator & More
mp_chasecam
<0 / 1>
Players who die are restricted to ghost mode. They can never move around the map.
Name:
0 / 1
Description:
0 to disable 1 to enable.
Examples, Generator & More
rcon mp_hostagepenalty
rcon mp_hostagepenalty
You can determine the maximum number of hostages you can kill on hostage maps with this command.
Examples, Generator & More
rcon mp_limitteams
rcon mp_limitteams
This command sets the maximum number of players in a team after setting auto balance.
Examples, Generator & More
rcon mp_logmessages
rcon mp_logmessages
The conversations of everyone chatting on the server are recorded in the server log.
Examples, Generator & More
rcon mp_winlimit
You can set the number of turns required for the map to change with this command.
Examples, Generator & More
rcon changelevel
It will instantly launch any map you choose on your server. By using Map Codes.
Examples, Generator & More
sv_visiblemaxplayers
sv_visiblemaxplayers
<Amount>
This command sets the total number of people you can play the game with on the map.
Name:
Amount
Description:
The maximum amount of players that are available to players in the server browser.
Examples, Generator & More
rcon_password
<Password>
If you want to send commands to a server without restrictions, first you need to use the rcon_password command to authenticate yourself for Remote Control.
Name:
Password
Description:
You can set your password for Rcon on your server.
Examples, Generator & More
sv_airaccelerate
<Acceleration>
Thanks to the sv_airaccelerate command, you can define how fast or slow you accelerate when in the air, allowing you to further customize your gameplay experience.
Name:
Acceleration
Description:
The amount of acceleration in the air. The default is 12.
Examples, Generator & More
sv_vote_kick_ban_duration
sv_vote_kick_ban_duration
<Minutes>
It is a command that allows you to define the ban duration for vote kicked players. It’s expressed in minutes, and it can only be used by server hosts and admins, as it’s only executed on the server side.
Name:
Minutes
Description:
The time a ban is active from a vote kick in minutes.
Examples, Generator & More
sv_gravity
<Gravity>
It is a command that allows you to set the world’s gravity, making it as strong or as weak as you wish. You only need to type in sv_gravity with your chosen value and the world’s gravity will change accordingly.
Name:
Gravity
Description:
The amount of Gravity in the server. The default is 800.
Examples, Generator & More
sv_consistency
<0 / 1>
This command toggles whether your server will check if a user joining it matches your server’s files or if they are consistent. Below, you will learn all about this command, to bring you a solid foundation so you can use it without problems.
Name:
0 / 1
Description:
The default value of the sv_consistency command is “0”, which is set as “false”. It means the server won’t check for the consistency of critical files when a new user joins it. As we have previously mentioned, it only accepts two values, hence the value for true is “1”.
Examples, Generator & More
kick
<Player Name>
It is a command that triggers the expulsion of a player from a CS2 (CS:GO) match. This command only requires you to type in “kick” in the console followed by the name of the player you want to kick from the match.
Name:
Player Name
Description:
Input the players name who you would like to remove.
Examples, Generator & More
sv_maxrate
<Bytes/s>
It is a command that allows you to set up the maximum rate of incoming and outgoing bandwidth per second, which is vital when configuring a private server. Its only argument is your preferred number of bytes per second.
Name:
Bytes/s
Description:
The max bandwidth rate, which is in bytes per second. You can disable this by using 0.
Examples, Generator & More
sv_maxvelocity
<Speed>
The CSGO velocity command - sv_maxvelocity - allows you to define the maximum velocity moving objects can reach in the game. For example, you can make them move 50% slower or 100% faster, all by fine tuning its numeric argument, to obtain the desired result.
Name:
Speed
Description:
Input the maximum speed of the velocity. The default value is 3500.
Examples, Generator & More
host_writeconfig
<Config File>
This command will allow you to save all your server settings, that you can set with the host_commands to your config. cfg. This will be applied when the server restarts.
Name:
Config File
Description:
This will be saved to your config.cfg if it is not specified. The name of the config file which will save the settings.
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.