Justified
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)

CommandDefaultDescription
sv_accelerate10-
sv_airaccelerate10-
sv_allow_color_correction1Allow or disallow clients to use color correction on this server.
sv_allow_voice_from_file0Allow or disallow clients from using voice_inputfromfile on this server.
sv_allowcslua0Allow clients to run clientside addons. This will override any gamemode setting!
sv_allowdownload1Allow clients to download files
sv_allowupload1Allow clients to upload customizations files
sv_alltalk0Players can hear all other players, no team restrictions
sv_alternateticks0If set, server only simulates entities on even numbered ticks.
sv_autoladderdismount1Automatically dismount from ladders when you reach the end (don't have to +USE).
sv_autosave1Set to 1 to autosave game on level transition. Does not affect autosave triggers.
sv_cacheencodedents1If set to 1, does an optimization to prevent extra SendTable_Encode calls.
sv_cheats1Allow cheats on server
sv_clearhinthistorycmdClear memory of server side hints displayed to the player.
sv_client_cmdrate_difference20cl_cmdrate is moved to within sv_client_cmdrate_difference units of cl_updaterate before it is cl...
sv_client_max_interp_ratio5This can be used to limit the value of cl_interp_ratio for connected clients (only while they are...
sv_client_min_interp_ratio1This can be used to limit the value of cl_interp_ratio for connected clients (only while they are...
sv_client_predict1This can be used to force the value of cl_predict for connected clients (only while they are conn...
sv_clockcorrection_msecs60The server tries to keep each player's m_nTickBase withing this many msecs of the server absolute...
sv_crazyphysics_defuse1Reset the physics objects of entities when we detect their physics are going crazy. Turning this ...
sv_crazyphysics_remove1Remove entities when we detect their physics are going crazy. Turning this off should be a LAST R...
sv_crazyphysics_vehicles1Enable crazy physics detection for vehicles.
sv_crazyphysics_warning1Print warnings to the console when entities with crazy physics are encountered.
sv_crazyphysics_wheels0Enable crazy physics detection for vehicles' wheels.
sv_debug_player_use0Visualizes +use logic. Green cross=trace success, Red cross=trace too far, Green box=radius success
sv_debugmanualmode0Make sure entities correctly report whether or not their network data has changed.
sv_debugtempentities0Show temp entity bandwidth usage.
sv_defaultdeployspeed4-
sv_deltaprint0Print accumulated CalcDelta profiling data (only if sv_deltatime is on)
sv_deltatime0Enable profiling of CalcDelta calls
sv_disable_querycache0debug - disable trace query cache
sv_downloadurl0Location from which clients can download missing files
sv_dumpstringtables0-
sv_enableoldqueries0Enable support for old style (HL1) server queries
sv_filterban1Set packet filtering by IP mode
sv_footsteps1Play footstep sound for players
sv_forcepreload1Force server side preloading.
sv_friction8World friction.
sv_gamename_override0If not empty, overrides the gamemode name reported by the server to Steam.
sv_gravity600World gravity.
sv_hibernate_drop_bots1Kicks bots when the server enters hibernation
sv_hibernate_think0Forces the server to think even when hibernating
sv_hl2mp_item_respawn_time30-
sv_hl2mp_weapon_respawn_time20-
sv_hudhint_sound1-
sv_infinite_aux_power0-
sv_kickerrornum0Kick clients if they have this many Lua errors. Set to 0 to never kick.
sv_ladder_useonly0If set, ladders can only be mounted by pressing +USE
sv_ladderautomountdot0When auto-mounting a ladder by looking up its axis, this is the tolerance for looking now directl...
sv_lagcompensateself0Player can lag compensate themselves.
sv_lagcompensationforcerestore1Don't test validity of a lag comp restore, just do it.
sv_lan0Server is a lan server. ( no authentication, no non-class C addresses ) Use 'hide_server' cvar to...
sv_loadingurl0URL to show to clients while joining the server. Must start with http:// or https://
sv_location0The location of the server to be displayed in the server browser. Format is ISO 3166-1 alpha-2 co...
sv_log_client_errors1Above 0 = log clientside errors to 'clientside_errors.txt'. 0 = Log to console only. Below 0 = do...
sv_log_onefile0Log server information to only one file.
sv_logbans0Log server bans in the server logs.
sv_logblocks0If true when log when a query is blocked (can cause very large log files)
sv_logdownloadlist1-
sv_logecho1Echo log information to the console.
sv_logfile1Log server information in the log file.
sv_logfilecompress0Gzip compress logfile and rename to logfilename.log.gz on close.
sv_logfilename_format0Log filename format. See strftime for formatting codes.
sv_logflush0Flush the log file to disk on each write (slow).
sv_logsdir0Folder in the game directory where server logs will be stored. Must start with 'logs/'.
sv_logsecret0If set then include this secret when doing UDP logging (will use 0x53 as packet type, not usual 0...
sv_lowedict_action00 - no action, 1 - warn to log file, 2 - attempt to restart the game, if applicable, 3 - restart ...
sv_lowedict_threshold8When only this many edicts are free, take the action specified by sv_lowedict_action.
sv_massreport0-
sv_master_share_game_socket1Use the game's socket to communicate to the master server. If this is 0, then it will create a so...
sv_max_connects_sec2Maximum connections per second to respond to from a single IP address.
sv_max_connects_sec_global0Maximum connections per second to respond to from anywhere.
sv_max_connects_window4Window over which to average connections per second averages.
sv_max_queries_sec3Maximum queries per second to respond to from a single IP address.
sv_max_queries_sec_global3000Maximum queries per second to respond to from anywhere.
sv_max_queries_window30Window over which to average queries per second averages.
sv_max_usercmd_move_magnitude10000Maximum move magnitude that can be requested by client.
sv_max_userinfo4096The max amount of userinfo ConVars clients are allowed to send to the server. Setting this too hi...
sv_max_userinfo_rate1500The max amount of userinfo ConVars clients are allowed to send to the server in 1 second.
sv_maxcmdrate66(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxrate0Max bandwidth rate allowed on server, 0 == unlimited
sv_maxreplay0Maximum replay time in seconds
sv_maxroutable1260Server upper bound on net_maxroutable that a client can use.
sv_maxspeed10000-
sv_maxunlag1Maximum lag compensation in seconds
sv_maxupdaterate66Maximum updates per second that the server will allow
sv_maxusrcmdprocessticks24Maximum number of client-issued usrcmd ticks that can be replayed in packet loss conditions, 0 to...
sv_maxusrcmdprocessticks_holdaim1Hold client aim for multiple server sim ticks when client-issued usrcmd contains multiple actions...
sv_maxusrcmdprocessticks_warning-1Print a warning when user commands get dropped due to insufficient usrcmd ticks allocated, number...
sv_maxvelocity3500Maximum speed any ballistically moving object is allowed to attain per axis.
sv_maxvoicepacketsperframe48How many voice packets the server will accept from a single client per frame/tick, before the cli...
sv_memlimit0If set, whenever the server is empty, if the total memory used by the server is greater than this...
sv_mincmdrate10This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_minrate3500Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate10Minimum updates per second that the server will allow
sv_namechange_cooldown_seconds20When a client name change is received, wait N seconds allowing another name change
sv_netspikecmdWrite network trace if amount of data sent to client exceeds N bytes. Use zero to disable tracin...
sv_netspike_on_reliable_snapshot_overflow0If nonzero, the server will dump a netspike trace if a client is dropped due to reliable snapshot...
sv_netspike_output1Where the netspike data be written? Sum of the following values: 1=netspike.txt, 2=ordinary serv...
sv_netspike_sendtime_ms0If nonzero, the server will dump a netspike trace if it takes more than N ms to prepare a snapsho...
sv_no_ain_files0Disables sending of .ain files associated with currently active map. Use at your own risk. Must b...
sv_noclipaccelerate5-
sv_noclipduringpause0If cheats are enabled, then you can noclip with the game paused (for doing screenshots, etc.).
sv_noclipspeed5-
sv_nomap_timeout0Amount of seconds to wait without a map running before the dedicated server will close. Values of...
sv_npc_full_pvs_checks1If set, do full PVS checks for NPCs, so they do not flicker in multiplayer with more than 1 playe...
sv_npc_talker_maxdist1024NPCs over this distance from the player won't attempt to speak.
sv_parallel_packentities1-
sv_parallel_sendsnapshot0-
sv_password0Server password for entry into multiplayer games
sv_pausable0Is the server pausable.
sv_pause_sp1Pause the singleplayer game when opening main menu or the Steam overlay.
sv_player_display_usercommand_errors01 = Display warning when command values are out-of-range. 2 = Spew invalid ranges.
sv_playerforcedupdate10-
sv_playerperfhistorycount60Number of samples to maintain in player perf history
sv_playerpickupallowed1Allow the player to pick things up using the USE key
sv_precacheinfocmdShow precache info.
sv_purecmdShow user data.
sv_pure_consensus5Minimum number of file hashes to agree to form a consensus.
sv_pure_kick_clients1If set to 1, the server will kick clients with mismatching files. Otherwise, it will issue a warn...
sv_pure_retiretime900Seconds of server idle time to flush the sv_pure file hash cache.
sv_pure_trace0If set to 1, the server will print a message whenever a client is verifying a CRC for a file.
sv_pvsskipanimation1Skips SetupBones when npc's are outside the PVS
sv_querycache_statscmdDisplay status of the query cache (client only)
sv_quota_stringcmd_kick0If set to above 0, kick the player if they exceed sv_quota_stringcmdspersecond
sv_quota_stringcmdspersecond256How many string commands per second clients are allowed to submit, 0 to disallow all string commands
sv_rcon_banpenalty0Number of minutes to ban users who fail rcon authentication
sv_rcon_log1Enable/disable rcon logging.
sv_rcon_maxfailures10Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxpacketbans1Ban IPs for sending RCON packets exceeding the value specified in sv_rcon_maxpacketsize
sv_rcon_maxpacketsize1024The maximum number of bytes to allow in a command packet
sv_rcon_minfailures5Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime30Number of seconds to track failed rcon authentications
sv_rcon_whitelist_address0When set, rcon failed authentications will never ban this address, e.g. '127.0.0.1'
sv_region-1The region of the world to report this server in.
sv_restrict_aspect_ratio_fov1This can be used to limit the effective FOV of users using wide-screen resolutions with aspect ra...
sv_robust_explosions1-
sv_rollangle0Max view roll angle
sv_rollspeed200-
sv_setsteamaccountcmdtoken Set game server account token to use for logging in to a persistent game server account
sv_show_crosshair_target0-
sv_showimpacts0Shows client (red) and server (blue) bullet impact point (1=both, 2=client-only, 3=server-only)
sv_showladders0Show bbox and dismount points for all ladders (must be set before level load.)
sv_showlagcompensation0Show lag compensated hitboxes whenever a player is lag compensated.
sv_showlagcompensation_duration4Duration to show lag-compensated hitboxes
sv_shutdowncmdSets the server to shutdown next time it's empty
sv_shutdown_timeout_minutes360If sv_shutdown is pending, wait at most N minutes for server to drain before forcing shutdown.
sv_signon_dos_disconnect20Number of extra signon state confirmations required to disconnect a misbehaving client. 0 = unlim...
sv_skyname0Current name of the skybox texture
sv_soundemitter_trace0Show all EmitSound calls including their symbolic name and the actual wave file they resolved to
sv_soundscape_printdebuginfocmdprint soundscapes
sv_specaccelerate5-
sv_specnoclip1-
sv_specspeed3-
sv_startup_time0Sets the starting CurTime of the server (in seconds). This is used for finding issues on a server...
sv_stats1Collect CPU usage stats
sv_steamblockingcheck0Check each new player for Steam blocking compatibility, 1 = message only, 2 >= drop if any mem...
sv_steamgroup0The ID of the steam group that this server belongs to. You can find your group's ID on the admin ...
sv_sticktoground1Fixes flying up in the air off of slopes.
sv_stickysprint0-
sv_stopspeed10Minimum stopping speed when on ground.
sv_stressbots0If set to 1, the server calculates data and fills packets to bots. Used for perf testing.
sv_strict_notarget0If set, notarget will cause entities to never think they are in the pvs
sv_test_scripted_sequences0Tests for scripted sequences that are embedded in the world. Run through your map with this set t...
sv_teststepsimulation1-
sv_thinktimecheck0Check for thinktimes all on same timestamp.
sv_timeout180After this many seconds without a message from a client, the client is dropped
sv_timeout_signon300After this many seconds without a message from a client, the client is dropped (while connecting)
sv_turbophysics0Turns on turbo physics
sv_unlockedchapters1Highest unlocked game chapter.
sv_use_steam_voice1Enable/disable using Steam Voice instead of the old voice codec (if enabled, voice_inputfromfile ...
sv_usercmd_custom_random_seed0When enabled server will populate an additional random seed independent of the client
sv_usermessage_maxsize1024The max number of bytes to output per tick
sv_vehicle_autoaim_scale8-
sv_visiblemaxplayers-1Overrides the max players reported to prospective clients
sv_voiceenable1-
sv_wateraccelerate10-
sv_waterfriction1-

On this page