Advertisement
Guest User

server.cfg

a guest
Oct 6th, 2015
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 0 0
  1. //Left 4 Dead 2 Server.cfg
  2. //This file goes inside your L4D2 Server's "cfg" folder
  3.  
  4. //This is the name for your Left 4 Dead 2 Server
  5. hostname "My server name"
  6.  
  7. //Use this to prevent your custom hostfile and motdfile to be overwritten (rename the files accordingly)
  8. hostfile host.txt // default, rename if custom.
  9. motdfile motd.txt // default, rename if custom.
  10.  
  11. //Server Custom Settings
  12. sv_force_unreserved 1
  13. //sv_maxplayers "8"
  14. //sv_visiblemaxplayers "8"
  15.  
  16. //sm_cvar confogl_autoloader_config "" // Config/Matchmode to launch with the autoloader
  17. //sm_cvar confogl_autoloader_execcfg "" // Config to exec before starting confogl, leave empty if none.
  18.  
  19. //Steam group # to assign to server & making server private
  20. sv_steamgroup "xxxxxx" // To set more than one group, just seperate using commas and no spaces ex: 2334234,235665
  21. sv_steamgroup_exclusive 1 // 1 = Restrict Server to SteamGroup (ID Above)
  22.  
  23. //Gametypes sets the gametypes you want your server to run
  24. //----> Versus Only: sv_gametypes "versus"
  25. //----> Survival Only: sv_gametypes "survival"
  26. //----> Coop Only: sv_gametypes "coop"
  27. //----> Realism Only: sv_gametypes "realism"
  28. //----> Team Versus Only: sv_gametypes "teamversus"
  29. //----> Scavenge Only: sv_gametypes "teamscavenge"
  30. sv_gametypes "survival"
  31.  
  32. // No Tips from Game & Timeout
  33. sm_cvar sv_gameinstructor_disable 1 // Disable Game Instructor?
  34. sm_cvar sv_timeout 30 // Time players out after this many seconds after losing connection.
  35.  
  36. //Stableness and Networking stuff.
  37.  
  38. //30 tick
  39. sm_cvar fps_max 0 // Forces Server to perform the best it can.
  40. sm_cvar sv_minrate 30000
  41. sm_cvar sv_maxrate 30000
  42. sm_cvar sv_minupdaterate 30
  43. sm_cvar sv_maxupdaterate 30
  44. sm_cvar sv_mincmdrate 30
  45. sm_cvar sv_maxcmdrate 30
  46. sm_cvar sv_client_min_interp_ratio 0
  47. sm_cvar sv_client_max_interp_ratio 2
  48. sm_cvar nb_update_frequency 0.024
  49. sm_cvar net_splitpacket_maxrate 15000 // Keep this on ( Tickrate / 2 ) * 1000
  50.  
  51. //60tick
  52. //sm_cvar fps_max 0 // Forces Server to perform the best it can.
  53. //sm_cvar net_splitpacket_maxrate 30000 // Set Value to: (Tickrate / 2) * 1000
  54. //sm_cvar nb_update_frequency 0.024 // Lowest possible value before noticing stuttering common.
  55. //sm_cvar sv_minrate 30000 // Should never change this.
  56. //sm_cvar sv_maxrate 60000 // Set Value to: Tickrate * 1000
  57. //sm_cvar sv_mincmdrate 30 // Should never change this.
  58. //sm_cvar sv_maxcmdrate 101 // Set Value to Tickrate.
  59. //sm_cvar sv_minupdaterate 30 // Should never change this.
  60. //sm_cvar sv_maxupdaterate 101 // Set Value to Tickrate.
  61. //sm_cvar sv_client_min_interp_ratio -1
  62. //sm_cvar sv_client_max_interp_ratio 2
  63.  
  64. //Rcon password - Sets the password for remote rcon admin
  65. rcon_password "xxxxxxxx"
  66.  
  67. //Allow connections without creating lobby. Set to 1 to allow lobby connections only
  68. sv_allow_lobby_connect_only 0
  69.  
  70. //Region - This sets the lobby in which your server will be part of
  71. //You will want to set this to the closest location to your server
  72. //eastcoast - sv_region 0
  73. //westcoast - sv_region 1
  74. //south america - sv_region 2
  75. //europe - sv_region 3
  76. //asia - sv_region 4
  77. //australia - sv_region 5
  78. //middle east - sv_region 6
  79. //africa - sv_region 7
  80. //world - sv_region 255
  81. sv_region 1
  82.  
  83. // Server Logging
  84. sv_log_onefile 0 //Log server information to only one file.
  85. sv_logbans 1 //Log server bans in the server logs.
  86. sv_logecho 0 //Echo log information to the console.
  87. sv_logfile 1 //Log server information in the log file.
  88. sv_logflush 0 //Flush the log file to disk on each write (slow).
  89. sv_logsdir logs //Folder in the game directory where server logs will be stored.
  90. exec banned_user.cfg //List of banned steam ids.
  91. exec banned_ip.cfg //List of banned IP addresses.
  92. writeid
  93. writeip
  94.  
  95. //Allow use of cheats
  96. //0 = Off
  97. //1 = On
  98. sv_cheats 0
  99.  
  100. //All talk - Allow both teams to use audio chat to speak with each other
  101. //0 = Off
  102. //1 = On
  103. sv_alltalk 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement