Skip to content

Instantly share code, notes, and snippets.

@daemox
Created August 28, 2013 00:22
Show Gist options
  • Save daemox/6360731 to your computer and use it in GitHub Desktop.
Save daemox/6360731 to your computer and use it in GitHub Desktop.
~/.tf2/tf/cfg/server.cfg
// Format (see next line)//
//command VARIABLE //(DEFAULT)Clients/Server:comments.
// Alphabetical for now //
sv_allow_color_correction 0 0 //(1)Clients: may make the server more consistent. Performance increase?
sv_allow_voice_from_file 0 //(1)Clients: voice_inputfromfile.
sv_allow_votes 1 //(1)Clients: disable with mods?
sv_allow_wait_command 0 //(1)Clients: may prevent the use of weapon scripts.
sv_allowdownload 1 //(1)Clients: may be needed with mods?
sv_allowupload 0 //(1)Clients: uploads of customizations.
sv_alltalk 0 //(0)Clients: team voice restrictions.
sv_alternateticks 0 //(0)Server: simulates entities on even numbered ticks. Changing may impact motion fluidity. Forcing off to be safe.
sv_cacheencodedents 1 //(1)Server: optimization to prevent extra SendTable_Encode calls.
sv_cheats 0 //(0)Server: cheats.
// Network Optimizations //
sv_client_cmdrate_difference 20 //(20)Clients: cl_cmdrate is moved to within cmdrate_difference units of cl_updaterate before it is clamped between sv_mincmdrate and sv_maxcmdrate.
sv_client_max_interp_ratio 2 //(5)Clients: limit the value of cl_interp_ratio.
sv_client_min_interp_ratio 0 //(1)Clients: limit the value of cl_interp_ratio.
sv_client_predict 1 //(1)Clients: force the value of cl_predict.
sv_clockcorrection_msecs 0 //(30/60)Server: client's m_nTickBase within this range of absolute tickcount. 0 for competitive CS:GO servers.
sv_compressstringtablebaselines 1 //(0)Server: compression for string table baselines.
// Contact Information //
//sv_contact [email protected] //(0)Server: contact email for server sysop.
// Alphabetical for now //
//sv_downloadurl //(0)Clients: location to download missing files.
sv_filterban 1 //(1)Server: set packet filtering by IP mode(?).
sv_forcepreload : 0 : , "a" : Force server side preloading.
sv_gravity : 800 : , "sv", "nf", "rep" : World gravity.
sv_hudhint_sound : 1 : , "sv", "rep" :
sv_lan : 0 : : Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_log_onefile : 0 : , "a" : Log server information to only one file.
sv_logbans : 0 : , "a" : 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 : , "a" : Echo log information to the console.
sv_logfile : 1 : , "a" : Log server information in the log file.
sv_logflush : 0 : , "a" : Flush the log file to disk on each write (slow).
sv_logsdir : 0 : , "a" : Folder in the game directory where server logs will be stored.
sv_logsecret : 0 : : If set then include this secret when doing UDP logging (will use 0x53 as packet type, not usual 0x52)
sv_lowedict_action : 0 : : 0 - no action, 1 - warn to log file, 2 - attempt to restart the game, if applicable, 3 - restart the map, 4 - go to the next ma
sv_lowedict_threshold : 8 : : When only this many edicts are free, take the action specified by sv_lowedict_action.
sv_massreport : 0 : , "sv" :
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 socket on -steamport + 1 to comm
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_maxcmdrate : 66 : , "rep" : (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxrate : 0 : , "rep" : 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_maxupdaterate : 144 : , "rep" : Maximum updates per second that the server will allow
sv_maxusrcmdprocessticks : 24 : , "sv", "nf" : Maximum number of client-issued usrcmd ticks that can be replayed in packet loss conditions, 0 to allow no restrictions
sv_maxusrcmdprocessticks_warning : -1 : , "sv" : Print a warning when user commands get dropped due to insufficient usrcmd ticks allocated, number of seconds to throttle, negat
sv_memlimit : 0 : , "cheat" : If set, whenever the server is empty, if the total memory used by the server is greater than this # of megabytes, the server wi
sv_mincmdrate : 10 : , "rep" : This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_minrate : 3500 : , "rep" : Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate : 30 : , "rep" : Minimum updates per second that the server will allow
sv_motd_unload_on_dismissal : 0 : , "sv" : If enabled, the MOTD contents will be unloaded when the player closes the MOTD.
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 tracing. Note that having this enabl
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 overflow
sv_netspike_output : 1 : : Where the netspike data be written? Sum of the following values: 1=netspike.txt, 2=ordinary server log
sv_netspike_sendtime_ms : 0 : : If nonzero, the server will dump a netspike trace if it takes more than N ms to prepare a snapshot to a single client. This fe
sv_noclipaccelerate : 5 : , "a", "sv", "nf", "rep" :
sv_noclipduringpause : 0 : , "sv", "cheat", "rep" : If cheats are enabled, then you can noclip with the game paused (for doing screenshots, etc.).
sv_noclipspeed : 5 : , "a", "sv", "nf", "rep" :
sv_npc_talker_maxdist : 1024 : , "sv" : NPCs over this distance from the player won't attempt to speak.
sv_parallel_packentities : 1 : :
sv_parallel_sendsnapshot : 1 : :
sv_password : 0 : , "nf", "prot", "norecord" : Server password for entry into multiplayer games
sv_pausable : 0 : , "nf" : Is the server pausable.
sv_player_display_usercommand_errors : 0 : , "sv", "cheat" : 1 = Display warning when command values are out-of-range. 2 = Spew invalid ranges.
sv_playerperfhistorycount : 60 : , "sv" : Number of samples to maintain in player perf history
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 warning to the client.
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 : , "a", "sv" : Skips SetupBones when npc's are outside the PVS
sv_querycache_stats : cmd : : Display status of the query cache (client only)
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_region : 1 : : The region of the world to report this server in.
sv_restrict_aspect_ratio_fov : 1 : , "rep" : This can be used to limit the effective FOV of users using wide-screen resolutions with aspect ratios wider than 1.85:1 (slight
sv_runcmds : 1 : , "sv" :
sv_showladders : 0 : , "sv" : Show bbox and dismount points for all ladders (must be set before level load.)
sv_showlagcompensation : 0 : , "sv", "cheat" : Show lag compensated hitboxes whenever a player is lag compensated.
sv_shutdown : cmd : : Sets the server to shutdown next time it's empty
sv_shutdown_timeout_minutes : 360 : , "rep" : If sv_shutdown is pending, wait at most N minutes for server to drain before forcing shutdown.
sv_skyname : 0 : , "a", "sv", "rep" : Current name of the skybox texture
sv_soundemitter_trace : 0 : , "sv", "rep" : Show all EmitSound calls including their symbolic name and the actual wave file they resolved to
sv_specaccelerate : 5 : , "a", "sv", "nf", "rep" :
sv_specnoclip : 1 : , "a", "sv", "nf", "rep" :
sv_specspeed : 3 : , "a", "sv", "nf", "rep" :
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 member of owning clan blocks,3 >= dr
sv_steamgroup : 0 : , "nf" : The ID of the steam group that this server belongs to. You can find your group's ID on the admin profile page in the steam comm
sv_strict_notarget : 0 : , "sv" : If set, notarget will cause entities to never think they are in the pvs
sv_tags : 0 : , "nf" : Server tags. Used to provide extra information to clients when they're browsing for servers. Separate tags with a comma.
sv_test_scripted_sequences : 0 : , "sv" : Tests for scripted sequences that are embedded in the world. Run through your map with this set to check for NPCs falling throu
sv_teststepsimulation : 1 : , "sv" :
sv_thinktimecheck : 0 : , "sv" : Check for thinktimes all on same timestamp.
sv_timeout : 65 : : After this many seconds without a message from a client, the client is dropped
sv_turbophysics : 1 : , "sv", "rep" : Turns on turbo physics
sv_unlockedchapters : 99 : , "a", "sv" :
sv_use_steam_voice : 1 : , "rep" : Enable/disable using Steam Voice instead of the old voice codec (if enabled, voice_inputfromfile will no longer function).
sv_vehicle_autoaim_scale : 8 : , "sv" :
sv_visiblemaxplayers : 6 : : Overrides the max players reported to prospective clients
sv_voicecodec : 0 : : Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.
sv_voiceenable : 1 : , "a", "nf" :
sv_vote_allow_spectators : 0 : , "sv" : Allow spectators to vote?
sv_vote_failure_timer : 300 : , "sv" : A vote that fails cannot be re-submitted for this long
sv_vote_failure_timer_mvm : 120 : , "sv" : A vote that fails in MvM cannot be re-submitted for this long
sv_vote_issue_changelevel_allowed : 0 : , "sv" : Can people hold votes to change levels?
sv_vote_issue_changelevel_allowed_mvm : 0 : , "sv" : Can people hold votes to change levels in MvM?
sv_vote_issue_kick_allowed : 0 : , "sv" : Can people hold votes to kick players from the server?
sv_vote_issue_kick_allowed_mvm : 1 : , "sv" : Can people hold votes to kick players from the server in MvM?
sv_vote_issue_kick_min_connect_time_mvm : 0 : , "sv" : How long a player must be connected before they can be kicked (in seconds).
sv_vote_issue_kick_spectators_mvm : 0 : , "sv" : Allow players to kick spectators in MvM.
sv_vote_issue_mvm_challenge_allowed : 1 : , "sv" : Can people hold votes to set the challenge level?
sv_vote_issue_nextlevel_allowed : 1 : , "sv" : Can people hold votes to set the next level?
sv_vote_issue_nextlevel_allowextend : 1 : , "sv" : Allow players to extend the current map?
sv_vote_issue_nextlevel_choicesmode : 0 : , "sv" : Present players with a list of lowest playtime maps to choose from?
sv_vote_issue_nextlevel_prevent_change : 1 : , "sv" : Not allowed to vote for a nextlevel if one has already been set.
sv_vote_issue_restart_game_allowed : 1 : , "sv" : Can people hold votes to restart the game?
sv_vote_issue_scramble_teams_allowed : 1 : , "sv" : Can people hold votes to scramble the teams?
sv_vote_kick_ban_duration : 20 : , "sv" : How long should a kick vote ban someone from the server? (in minutes)
sv_vote_ui_hide_disabled_issues : 1 : , "sv" : Suppress listing of disabled issues in the vote setup screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment