Advertisement
Guest User

l4d2 STEAM [server.cfg]

a guest
Oct 22nd, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.31 KB | None | 0 0
  1. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  2. // server name
  3. hostname "" // write your server name here.
  4. motd_enabled 0
  5. sv_gametypes "campaign" // Default (coop) change this to the mode you want.
  6. sm_cvar sb_all_bot_game 0
  7. sv_maxplayers "8"
  8. sv_visiblemaxplayers "8"
  9. l4d_survivor_limit "8"
  10.  
  11. // rcon password
  12. rcon_password "" //Remote console password.
  13.  
  14. // Advanced RCON
  15. sv_rcon_banpenalty 60 //Number of minutes to ban users who fail rcon authentication.
  16. sv_rcon_maxfailures 10 //Max number of times a user can fail rcon authentication before being banned.
  17. sv_rcon_minfailures 5 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned.
  18. sv_rcon_minfailuretime 45 //Number of seconds to track failed rcon authentications.
  19.  
  20. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  21. // Server Contact.
  22. // If you want to use this as a steam group server, uncomment this and add your group ID
  23. // sv_steamgroup "5455205"
  24. // This states how players should contact you. Use your email or website
  25. sv_contact ""
  26.  
  27. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  28. //Internet, region, lobby setup
  29.  
  30. hostport 27015 //Host game server port. Default is 27015
  31.  
  32. sv_lan 0 //Server is a lan server (no heartbeat, no authentication, no non-class C addresses) [enable LAN = 1; disable LAN = 0]
  33. sv_region 255 //Region Codes:0=US East Coast;1=US West Coast;2=South America;3=Europe;4=Asia;5=Australia;6=Middle East;7=Africa;255=World
  34. sv_allow_lobby_connect_only 0 //If set, players may only join this server from matchmaking lobby and not connect directly. 0=disable 1=enable
  35.  
  36. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  37.  
  38. mp_disable_autokick 1 //Prevents a userid from being auto-kicked.
  39. sv_allow_wait_command 0 //Allow or disalow the wait command on clients connected to this server. 0=disable 1=enable
  40. sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks. 0=disable 1=enable (Single player mode)
  41. sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
  42. sv_consistency 1 //Force server to check file consistency for critical files. 0=disable 1=enable
  43. sv_forcepreload 1 //Force server side preloading. 0=disable 1=enable
  44. sv_pure_kick_clients 1 //1=Server will kick clients with mismatchng files. 0=Server will issue a warning to the client.
  45. sv_pure 0 //0=Disabled:1=Server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files. //2=Server will force all client files to come from steam and not load pure_server_whilelist.txt.
  46.  
  47. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  48. // Communication
  49.  
  50. sv_voiceenable 1 //Allows Voice Communication. 1=enable 0=disable
  51. sv_alltalk 1 //Players can hear all other players voice communication with no team restrictions. 0=disable 1=enable
  52.  
  53. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  54. // Logging
  55.  
  56. log on //Creates a logfile on=enable off=disable
  57. sv_logecho 0 //Echo log information to the console. 0=disable 1=enable
  58. sv_logfile 1 //Log server information in the log file. 0=disable 1=enable
  59. sv_log_onefile 0 //Log server information to only one file. 0=disable 1=enable
  60. sv_logbans 1 //Log server bans in the server logs. 0=disable 1=enable
  61. sv_logflush 0 //Flush the log files to disk on each write (slow). 0=disable 1=enable
  62. sv_logsdir logs //Folder in the game directory where server logs will be stored.
  63.  
  64. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  65. // Bans
  66.  
  67. // execute banned.cfgs at server start. Optimally at launch commandline.
  68. // Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
  69.  
  70. exec banned_user.cfg //Loads banned users id
  71. exec banned_ip.cfg //Loads banned users ip
  72. writeid //Wrties permanently banned user id to banned_user.cfg.
  73. writeip //Writes permanently banned user ip to banned_ip.cfg.
  74.  
  75. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  76.  
  77. sv_steamgroup "5355099" //This is your group's steam group id.
  78. sv_steamgroup_exclusive 1 //Make the server exclusive and private. 0=disable 1=enable
  79.  
  80. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  81. //Master server - "setmaster" - enable/disable master servers.
  82.  
  83. //Usage: setmaster
  84.  
  85. rate 10000 //default 10000; Max bytes/sec the host can recieve data
  86. sv_minrate 15000 //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
  87. sv_maxrate 30000 //default "0"; Max bandwidth rate allowed on server, 0 = unlimited
  88. sv_mincmdrate 20 //default 0; This sets the minimum value for cl_cmdrate. 0 = unlimited [cevo=67]
  89. sv_maxcmdrate 33 //default 40; (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. [cevo=101]
  90.  
  91. // end bandwidth rates/settings
  92.  
  93. mapchange cfg file server.cfg //Specify a file to execute on each map change.
  94. mapcyclefile mapcycle.txt //Specify a map cycle for the server.
  95.  
  96. ////////////////////////////////////////////////////////////////////////////////////////////////////////
  97. // Customized Server Play
  98. sv_downloadurl "" //Webserver where clients can download missing content.
  99. sv_filetransfercompression 1 //Use compression for transfers.0=disable 1=enable
  100. sv_gametypes "coop,versus,survival,scavenge" //Sets gametypes
  101. sv_unlag 1 //enable server lag compensation
  102. sv_maxunlag .5 //set the maximum number of seconds of lag the server will try to compensate for (if sv_unlag is 1).
  103.  
  104. ///////////////////////////////////////////////////////////////////////////////////////////////////////
  105. // Zombie Infected Health
  106.  
  107. sm_cvar survivor_allow_crawling 1
  108. sm_cvar tongue_range 1750
  109. sm_cvar z_vomit_range 1200
  110. sm_cvar sv_gravity 800
  111. sm_cvar z_vomit_maxdamagedist 900
  112. sm_cvar z_pounce_damage_delay 2.0
  113. sm_cvar z_witch_health 2200
  114. sm_cvar z_pounce_damage 20
  115. sm_cvar z_tank_speed 245
  116. sm_cvar z_tank_speed_vs 325
  117. sm_cvar z_tank_health 140000
  118.  
  119. ///////////////////////////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement