Server commands
banid
CS:GO
More
banid [Minutes] [User ID]
This command will ban the user with the specified ID from the server, and add them to the banlist so that they cannot reconnect. The user ID of a user can be obtained by typing status into the console: the user ID is first number before a player's name in the list of players that is printed by that command.
changelevel
CS2 & CS:GO
More
changelevel [Map Name]
This command is used to change the map you're playing on.
changelevel2
CS:GO
More
changelevel2 [Map Name]
This command changes the map you're playing on into a single player instance. Doing this can cause the map you're trying to load into to freeze.
cl_hideserverip
CS:GO
More
cl_hideserverip [0 / 1]
This console command is used to hide the IP of your server in your console. This is particularly useful if you're streaming and don't want viewers to be able to catch your IP address, giving them the chance the DDoS the server.
cl_timeout
CS2 & CS:GO
More
cl_timeout [Seconds]
This network command is used to determine how many seconds your client will wait without receiving a packet from the server before disconnecting itself.
cl_updaterate
CS:GO
More
cl_updaterate [Packets p/second]
This command is used to set the number of packets per second of updates you request from the server.
cl_upspeed
CS:GO
More
cl_upspeed [Upspeed]
This command controls your upspeed. The default value for this is 320.
connect
CS2 & CS:GO
More
connect [IP]
This console command allows you to easily connect to other CS:GO servers if you know the server's IP address.
disconnect
CS2 & CS:GO
More
disconnect
This command will disconnect you from your current game and return you to the home screen (including offline games with bots, scenarios, etc).
heartbeat
CS:GO
More
heartbeat
This command will force a heartbeat of master servers.
host_filtered_time_report
CS:GO
More
host_filtered_time_report
This command only works on dedicated servers. It will time the amount of time that was spent idle in the previous frame (ms).
host_flush_threshold
CS:GO
More
host_flush_threshold [Threshold]
This command will set the memory theshold for the which host should flush caches between server instances. When below this value, the caches will be flushed.
host_framerate
CS2 & CS:GO
More
host_framerate [Framerate]
This command will change the "frame rate" of the host (server). Lower numbers will mean time passes faster, higher numbers will mean time passes slower. Set to 0 to disable.
host_info_show
CS:GO
More
host_info_show [0 / 1 / 2]
This command can be used to change the amount of information that is shown when your server is queried (e.g. by server lists, the community server browser, etc). See argument information for options. 1 is the default setting for this command.
host_map
CS:GO
More
host_map
This command will print to console the name of the map you are currently playing on. This can also be used to change the "host_map" that appears in server queries if you provide a map name as an argument.
host_name_store
CS:GO
More
host_name_store [0 / 1]
This command will set whether or not the server's hostname is recorded in game events and on GOTV (demos and live).
host_players_show
CS:GO
More
host_players_show [0 / 1 / 2]
This command will set how the playercount is disclosed when your server is queried. See argument information for options.
host_reset_config
CS:GO
More
host_reset_config
This command will reset your host's config. NOTE: You cannot undo the effect of this command, so make sure to save your host's config before using this.
host_rules_show
CS:GO
More
host_rules_show [0 / 1]
This command can be used to set whether or not your server rules show when your server is queried. Default is enabled (1).
host_runofftime
CS:GO
More
host_runofftime
This command will make the server run off some time without rendering and updating sounds.
host_sleep
CS:GO
More
host_sleep [Milliseconds]
This command will make the server sleep for the specified amount of milliseconds after each frame. Set to 0 to disable (default).
host_timer_report
CS:GO
More
host_timer_report
This command would print out the CPU timer's jitter for the last 128 frames.
host_timescale
CS2 & CS:GO
More
host_timescale [Multiplier]
This can be used to speed up and slow down the speed of time on the server. In otherwords, you can make things go in slow motion or speed the server up with this command.
host_workshop_collection
CS:GO
More
host_workshop_collection [Workshop ID]
This command will get the latest version of the specified workshop collection ID and set the maps in that collection as the server's map list.
host_workshop_map
CS:GO
More
host_workshop_map [Workshop ID]
This command will get the latest version of the workshop map with the specified ID (the ID is the numbers at the end of the workshop URL) and set it as your server's map.
host_writeconfig
CS2 & CS:GO
More
host_writeconfig [Config File]
This command will save all of your server settings that you have set with host_ commands to your config.cfg, so that they apply even when the server restarts.
hostage_debug
CS2 & CS:GO
More
hostage_debug [0 / 1]
This command can be used to enable hostage AI debug information. Default is 0 (disabled).
hostfile
CS2 & CS:GO
More
hostfile [File Name]
This command can be used to set the hosts file (default is hosts.txt). If no argument is specified, this command will print to console the name of the hosts file the server is currently using.
hostip
CS2 & CS:GO
More
hostip [IP] [hostip 0.0.0.0] [hostip localhost]
This command can be used to assign the server an IP to run on. If not, the IP 0.0.0.0 (bind to all available) will be used.
hostname
CS2 & CS:GO
More
hostname [Hostname] [hostname mycsgoserver.com]
The hostname for the server to use (this is your server domain).
hostport
CS2 & CS:GO
More
hostport [Port] [hostport 27015] [hostport 26123]
The port your server should run on. We recommend you keep this as default. You can run multiple servers on the same IP address if you change this port to a port that isn't in use.
ip
CS2 & CS:GO
More
ip
This console command is used to override the IP if you are in a server that has multiple hosts. This does not show your IP in console; to do that use the command status .
ip_steam
CS:GO
More
ip_steam [IP]
This command is used to override the IP that binds Steam profiles on servers with multiple hosts.
kick
CS2
More
kick
Kick a player by name.
kickid
CS2
More
kickid
Kick a player by userid or uniqueid, with a message.
kickid_hltv
CS2
More
kickid_hltv
Kick a player by userid or uniqueid, with a message.
kill
CS2
More
kill
Kills the player with generic damage.
listid
CS:GO
More
listid
Use this command in your console to print a list of the user IDs that are currently banned from the server you're on.
listip
CS:GO
More
listip
Use this command in your console to print a list of the IP addresses that are currently banned on the server you're on.
maxplayers
CS:GO
More
maxplayers [Amount]
This command sets the maximum amount of players that can connect to your server (i.e. the player cap).
mp_autokick
CS2 & CS:GO
More
mp_autokick [0 / 1]
This command sets whether or not the auto kick feature should be enabled. The auto kick feature kicks people for being idle (AFK) and team damage. Default is 1 (enabled).
ping
CS:GO
More
ping
This command prints to the console your current ping (to the server you're connected to).
rate
CS2 & CS:GO
More
rate [Rate (Bytes/s)]
This command sets the rate at which your client can receive network data in bytes. Set this to a lower value if you have a bad internet connection.
rcon
CS2 & CS:GO
More
rcon [Command]
This command will issue the specified rcon command (i.e. issues the specified command on your server). Rcon means remote console - it allows you to execute server commands from the client.
rcon_address
CS2 & CS:GO
More
rcon_address [IP Address]
The IP address of the remote console you wish to connect to (default is the address of your own server). Change this only if the rcon address for the server you are connected to is different from the server's IP.
rcon_password
CS2 & CS:GO
More
rcon_password [Password]
This command will authenticate you for rcon with the specified password.
removeallids
CS:GO
More
removeallids
This command unbans all players from your current server.
removeid
CS:GO
More
removeid [Steam ID]
This command removes the specified user ID from your server's ban list.
removeip
CS:GO
More
removeip [IP Address]
This command removes the specified IP address from your server's ban list.
retry
CS:GO
More
retry
This command will make you attempt to reconnect to the last server you were connected to.
server_game_time
CS:GO
More
server_game_time [Seconds]
This command sets your server's game time (curtime) to the specified time in seconds.
servercfgfile
CS2 & CS:GO
More
servercfgfile [Config File Name]
This command sets your server's config file to the specified config file.
sv_matchend_drops_enabled
CS2 & CS:GO
More
sv_matchend_drops_enabled [0 / 1]
This command sets whether or not drops at the end of the match are enabled. Rewards gameplay time is accumulated regardless.
sv_matchpause_auto_5v5
CS2 & CS:GO
More
sv_matchpause_auto_5v5 [0 / 1]
This command, if enabled, will automatically pause the match at the end of a round if the are less than 5 players on each team. Default is 0 (disabled).
sv_max_allowed_net_graph
CS2 & CS:GO
More
sv_max_allowed_net_graph [Value]
This command sets the maximum value players can set their net_graph to on the server. Default is 1. Higher values show more information.
sv_max_queries_sec
CS2 & CS:GO
More
sv_max_queries_sec
This command sets the maximum amount of queries per second that will be responded to from the same IP address.
sv_max_queries_sec_global
CS2 & CS:GO
More
sv_max_queries_sec_global
This command sets the maximum amount of queries per second that the server will responsd to.
sv_max_queries_tracked_ips_max
CS:GO
More
sv_max_queries_tracked_ips_max [Amount]
The command sets the maximum amount of IPs that will be saved/logged for query-related rate limiting.
sv_max_queries_tracked_ips_prune
CS:GO
More
sv_max_queries_tracked_ips_prune [Seconds]
This command sets how often, in seconds, the tracked IPs for query rate limiting will be pruned.
sv_max_queries_window
CS2 & CS:GO
More
sv_max_queries_window [Seconds]
The time window, in seconds, that average queries per second should be calculated over.
sv_maxrate
CS2 & CS:GO
More
sv_maxrate [Bytes/s]
This command sets the maximum bandwidth rate allowed (both incoming/outcoming) per second (in bytes) for each connection to the server.
sv_maxspeed
CS2 & CS:GO
More
sv_maxspeed [Speed]
This command sets the maximum speed for each player on the server. A higher value will allow players to reach faster speeds. A lower value will make players be able to reach lower speeds.
sv_maxuptimelimit
CS:GO
More
sv_maxuptimelimit [Hours]
This command sets the maximum amount of time, in hours, that a server can run for before shutting itself down. Default is 0 (no limit).
sv_maxusrcmdprocessticks
CS:GO
More
sv_maxusrcmdprocessticks [Ticks]
This command sets the maximum amount of ticks that can be processed per second when a user is catching up as a result of packet loss.
sv_maxvelocity
CS2 & CS:GO
More
sv_maxvelocity [Speed]
This command sets the maximum speed any moving object in the game can reach. Default is 3500. Use sv_maxspeed for player speed.
sv_memlimit
CS2 & CS:GO
More
sv_memlimit [Megabytes]
This command, if set, will shutdown the server at the end of a game if the amount of memory it is using is above this amount in megabytes. Note that this doesn't limit memory during the game, it will only shut down the server at the end of the match if it is exceeding this amount. Set to 0 to disable.
sv_mincmdrate
CS:GO
More
sv_mincmdrate [Tick Rate]
This command sets the server's minimum tick rate. This can be used to change the server to 128 tick, in combination with the sv_minupdaterate command. Default is 64 tick.
sv_minrate
CS2 & CS:GO
More
sv_minrate [Bytes/s]
This command sets the minimum bandwidth rate that is allowed for clients connected to the server. Default is 16,000. 0 disables the limit.
sv_minupdaterate
CS:GO
More
sv_minupdaterate [Tick Rate]
This command sets the minimum update rate for the server. This can be used in combation with the sv_mincmdrate command to change the server's tick rate (e.g. to 128 tick).
sv_minuptimelimit
CS:GO
More
sv_minuptimelimit [Hours]
This commands sets the minimum uptime hours required for the server to be stopped due to a memory amount above the amount set by sv_memlimit. Default is 0 (disabled).
sv_noclipaccelerate
CS2 & CS:GO
More
sv_noclipaccelerate [Multiplier]
This command sets the acceleration multiplier for noclip mode. With this set to 5 (default) you accelerate 5 times as fast.
sv_noclipduringpause
CS2 & CS:GO
More
sv_noclipduringpause [0 / 1]
This command sets whether or not you can move around during puases when in noclip mode. Default is 0 (not allowed).
sv_noclipspeed
CS2 & CS:GO
More
sv_noclipspeed [Multiplier]
This command sets the speed multiplier for noclip mode. With this set to 5 (default) you can reach speeds 5 times as fast as those set by sv_maxspeed.
sv_party_mode
CS2 & CS:GO
More
sv_party_mode [0 / 1]
This command can be used to enable (1) or disable (0) party mode. When in party mode, bombs and tasers will shoot confetti. By default, this setting is disabled.
sv_password
CS2 & CS:GO
More
sv_password [0 / Password]
This command can be used to set a password required to connect to the server. Set to 0 to disable.
sv_pausable
CS2 & CS:GO
More
sv_pausable [0 / 1]
This command, if set to 1, will make the server pausable. By default this is set to 0 (server isn't pausable). If the server is pausable, users can type "pause" or "unpause" into the console to pause/resume the game.
sv_precacheinfo
CS:GO
More
sv_precacheinfo
This command prints to the console precache information.
sv_pure
CS2 & CS:GO
More
sv_pure [0 / 1]
This command, if set to 1, will make it so that the files of every client connected to the server have to match the server's files. Those in the pure_server_whitelist.txt file aren't checked.
sv_pure_consensus
CS:GO
More
sv_pure_consensus [Amount]
This command sets the minimum number of file hashes that have to be agreed in order to form a consensus.
sv_pure_kick_clients
CS2 & CS:GO
More
sv_pure_kick_clients [0 / 1]
This command, if set to 1, will kick players who fail the sv_pure check (have different files). This is set to 1 by default. Set to 0 to issue a warning instead of kick.
sv_pure_listfiles
CS:GO
More
sv_pure_listfiles
This command lists the server files that are checked with the client's files (for sv_pure 1).
sv_pure_retiretime
CS:GO
More
sv_pure_retiretime [Seconds]
This command sets the amount of time, in seconds, the server should have in idle time before the sv_pure file hash cache is cleared.
sv_pure_trace
CS2 & CS:GO
More
sv_pure_trace [0 / 1]
This command, if set to 1, will make the server print a message to console whenever trying to verify a CRC for a file.
sv_querycache_stats
CS:GO
More
sv_querycache_stats
This command prints to console statistics about the query cachhe, including the amount of queries in the cache, the amount missed, and free space.
sv_rcon_whitelist_address
CS:GO
More
sv_rcon_whitelist_address [IP Address]
This command can set an IP address to whitelist from rcon failed authentication bans. Failed authentication bans are bans issued when you get the rcon password wrong too many times - the IP address this is set to will never be banned for this reason.
sv_regeneration_force_on
CS2 & CS:GO
More
sv_regeneration_force_on [0 / 1]
This command turns on regenerative health, if it is set to 1. Default is disabled (0).
sv_region
CS2 & CS:GO
More
sv_region [Region #]
This command sets the server's region (that shows in queries, etc) to the specified region. See argument information for regions.
sv_reliableavatardata
CS:GO
More
sv_reliableavatardata [0 / 1 / 2]
This command sets how players avatars are exchanged. Default is 0 (Steam). See argument information for help.
sv_reservation_timeout
CS:GO
More
sv_reservation_timeout [Seconds]
This command sets the amount of time, in seconds, before a lobby reservation expires.
sv_search_key
CS2 & CS:GO
More
sv_search_key [Key]
This command sets the search key for dedicated servers you search for when in a lobby. Only servers with keys that match this key will be returned from the search. Set to 0 to disable.
sv_server_verify_blood_on_player
CS2 & CS:GO
More
sv_server_verify_blood_on_player [0 / 1]
This command sets whether or not blood splatters should be verified with the server. Default is 1 (enabled).
sv_show_cull_props
CS:GO
More
sv_show_cull_props [0 / 1]
This command, if enabled (1), prints a list of props that are being culled. By default this is set to 0 (disabled).
sv_showimpacts
CS2 & CS:GO
More
sv_showimpacts [0 / 1 / 2 / 3]
This command can be used to show bullet impacts. Bullet impacts are shown as colored squares at the location your bullets collided with something (e.g. a player, a wall). See argument information for help.
sv_showimpacts_penetration
CS2 & CS:GO
More
sv_showimpacts_penetration [0 / 1]
This command, if enabled (1), shows extra information at the impact locations when sv_showimpacts is on. Default is disabled (0).
sv_showimpacts_time
CS2 & CS:GO
More
sv_showimpacts_time [Seconds]
This command sets the amount of time, in seconds, that bullet impact squares show for before they are removed. Default is 4 seconds.
sv_showlagcompensation
CS:GO
More
sv_showlagcompensation [0 / 1]
This command enables (if set to 1) the lag compensated hitboxes of players. Default is 0 (disabled).
sv_showtags
CS:GO
More
sv_showtags
This command prints to console the current server's public and private gametags.
sv_shutdown
CS2 & CS:GO
More
sv_shutdown
This command will make the server shutdown after the current match (and any in queue) have ended.
sv_skyname
CS2 & CS:GO
More
sv_skyname [Skybox Code]
This can be used to change your client's skybox. Specify the name of a skybox to apply that skybox. See argument information for skybox names.
sv_soundemitter_reload
CS:GO
More
sv_soundemitter_reload
This command flushes the sounds.txt system.
sv_spawn_afk_bomb_drop_time
CS2 & CS:GO
More
sv_spawn_afk_bomb_drop_time [Seconds]
This command sets the amount of time, in seconds, that a player much be AFK for in order for the bomb to be dropped.
sv_spec_hear
CS2 & CS:GO
More
sv_spec_hear [0 - 4]
This command sets which voice communications spectators can hear. Seea rgument information for help.
sv_specaccelerate
CS2 & CS:GO
More
sv_specaccelerate [Multiplier]
This command sets the acceleration multiplier for spectators in noclip mode.
sv_specnoclip
CS2 & CS:GO
More
sv_specnoclip [0 / 1]
This command, if set to 1, enables noclip mode for spectators. Default is 1 (eabled).
sv_specspeed
CS2 & CS:GO
More
sv_specspeed [Multiplier]
This command sets the speed multiplier for spectators in noclip mode.
sv_staminajumpcost
CS2 & CS:GO
More
sv_staminajumpcost [Penalty]
This command sets the stamina penalty you receive after jumping. The stamina penalty reduces your movement speed by this percentage (0.08 = 8%).
sv_staminalandcost
CS2 & CS:GO
More
sv_staminalandcost [Penalty]
This command sets the stamina penalty you receive after landing from a jump. The amount given is the percentage your speed is reduced by. 1 = you speed is reduced by 100%, 0.5 = 50%.
sv_staminamax
CS2 & CS:GO
More
sv_staminamax [Maximum]
This command sets the maximum stamina penalty that you can receive. After reaching this value, your stamina penalty will not go any higher. Default is 80.
sv_staminarecoveryrate
CS2 & CS:GO
More
sv_staminarecoveryrate [Units/s]
This command sets the rate at which your stamina recovers (in units per second). Default is 60.
sv_steamgroup
CS2 & CS:GO
More
sv_steamgroup [Group ID]
This command sets the offical Steam group of the server. The ID can be found in your group's admin profile page.
sv_steamgroup_exclusive
CS2 & CS:GO
More
sv_steamgroup_exclusive [0 / 1 / 2]
This command can be used to whitelist your server to only those in the server's Steam group (sv_steamgroup). Default is 0 (no whitelist). See argument information for settings.
sv_stopspeed
CS2 & CS:GO
More
sv_stopspeed [Speed]
This command sets the speed at which your player stops moving completely. When a player's speed is below this value, they will stop moving.
sv_tags
CS2 & CS:GO
More
sv_tags [Tags]
This command sets the server's tags that show in the community server browser. Separate each tag with a comma.
sv_visiblemaxplayers
CS2 & CS:GO
More
sv_visiblemaxplayers [Amount]
This command can be used to set a "maximum players" number that's visible to people in the server browser and server queries. This number is only for show, and the actual maximum number of players that can join is set by the "maxplayers" command.
sv_voiceenable
CS2 & CS:GO
More
sv_voiceenable [0 / 1]
This command sets whether or not voice is enabled on the server. Default is 1 (enabled).
sv_vote_allow_in_warmup
CS2 & CS:GO
More
sv_vote_allow_in_warmup [0 / 1]
This command sets whether or not votes (e.g. vote to kick) are allowed during the warmup. Default is 0 (disabled).
sv_vote_allow_spectators
CS2 & CS:GO
More
sv_vote_allow_spectators [0 / 1]
This command sets whether or not votes (e.g. vote for timeout) can be called or voted on by spectators. Default is 0 (disabled).
sv_vote_command_delay
CS2 & CS:GO
More
sv_vote_command_delay [Seconds]
This command sets the delay, in seconds, before the action resulting from a vote happens. If this is set to 2, a player would be kicked 2 seconds after the vote has reached a decision.
sv_vote_creation_timer
CS2 & CS:GO
More
sv_vote_creation_timer [Seconds]
This command sets how often each player can call a vote, in seconds.
sv_vote_failure_timer
CS2 & CS:GO
More
sv_vote_failure_timer [Seconds]
This command sets how long a player must wait before re-submitting a vote that has failed, in seconds. Default is 300.
sv_vote_issue_kick_allowed
CS2 & CS:GO
More
sv_vote_issue_kick_allowed [0 / 1]
This command sets whether or not vote to kick players is enabled. Default is 1 (enabled).
sv_vote_issue_loadbackup_allowed
CS2 & CS:GO
More
sv_vote_issue_loadbackup_allowed [0 / 1]
This command sets whether or not players can vote to load match from the most recent backup. Default is 1 (enabled).
sv_vote_kick_ban_duration
CS2 & CS:GO
More
sv_vote_kick_ban_duration [Minutes]
This command sets the amount of time, in minutes, that a vote kick bans a player from the server for. Set to 0 to disable. Default is 15.
sv_vote_quorum_ratio
CS2 & CS:GO
More
sv_vote_quorum_ratio [Percentage]
This command sets the percentage of players that must vote in favor of an action in order for it to take place. 0.5 = 50%, 0.4 = 40%, etc.
sv_vote_timer_duration
CS2 & CS:GO
More
sv_vote_timer_duration [Seconds]
This command sets the duration, in seconds, that players have to vote for a vote that has been called.
sv_workshop_allow_other_maps
CS2 & CS:GO
More
sv_workshop_allow_other_maps [0 / 1]
This command sets whether or not workshop maps outside of the server's map cycle can be played on the server. By default this is enabled (1).
writeid
CS:GO
More
writeid
This command saves the list of user IDs that have been banned to banned_user.cfg, so that the bans apply even after the server restarts.
writeip
CS:GO
More
writeip
This command saves the list of IPs that have been banned to banned_ip.cfg, so that the bans apply even after the server restarts.