Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Left 4 Dead 2 Server.cfg
- //This file goes inside your L4D2 Server's "cfg" folder
- //This is the name for your Left 4 Dead 2 Server
- hostname "My server name"
- //Use this to prevent your custom hostfile and motdfile to be overwritten (rename the files accordingly)
- hostfile host.txt // default, rename if custom.
- motdfile motd.txt // default, rename if custom.
- //Server Custom Settings
- sv_force_unreserved 1
- //sv_maxplayers "8"
- //sv_visiblemaxplayers "8"
- //sm_cvar confogl_autoloader_config "" // Config/Matchmode to launch with the autoloader
- //sm_cvar confogl_autoloader_execcfg "" // Config to exec before starting confogl, leave empty if none.
- //Steam group # to assign to server & making server private
- sv_steamgroup "xxxxxx" // To set more than one group, just seperate using commas and no spaces ex: 2334234,235665
- sv_steamgroup_exclusive 1 // 1 = Restrict Server to SteamGroup (ID Above)
- //Gametypes sets the gametypes you want your server to run
- //----> Versus Only: sv_gametypes "versus"
- //----> Survival Only: sv_gametypes "survival"
- //----> Coop Only: sv_gametypes "coop"
- //----> Realism Only: sv_gametypes "realism"
- //----> Team Versus Only: sv_gametypes "teamversus"
- //----> Scavenge Only: sv_gametypes "teamscavenge"
- sv_gametypes "survival"
- // No Tips from Game & Timeout
- sm_cvar sv_gameinstructor_disable 1 // Disable Game Instructor?
- sm_cvar sv_timeout 30 // Time players out after this many seconds after losing connection.
- //Stableness and Networking stuff.
- //30 tick
- sm_cvar fps_max 0 // Forces Server to perform the best it can.
- sm_cvar sv_minrate 30000
- sm_cvar sv_maxrate 30000
- sm_cvar sv_minupdaterate 30
- sm_cvar sv_maxupdaterate 30
- sm_cvar sv_mincmdrate 30
- sm_cvar sv_maxcmdrate 30
- sm_cvar sv_client_min_interp_ratio 0
- sm_cvar sv_client_max_interp_ratio 2
- sm_cvar nb_update_frequency 0.024
- sm_cvar net_splitpacket_maxrate 15000 // Keep this on ( Tickrate / 2 ) * 1000
- //60tick
- //sm_cvar fps_max 0 // Forces Server to perform the best it can.
- //sm_cvar net_splitpacket_maxrate 30000 // Set Value to: (Tickrate / 2) * 1000
- //sm_cvar nb_update_frequency 0.024 // Lowest possible value before noticing stuttering common.
- //sm_cvar sv_minrate 30000 // Should never change this.
- //sm_cvar sv_maxrate 60000 // Set Value to: Tickrate * 1000
- //sm_cvar sv_mincmdrate 30 // Should never change this.
- //sm_cvar sv_maxcmdrate 101 // Set Value to Tickrate.
- //sm_cvar sv_minupdaterate 30 // Should never change this.
- //sm_cvar sv_maxupdaterate 101 // Set Value to Tickrate.
- //sm_cvar sv_client_min_interp_ratio -1
- //sm_cvar sv_client_max_interp_ratio 2
- //Rcon password - Sets the password for remote rcon admin
- rcon_password "xxxxxxxx"
- //Allow connections without creating lobby. Set to 1 to allow lobby connections only
- sv_allow_lobby_connect_only 0
- //Region - This sets the lobby in which your server will be part of
- //You will want to set this to the closest location to your server
- //eastcoast - sv_region 0
- //westcoast - sv_region 1
- //south america - sv_region 2
- //europe - sv_region 3
- //asia - sv_region 4
- //australia - sv_region 5
- //middle east - sv_region 6
- //africa - sv_region 7
- //world - sv_region 255
- sv_region 1
- // Server Logging
- sv_log_onefile 0 //Log server information to only one file.
- sv_logbans 1 //Log server bans in the server logs.
- sv_logecho 0 //Echo log information to the console.
- sv_logfile 1 //Log server information in the log file.
- sv_logflush 0 //Flush the log file to disk on each write (slow).
- sv_logsdir logs //Folder in the game directory where server logs will be stored.
- exec banned_user.cfg //List of banned steam ids.
- exec banned_ip.cfg //List of banned IP addresses.
- writeid
- writeip
- //Allow use of cheats
- //0 = Off
- //1 = On
- sv_cheats 0
- //All talk - Allow both teams to use audio chat to speak with each other
- //0 = Off
- //1 = On
- sv_alltalk 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement