Skip to content

Server command reference

tmp64 edited this page Oct 28, 2021 · 6 revisions

Console variables

Variable Values Comment
allow_spectators 0/1 Allow players to go into spectator mode. Enabled by default.
spectator_cmd_delay 1.0-∞ (5) Specify a minimal delay between adjacent "spectate" client commands in seconds.
Default: 5 seconds
mp_welcomecam 0/1 Enable (default) or disable welcome cam.
mp_notify_player_status 0-7 Selects notifications for player join/leave/spectate events in chat. Bits value.
1 bit - leave notification.
2 bit - join notification.
3 bit - enter/leave spectate notifications.
To be said easy:
0 means "no notifications"
1 - default HL "player leave notification"
3 - join and leave notifications
7 - all notifications (default).
mp_bunnyhop 0/1 Enable (default) or disable bunnyhop.
0 max speed is clamped to 350 to prevent bunnyhop. This is default HL behaviour.
1 max speed is clamped to 2000, thus allowing bunnyhop.
mp_selfgauss 0/1/2 Enable (default) or disable selfgauss. Value 2 disables all selfgauss damage, while 1 only blocks direct selfhits.
It is recommended to disable selfgauss due to it being extremely annoying.
mp_falldamage 0/1/2 0: deal 10 hp of damage on fall
1: deal damage proportional to speed (like in singleplayer)
2: no fall damage
mp_teamspawn 0/1 When teamplay is enabled, players will be spawned on team spawns if the map has them.
mp_weaponbox_time -1/0/seconds (120) Dead player's weapons will stay for this many seconds, 0 disables them, -1 forever.
mp_weapondrop_time 0 Manually dropped weapons (using command drop) will stay for this many seconds, 0 forever.
mp_hidecorpses 0/1 Disables player corpses. If changed mid-game, existing corpses won't be removed.
sv_bhl_query_vars 0/1 Enable querying of client capability and version cvars.
sv_bhl_query_wait_for_id 0/1 Wait for a valid SteamID before querying.
sv_bhl_defer_motd 0/1 Wait for client cvars before sending the MOTD. Requires sv_bhl_query_vars 1.
Clone this wiki locally