GmodGeneralConsole reference
Server
Server configuration and gameplay settings.
Server
Server configuration and gameplay settings.
This is a reference of all sv_* console commands. Use find sv in the console to search within this category.
All Commands (178)
| Command | Default | Description |
|---|---|---|
sv_accelerate | 10 | - |
sv_airaccelerate | 10 | - |
sv_allow_color_correction | 1 | Allow or disallow clients to use color correction on this server. |
sv_allow_voice_from_file | 0 | Allow or disallow clients from using voice_inputfromfile on this server. |
sv_allowcslua | 0 | Allow clients to run clientside addons. This will override any gamemode setting! |
sv_allowdownload | 1 | Allow clients to download files |
sv_allowupload | 1 | Allow clients to upload customizations files |
sv_alltalk | 0 | Players can hear all other players, no team restrictions |
sv_alternateticks | 0 | If set, server only simulates entities on even numbered ticks. |
sv_autoladderdismount | 1 | Automatically dismount from ladders when you reach the end (don't have to +USE). |
sv_autosave | 1 | Set to 1 to autosave game on level transition. Does not affect autosave triggers. |
sv_cacheencodedents | 1 | If set to 1, does an optimization to prevent extra SendTable_Encode calls. |
sv_cheats | 1 | Allow cheats on server |
sv_clearhinthistory | cmd | Clear memory of server side hints displayed to the player. |
sv_client_cmdrate_difference | 20 | cl_cmdrate is moved to within sv_client_cmdrate_difference units of cl_updaterate before it is cl... |
sv_client_max_interp_ratio | 5 | This can be used to limit the value of cl_interp_ratio for connected clients (only while they are... |
sv_client_min_interp_ratio | 1 | This can be used to limit the value of cl_interp_ratio for connected clients (only while they are... |
sv_client_predict | 1 | This can be used to force the value of cl_predict for connected clients (only while they are conn... |
sv_clockcorrection_msecs | 60 | The server tries to keep each player's m_nTickBase withing this many msecs of the server absolute... |
sv_crazyphysics_defuse | 1 | Reset the physics objects of entities when we detect their physics are going crazy. Turning this ... |
sv_crazyphysics_remove | 1 | Remove entities when we detect their physics are going crazy. Turning this off should be a LAST R... |
sv_crazyphysics_vehicles | 1 | Enable crazy physics detection for vehicles. |
sv_crazyphysics_warning | 1 | Print warnings to the console when entities with crazy physics are encountered. |
sv_crazyphysics_wheels | 0 | Enable crazy physics detection for vehicles' wheels. |
sv_debug_player_use | 0 | Visualizes +use logic. Green cross=trace success, Red cross=trace too far, Green box=radius success |
sv_debugmanualmode | 0 | Make sure entities correctly report whether or not their network data has changed. |
sv_debugtempentities | 0 | Show temp entity bandwidth usage. |
sv_defaultdeployspeed | 4 | - |
sv_deltaprint | 0 | Print accumulated CalcDelta profiling data (only if sv_deltatime is on) |
sv_deltatime | 0 | Enable profiling of CalcDelta calls |
sv_disable_querycache | 0 | debug - disable trace query cache |
sv_downloadurl | 0 | Location from which clients can download missing files |
sv_dumpstringtables | 0 | - |
sv_enableoldqueries | 0 | Enable support for old style (HL1) server queries |
sv_filterban | 1 | Set packet filtering by IP mode |
sv_footsteps | 1 | Play footstep sound for players |
sv_forcepreload | 1 | Force server side preloading. |
sv_friction | 8 | World friction. |
sv_gamename_override | 0 | If not empty, overrides the gamemode name reported by the server to Steam. |
sv_gravity | 600 | World gravity. |
sv_hibernate_drop_bots | 1 | Kicks bots when the server enters hibernation |
sv_hibernate_think | 0 | Forces the server to think even when hibernating |
sv_hl2mp_item_respawn_time | 30 | - |
sv_hl2mp_weapon_respawn_time | 20 | - |
sv_hudhint_sound | 1 | - |
sv_infinite_aux_power | 0 | - |
sv_kickerrornum | 0 | Kick clients if they have this many Lua errors. Set to 0 to never kick. |
sv_ladder_useonly | 0 | If set, ladders can only be mounted by pressing +USE |
sv_ladderautomountdot | 0 | When auto-mounting a ladder by looking up its axis, this is the tolerance for looking now directl... |
sv_lagcompensateself | 0 | Player can lag compensate themselves. |
sv_lagcompensationforcerestore | 1 | Don't test validity of a lag comp restore, just do it. |
sv_lan | 0 | Server is a lan server. ( no authentication, no non-class C addresses ) Use 'hide_server' cvar to... |
sv_loadingurl | 0 | URL to show to clients while joining the server. Must start with http:// or https:// |
sv_location | 0 | The location of the server to be displayed in the server browser. Format is ISO 3166-1 alpha-2 co... |
sv_log_client_errors | 1 | Above 0 = log clientside errors to 'clientside_errors.txt'. 0 = Log to console only. Below 0 = do... |
sv_log_onefile | 0 | Log server information to only one file. |
sv_logbans | 0 | Log server bans in the server logs. |
sv_logblocks | 0 | If true when log when a query is blocked (can cause very large log files) |
sv_logdownloadlist | 1 | - |
sv_logecho | 1 | Echo log information to the console. |
sv_logfile | 1 | Log server information in the log file. |
sv_logfilecompress | 0 | Gzip compress logfile and rename to logfilename.log.gz on close. |
sv_logfilename_format | 0 | Log filename format. See strftime for formatting codes. |
sv_logflush | 0 | Flush the log file to disk on each write (slow). |
sv_logsdir | 0 | Folder in the game directory where server logs will be stored. Must start with 'logs/'. |
sv_logsecret | 0 | If set then include this secret when doing UDP logging (will use 0x53 as packet type, not usual 0... |
sv_lowedict_action | 0 | 0 - no action, 1 - warn to log file, 2 - attempt to restart the game, if applicable, 3 - restart ... |
sv_lowedict_threshold | 8 | When only this many edicts are free, take the action specified by sv_lowedict_action. |
sv_massreport | 0 | - |
sv_master_share_game_socket | 1 | Use the game's socket to communicate to the master server. If this is 0, then it will create a so... |
sv_max_connects_sec | 2 | Maximum connections per second to respond to from a single IP address. |
sv_max_connects_sec_global | 0 | Maximum connections per second to respond to from anywhere. |
sv_max_connects_window | 4 | Window over which to average connections per second averages. |
sv_max_queries_sec | 3 | Maximum queries per second to respond to from a single IP address. |
sv_max_queries_sec_global | 3000 | Maximum queries per second to respond to from anywhere. |
sv_max_queries_window | 30 | Window over which to average queries per second averages. |
sv_max_usercmd_move_magnitude | 10000 | Maximum move magnitude that can be requested by client. |
sv_max_userinfo | 4096 | The max amount of userinfo ConVars clients are allowed to send to the server. Setting this too hi... |
sv_max_userinfo_rate | 1500 | The max amount of userinfo ConVars clients are allowed to send to the server in 1 second. |
sv_maxcmdrate | 66 | (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. |
sv_maxrate | 0 | Max bandwidth rate allowed on server, 0 == unlimited |
sv_maxreplay | 0 | Maximum replay time in seconds |
sv_maxroutable | 1260 | Server upper bound on net_maxroutable that a client can use. |
sv_maxspeed | 10000 | - |
sv_maxunlag | 1 | Maximum lag compensation in seconds |
sv_maxupdaterate | 66 | Maximum updates per second that the server will allow |
sv_maxusrcmdprocessticks | 24 | Maximum number of client-issued usrcmd ticks that can be replayed in packet loss conditions, 0 to... |
sv_maxusrcmdprocessticks_holdaim | 1 | Hold client aim for multiple server sim ticks when client-issued usrcmd contains multiple actions... |
sv_maxusrcmdprocessticks_warning | -1 | Print a warning when user commands get dropped due to insufficient usrcmd ticks allocated, number... |
sv_maxvelocity | 3500 | Maximum speed any ballistically moving object is allowed to attain per axis. |
sv_maxvoicepacketsperframe | 48 | How many voice packets the server will accept from a single client per frame/tick, before the cli... |
sv_memlimit | 0 | If set, whenever the server is empty, if the total memory used by the server is greater than this... |
sv_mincmdrate | 10 | This sets the minimum value for cl_cmdrate. 0 == unlimited. |
sv_minrate | 3500 | Min bandwidth rate allowed on server, 0 == unlimited |
sv_minupdaterate | 10 | Minimum updates per second that the server will allow |
sv_namechange_cooldown_seconds | 20 | When a client name change is received, wait N seconds allowing another name change |
sv_netspike | cmd | Write network trace if amount of data sent to client exceeds N bytes. Use zero to disable tracin... |
sv_netspike_on_reliable_snapshot_overflow | 0 | If nonzero, the server will dump a netspike trace if a client is dropped due to reliable snapshot... |
sv_netspike_output | 1 | Where the netspike data be written? Sum of the following values: 1=netspike.txt, 2=ordinary serv... |
sv_netspike_sendtime_ms | 0 | If nonzero, the server will dump a netspike trace if it takes more than N ms to prepare a snapsho... |
sv_no_ain_files | 0 | Disables sending of .ain files associated with currently active map. Use at your own risk. Must b... |
sv_noclipaccelerate | 5 | - |
sv_noclipduringpause | 0 | If cheats are enabled, then you can noclip with the game paused (for doing screenshots, etc.). |
sv_noclipspeed | 5 | - |
sv_nomap_timeout | 0 | Amount of seconds to wait without a map running before the dedicated server will close. Values of... |
sv_npc_full_pvs_checks | 1 | If set, do full PVS checks for NPCs, so they do not flicker in multiplayer with more than 1 playe... |
sv_npc_talker_maxdist | 1024 | NPCs over this distance from the player won't attempt to speak. |
sv_parallel_packentities | 1 | - |
sv_parallel_sendsnapshot | 0 | - |
sv_password | 0 | Server password for entry into multiplayer games |
sv_pausable | 0 | Is the server pausable. |
sv_pause_sp | 1 | Pause the singleplayer game when opening main menu or the Steam overlay. |
sv_player_display_usercommand_errors | 0 | 1 = Display warning when command values are out-of-range. 2 = Spew invalid ranges. |
sv_playerforcedupdate | 10 | - |
sv_playerperfhistorycount | 60 | Number of samples to maintain in player perf history |
sv_playerpickupallowed | 1 | Allow the player to pick things up using the USE key |
sv_precacheinfo | cmd | Show precache info. |
sv_pure | cmd | Show user data. |
sv_pure_consensus | 5 | Minimum number of file hashes to agree to form a consensus. |
sv_pure_kick_clients | 1 | If set to 1, the server will kick clients with mismatching files. Otherwise, it will issue a warn... |
sv_pure_retiretime | 900 | Seconds of server idle time to flush the sv_pure file hash cache. |
sv_pure_trace | 0 | If set to 1, the server will print a message whenever a client is verifying a CRC for a file. |
sv_pvsskipanimation | 1 | Skips SetupBones when npc's are outside the PVS |
sv_querycache_stats | cmd | Display status of the query cache (client only) |
sv_quota_stringcmd_kick | 0 | If set to above 0, kick the player if they exceed sv_quota_stringcmdspersecond |
sv_quota_stringcmdspersecond | 256 | How many string commands per second clients are allowed to submit, 0 to disallow all string commands |
sv_rcon_banpenalty | 0 | Number of minutes to ban users who fail rcon authentication |
sv_rcon_log | 1 | Enable/disable rcon logging. |
sv_rcon_maxfailures | 10 | Max number of times a user can fail rcon authentication before being banned |
sv_rcon_maxpacketbans | 1 | Ban IPs for sending RCON packets exceeding the value specified in sv_rcon_maxpacketsize |
sv_rcon_maxpacketsize | 1024 | The maximum number of bytes to allow in a command packet |
sv_rcon_minfailures | 5 | Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned |
sv_rcon_minfailuretime | 30 | Number of seconds to track failed rcon authentications |
sv_rcon_whitelist_address | 0 | When set, rcon failed authentications will never ban this address, e.g. '127.0.0.1' |
sv_region | -1 | The region of the world to report this server in. |
sv_restrict_aspect_ratio_fov | 1 | This can be used to limit the effective FOV of users using wide-screen resolutions with aspect ra... |
sv_robust_explosions | 1 | - |
sv_rollangle | 0 | Max view roll angle |
sv_rollspeed | 200 | - |
sv_setsteamaccount | cmd | token Set game server account token to use for logging in to a persistent game server account |
sv_show_crosshair_target | 0 | - |
sv_showimpacts | 0 | Shows client (red) and server (blue) bullet impact point (1=both, 2=client-only, 3=server-only) |
sv_showladders | 0 | Show bbox and dismount points for all ladders (must be set before level load.) |
sv_showlagcompensation | 0 | Show lag compensated hitboxes whenever a player is lag compensated. |
sv_showlagcompensation_duration | 4 | Duration to show lag-compensated hitboxes |
sv_shutdown | cmd | Sets the server to shutdown next time it's empty |
sv_shutdown_timeout_minutes | 360 | If sv_shutdown is pending, wait at most N minutes for server to drain before forcing shutdown. |
sv_signon_dos_disconnect | 20 | Number of extra signon state confirmations required to disconnect a misbehaving client. 0 = unlim... |
sv_skyname | 0 | Current name of the skybox texture |
sv_soundemitter_trace | 0 | Show all EmitSound calls including their symbolic name and the actual wave file they resolved to |
sv_soundscape_printdebuginfo | cmd | print soundscapes |
sv_specaccelerate | 5 | - |
sv_specnoclip | 1 | - |
sv_specspeed | 3 | - |
sv_startup_time | 0 | Sets the starting CurTime of the server (in seconds). This is used for finding issues on a server... |
sv_stats | 1 | Collect CPU usage stats |
sv_steamblockingcheck | 0 | Check each new player for Steam blocking compatibility, 1 = message only, 2 >= drop if any mem... |
sv_steamgroup | 0 | The ID of the steam group that this server belongs to. You can find your group's ID on the admin ... |
sv_sticktoground | 1 | Fixes flying up in the air off of slopes. |
sv_stickysprint | 0 | - |
sv_stopspeed | 10 | Minimum stopping speed when on ground. |
sv_stressbots | 0 | If set to 1, the server calculates data and fills packets to bots. Used for perf testing. |
sv_strict_notarget | 0 | If set, notarget will cause entities to never think they are in the pvs |
sv_test_scripted_sequences | 0 | Tests for scripted sequences that are embedded in the world. Run through your map with this set t... |
sv_teststepsimulation | 1 | - |
sv_thinktimecheck | 0 | Check for thinktimes all on same timestamp. |
sv_timeout | 180 | After this many seconds without a message from a client, the client is dropped |
sv_timeout_signon | 300 | After this many seconds without a message from a client, the client is dropped (while connecting) |
sv_turbophysics | 0 | Turns on turbo physics |
sv_unlockedchapters | 1 | Highest unlocked game chapter. |
sv_use_steam_voice | 1 | Enable/disable using Steam Voice instead of the old voice codec (if enabled, voice_inputfromfile ... |
sv_usercmd_custom_random_seed | 0 | When enabled server will populate an additional random seed independent of the client |
sv_usermessage_maxsize | 1024 | The max number of bytes to output per tick |
sv_vehicle_autoaim_scale | 8 | - |
sv_visiblemaxplayers | -1 | Overrides the max players reported to prospective clients |
sv_voiceenable | 1 | - |
sv_wateraccelerate | 10 | - |
sv_waterfriction | 1 | - |