Advertisement
Guest User

server.cfg

a guest
Apr 2nd, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.50 KB | None | 0 0
  1. // Use this file to configure your DEDICATED server.
  2. // This config file is executed on server start.
  3. // This is a comment
  4.  
  5. //GENERAL
  6. // default server name. Change to "Bob's Server", etc.
  7. hostname "Counter-Strike 1.6 Server"
  8.  
  9. //sv_lan <0/1> 0=Public/LAN, 1=LAN Default: 0
  10. sv_lan 0
  11.  
  12. // sv_contact <email/web address> Contact email for server admin
  13. sv_contact "[email protected]"
  14.  
  15. // sv_region <1-7> - The region of the world to report the server in.
  16. // -1 World
  17. // 0 US East coast
  18. // 1 US West coast
  19. // 2 South America
  20. // 3 Europe
  21. // 4 Asia
  22. // 5 Australia
  23. // 6 Middle East
  24. // 7 Africa
  25. sv_region 0
  26.  
  27. //ROUND
  28. // mp_buytime <seconds> - The amount of time to allow purchasing weapons/equipment on round start
  29. mp_buytime 0.45
  30.  
  31. // mp_c4timer <seconds> - How long before the c4 explodes
  32. mp_c4timer 45
  33.  
  34. // mp_timelimit <minutes> - How long each map should be played before switching levels
  35. mp_timelimit 25
  36.  
  37. // mp_freezetime <seconds> - How long players are unable to move during round starts
  38. mp_freezetime 5
  39.  
  40. //mp_roundtime <1-9> How much time in minutes does a round last. Default: 5
  41. mp_roundtime 5
  42.  
  43. // mp_startmoney <money> - Specify how much money players start off with
  44. mp_startmoney 800
  45.  
  46. //mp_friendlyfire <0/1> Turn on/off friendlyfire. Default: Off
  47. mp_friendlyfire 0
  48.  
  49. //mp_footsteps <0/1> Turn on/off footsteps. Default: On
  50. mp_footsteps 1
  51.  
  52. //mp_flashlight <0/1> Turn on/off the ability for clients to use flashlight. Default: Off
  53. mp_flashlight 0
  54.  
  55. //mp_fraglimit <##> Amount of frags a player can exceed before changing maps. Default: 0
  56. mp_fraglimit 0
  57.  
  58. //mp_maxrounds <##> Amount of round to play before server changes maps. Default: 0
  59. mp_maxrounds 0
  60.  
  61. //mp_winlimit <0-20> Max number of rounds one team can win before server changes maps. Default: 0
  62. mp_winlimit 0
  63.  
  64. // mp_spawnprotectiontime Time in seconds to Kick players who team-kill after round restart. Default: 5
  65. mp_spawnprotectiontime 5
  66.  
  67. // mp_autoteambalance <0/1> Force clients to auto-join the opposite team if they are not balanced. Default: On
  68. mp_autoteambalance 1
  69.  
  70. //mp_limitteams <0-20> Max # of players 1 team can have over another. Default: 2
  71. mp_limitteams 2
  72.  
  73. //mp_autokick <0/1> Kick idle/team-killing players. Default Off
  74. mp_autokick 0
  75.  
  76. //mp_tkpunish <0/1> Punish TK'ers on next round? Default: On
  77. mp_tkpunish 1
  78.  
  79. //mp_hostagepenalty <##> How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5
  80. mp_hostagepenalty 5
  81.  
  82. // disable autoaim
  83. sv_aim 0
  84.  
  85. // sv_cheats <0/1> - Whether to allow game cheat commands to be used by clients. 0 = off | 1 = on
  86. sv_cheats 0
  87.  
  88. //VOICE-CHATTING
  89. //sv_voiceenable <0/1> Allow clients to use mic. Default: 1
  90. sv_voiceenable 1
  91.  
  92. //sv_alltalk <0/1> Players can hear all other players, no team restrictions. Default: Off
  93. sv_alltalk 0
  94.  
  95. //sv_voicecodec Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default:voice_speex
  96. sv_voicecodec voice_speex
  97.  
  98. //sv_voicequality <1-5> the bps of the voice.
  99. //1-2400bps
  100. //2-6000bps-DEFAULT
  101. //3-8000bps
  102. //4-11200bps
  103. //5-1520bps
  104. sv_voicequality 2
  105.  
  106. //mp_chattime <0-120> amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10
  107. mp_chattime 10
  108.  
  109. //RATES-SPEEDS
  110. //sv_gravity World Gravity Default: 800
  111. sv_gravity 800
  112.  
  113. //sv_maxvelocity Maximum speed any ballistically moving object is allowed to attain per axis. Default: 3500
  114. sv_maxvelocity 3500
  115.  
  116. //sv_maxspeed Maximum speed a player can move. Default: 320
  117. sv_maxspeed 320
  118.  
  119. //CLEINT CVARS
  120. //decalfrequency Amount of time in seconds a player can spray their decal. Default: 10
  121. decalfrequency 10
  122.  
  123. //sv_consistency <0/1> Force cleints to pass consistency check for critical files before joining server? Default: 0
  124. sv_consistency 0
  125.  
  126. //sv_timeout <##> After this many seconds without a message from a client, the client is dropped. Default: 65
  127. sv_timeout 65
  128.  
  129. //mp_playerid <0/1/2> Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0
  130. mp_playerid 0
  131.  
  132. // sv_pausable <0/1> - Whether to allow clients to pause the server. 0 = off | 1 = on
  133. sv_pausable 0
  134.  
  135. //sv_allowupload <0/1> Allow clients to upload their custom decals to the server. Default: 1
  136. sv_allowupload 1
  137.  
  138. //sv_allowdownload <0/1> Allow clients to downnload files. Default: 1
  139. sv_allowdownload 1
  140.  
  141. //sv_unlag <0/1> Enables player lag compensation. Default: 1
  142. sv_unlag 1
  143.  
  144. //SPECTATING
  145. //mp_allowspectators <0/1> Allow spectators on the server. Default: 1
  146. mp_allowspectators 1
  147.  
  148. //mp_forcecamera <0/1> Force dead players to first person mode, effectively disabling freelook. Default: Off
  149. mp_forcecamera 0
  150.  
  151. //sv_hltv <0/1> Enables HLTV on the server. Default: 0
  152. sv_hltv 0
  153.  
  154. //BANDWIDTH RATES
  155. //sv_minrate <0-25000> Min bandwidth rate allowed on server. Default: 0 (unlimited)
  156. sv_minrate 0
  157.  
  158. // sv_maxrate <1000-25000> - The maximum bandwidth rate the server is allowed to transmit to clients
  159. sv_maxrate 10000
  160.  
  161. //sv_maxupdaterate Maximum updates per second that the server will allow. Default: 60
  162. sv_maxupdaterate 60
  163.  
  164. //sv_minupdaterate Minimum updates per second that the server will allow. Default: 10
  165. sv_minupdaterate 10
  166.  
  167. //sys_ticrate Max FPS (1000 Max) the server is to render
  168. sys_ticrate 200
  169.  
  170. //SERVER LOGGING
  171. // log <on/off> Enable server logging? Default: Off
  172. log off
  173.  
  174. //sv_logbans <0/1> Log server bans in the server logs. Default: 0
  175. sv_logbans 0
  176.  
  177. // sv_logecho <0/1> Echo log information to the console. Default: 1
  178. sv_logecho 1
  179.  
  180. // sv_logfile <0/1> Log server information in the log file. Default: 1
  181. sv_logfile 1
  182.  
  183. //sv_log_onefile <0/1> Log server information to only one file. Default: 0
  184. sv_log_onefile 0
  185.  
  186. //sv_logsdir Folder in the game directory where server logs will be stored.
  187.  
  188. //RECON
  189. //rcon_password Set rcon passsword. Leave blank to disable rcon
  190. rcon_password ""
  191.  
  192. //sv_rcon_banpenalty <mins> Number of minutes to ban users who fail rcon authentication. Default: 0
  193. sv_rcon_banpenalty 0
  194.  
  195. //sv_rcon_maxfailures <0-20> Max number of times a user can fail rcon authentication before being banned. Default: 10
  196. sv_rcon_maxfailures 10
  197.  
  198. //sv_rcon_minfailures <0-20> Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5
  199. sv_rcon_minfailures 5
  200.  
  201. //sv_rcon_minfailuretime <1-seconds> Number of seconds to track failed rcon authentications. Default: 30
  202. sv_rcon_minfailuretime 30
  203.  
  204. // lists of banned players.
  205. // load ban files
  206. exec listip.cfg
  207. exec banned.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement