Advertisement
Guest User

EN | server.cfg

a guest
Oct 31st, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.75 KB | None | 0 0
  1. // This file goes into:
  2. // %srcdsroot%\cstrike\cfg | Windows
  3. // %srcdsroot%/cstrike/cfg | Linux
  4. // %srcdsroot% = Your server root directory (srcds.exe directory)
  5.  
  6. // CSS Server Config | server.cfg
  7. // By Harmdhast
  8.  
  9.  
  10. // Host
  11. // -----------------------------------------
  12. // Global host settings
  13. // -----------------------------------------
  14.  
  15. hostname "Counter-Strike Source Server" // Server's name | Default : "Counter-Strike Source Server"
  16. sv_password "" // Server's password - Leave empty ("") for a public server | Default : ""
  17. sv_lan 0 // Server : LAN (1) / Internet and LAN (0) | Default : 0
  18. sv_region 3 // Server's region | 0 : US - East | 1 : US - West | 2 : South America | 3 : Europe | 4 : Asia | 5 : Australia | 6 : Middle East | 7 : Africa
  19.  
  20.  
  21. // Remote Control (RCon)
  22. // -----------------------------------------
  23. // The RCon allow you to administrate your server in game.
  24. //(Ban, Kick, Bots management, Map change, Cvar modifications...)
  25. // It's highly recommended to enable.
  26. // -----------------------------------------
  27.  
  28. rcon_password "" // RCon password - Leave empty ("") if you don't want to enable the RCon | Default : ""
  29. sv_rcon_maxfailures 10 // Max number of times a user can fail RCon authentication before being banned | Default : 10
  30. sv_rcon_minfailures 5 // Number of times a user can fail RCon authentication in sv_rcon_minfailuretime before being banned | Default : 5
  31. sv_rcon_minfailuretime 30 // Number of seconds to track failed RCon authentications | Default : 30
  32. sv_rcon_banpenalty 5 // Number of minutes to ban users who fail RCon authentication | Default : 5
  33.  
  34.  
  35. // Multiplayer
  36. // -----------------------------------------
  37. // Glabal game settings
  38. // -----------------------------------------
  39.  
  40. mp_friendlyfire 0 // Enable (1) / or Not (0) friendly fire | Default : 0
  41. mp_tkpunish 1 // Punish TK'ers on next round. Yes (1) / No (0) | Default : 1
  42. mp_hostagepenalty 5 // How many hostages a Terrorist can kill before being kicked, 0 to disable | Default : 5
  43. mp_autokick 0 // Kick idle/team-killing players. Yes (1) / No (0) | Default : 0
  44. mp_autoteambalance 1 // Force clients to auto-join the opposite team if they are not balanced. Yes (1) / No (0) | Default : 1
  45. mp_limitteams 2 // Maximum difference of players between the two teams | Default : 2
  46. mp_flashlight 1 // Enable (1) / or Not (0) flashlight | Default : 1
  47. mp_footsteps 1 // Enable (1) / or Not (0) footsteps | Default : 1
  48. sv_voiceenable 1 // Enable (1) / or Not (0) voice communication | Default : 1
  49. sv_alltalk 1 // Players can hear all other players, no team or dead/alive restrictions. Yes (1) / No (0) | Default : 1
  50. mp_chattime 10 // Amount of time in seconds players can chat after the game is over | Default : 10 | Max : 120
  51. mp_forcecamera 0 // Force dead players to first person mode, this disabling freelook Yes (1) / No (0) | Default : 0
  52. mp_allowspectators 1 // Enable (1) / or Not (0) spectators | Default : 1
  53. mp_fadetoblack 0 // Enable (1) / or Not (0) black screen for dead players | Default : 1
  54. sv_unlag 1 // Enable (1) / or Not (0) lag compensation (Allows fairness latency between players but can slow down the server) | Default : 1
  55. sv_pausable 0 // Can the server be paused by the players. Yes (1) / No (0) | Default : 0
  56. sv_consistency 1 // Force cleints to pass consistency check for critical files before joining server. Yes (1) / No (0) | Default : 1
  57. sv_timeout 60 // After this many seconds without a message from a client, the client is dropped | Default : 60
  58.  
  59.  
  60. // Round
  61. // -----------------------------------------
  62. // Rounds settings
  63. // -----------------------------------------
  64.  
  65. mp_roundtime 2.5 // How much time in minutes does a round last | Default : 2.5 | Min : 1 - Max : 9
  66. mp_maxrounds 0 // Amount of round to play before server changes maps | Default : 0 (Unlimited)
  67. mp_fraglimit 0 // Amount of frags a player can exceed before changing maps | Default : 0 (Unlimited)
  68. mp_timelimit 15 // How much time in minutes does a map lasts | Default : 15 | Max : 0 (Unlimited)
  69. mp_freezetime 6 // Time in seconds to keep players frozen when the round starts | Default : 6 | Max : 60
  70. mp_spawnprotectiontime 5 // Time in seconds to Kick players who team-kill after round restart | Default : 5
  71. mp_startmoney 800 // Amount of money each player gets when they connect | Default : 800 | Min : 800 - Max : 16000
  72. mp_buytime 0.5 // Specifies the time, in minutes, that players are allowed to buy | Default : 0.5
  73. mp_c4timer 45 // The amount of time in seconds before bomb explodes after planted | Default : 45 | Min : 10 - Max : 90
  74.  
  75.  
  76. // Download
  77. // -----------------------------------------
  78. // Downloads Settigns
  79. // -----------------------------------------
  80.  
  81. sv_allowupload 1 // Allow players to upload their decals to the server. Yes (1) / No (0) | Default : 1
  82. sv_allowdownload 1 // Allow players to download missing files to connect the server. Yes (1) / No (0) | Default : 1
  83. sv_downloadurl "" // Downloading mirror (Useful for maps) [ Default : ""
  84. mp_decals 200 // Max number of visible decals at the same time | Default : 200
  85.  
  86.  
  87. // Logs
  88. // -----------------------------------------
  89. // Backup server actions
  90. // -----------------------------------------
  91.  
  92. log on // Enable (on) / or Not (off) the logging | Default : on
  93. sv_logbans 1 // Enable (1) / or Not (0) bans backup in the server logs | Default : 1
  94. sv_logecho 0 // Enable (1) / or Not (0) echo log information to the console | Default : 0
  95. sv_logfile 1 // Enable (1) / or Not (0) server information backup in the log file | Default : 1
  96. sv_log_onefile 0 // Enable (1) / or Not (0) server information backup to only one file (No more log files at each restart) | Default : 0
  97. sv_logsdir "logs" // Folder where server logs will be stored (If the folder doesn't exists, it will be created in the "cstrike" folder of your server root directory) | Default : "logs"
  98. mp_logdetail 0 // Attacks backup | 0 = Off - 1 = Enemy - 2 = Teammates - 3 = Both | Default : 3
  99.  
  100.  
  101. // Source Engine
  102. // -----------------------------------------
  103. // Physics settings
  104. // -----------------------------------------
  105.  
  106. sv_maxspeed 320 // Players maximum speed in the engine | Default : 320
  107. sv_gravity 800 // Gravity | Default : 800
  108. sv_stepsize 18 // Step size (Wallclimbing with high value) | Default : 18
  109. sv_accelerate 5 // Speed acceleration on the ground | Default : 5
  110. sv_friction 4 // Friction coefficient in air | Default : 4
  111. sv_airaccelerate 10 // Speed acceleration in air | Default : 10 | Surf : 150 - 1000
  112. sv_wateraccelerate 10 // Speed acceleration in water | Default : 10
  113. sv_waterfriction 1 // Friction coefficient in water | Default : 1
  114. sv_maxvelocity 3500 // Maximum speed any ballistically moving object is allowed to attain per axis | Default : 3500
  115. phys_pushscale 1 // Moving objects speed (Barils, Chaises, Servers objects) | Default : 1
  116. phys_timescale 1 // Moving objects speed over time (Barils, Chaises, Servers objects) | Default : 1
  117. sv_turbophysics 0 // Enable (1) / or Not (0) moving objects with action key | Default : 0
  118.  
  119.  
  120. // Bandwidth
  121. // -----------------------------------------
  122. // Bandwidth settings
  123. // -----------------------------------------
  124.  
  125. fps_max 0 // Max frames per seconds | Default : 0
  126. sv_minrate 7500 // Minimal rate value | Default : 7500
  127. sv_maxrate 50000 // Maximal rate value | Default : 50000
  128. sv_minupdaterate 30 // Minimum number of times the server sends back the position of all players to the client per second | Default : 30
  129. sv_maxupdaterate 66 // Maximum number of times the server sends back the position of all players to the client per second | Default : 66
  130. sv_mincmdrate 20 // Minimum number of times the client sends his position to the server per second | Default : 20
  131. sv_maxcmdrate 66 // Maximum number of times the client sends his position to the server per second | Default : 66
  132. decalfrequency 30 // Delay in seconds a player can spray their decal again | Default : 30
  133. sv_client_predict 1 // Force cl_predict value for the client (cl_predict : Perform client side prediction ex: movement not received by the server) | -1 : let clients set cl_predict to anything | 0 : Force cl_predict to 0 | 1 : Force cl_predict to 1 | Default : 1
  134. sv_client_min_interp_ratio 1 // Force minimum cl_interp_ratio value for the client | Default : 1
  135. sv_client_max_interp_ratio 2 // Force maximum cl_interp_ratio value for the client | Default : 2
  136. sv_client_cmdrate_difference 20 // Define the difference between cl_cmdrate and cl_updaterate | Default : 20
  137.  
  138.  
  139. // Misc
  140. // -----------------------------------------
  141. // Misc Settings
  142. // -----------------------------------------
  143.  
  144. sv_cheats 0 // Allow cheats on the server. Yes (1) / No (0) | Default : 0
  145. sv_allow_color_correction 0 // Allow the color correction. Yes (1) / No (0) | Default : 0
  146. sv_allow_wait_command 0 // Allow the wait command. Yes (1) / No (0) | Default : 0
  147.  
  148.  
  149. // Bans
  150. // -----------------------------------------
  151. // Load ban files
  152. // If you have some errors in console :
  153. // Create those files in the Cfg folder
  154. // banned_user.cfg
  155. // banned_ip.cfg
  156. // -----------------------------------------
  157. exec banned_user.cfg // File which contains the banned SteamIDs from the server
  158. exec banned_ip.cfg // File which contains the banned IPs from the server
  159.  
  160.  
  161. // Orangebox
  162. // -----------------------------------------
  163. // Orangebox settings
  164. // Uncomment (delete "//" from the beginning of the line) if you have a Orangebox server
  165. // -----------------------------------------
  166.  
  167. //sv_nomvp 0 // Enable (0) / or Not (1) the stars from MVP mode | Default : 0
  168. //sv_nonemesis 0 // Enable (0) / or Not (1) the nemesis | Default : 0
  169. //sv_nostats 0 // Enable (0) / or Not (1) stats | Default : 0
  170. //sv_disablefreezecam 0 // Enable (0) / or Not (1) killcam | Default : 0
  171. //mp_round_restart_delay 5 // Delay before restart the round in seconds | Default : 5
  172.  
  173.  
  174. // Execs
  175. // -----------------------------------------
  176. // Add here the files executions
  177. // exec myconfig.cfg
  178. // -----------------------------------------
  179.  
  180.  
  181.  
  182. // SourceTV
  183. // -----------------------------------------
  184. // SourceTV settings
  185. // Record games and wars.
  186. // -----------------------------------------
  187.  
  188. // Global
  189. tv_enable 0 // Enable (1) / or Not (0) the SourceTV on the server (use command "rcon tv_enable 1" to enable the TV when you need to) | Default : 0
  190. tv_name "SourceTV" // SourceTV's name | Default : "SourceTV"
  191. tv_port 27020 // SourceTV's port | Default : 27020
  192. tv_password "" // Password to connect to the TV as a spectator | Default : ""
  193. tv_maxclients 128 // SourceTV maximum clients | Default : 128
  194. tv_autorecord 0 // Auto record all games (format: auto-AAAAMMJJ-hhmm-map.dem). Yes (1) / No (0) | Default : 0
  195. tv_maxrate 5000 // Maximum bandwidth allowed to each client in bytes/seconds | 0 : Unlimited | Default : 5000
  196. tv_debug 0 // Show debug messages. Yes (1) / No (0) | Default : 0
  197. tv_snapshotrate 16 // Maximum snapshots of the SourceTV by seconds | Default : 1
  198. tv_timeout 30 // Seconds without receiving informations before being dropped | Default : 30
  199.  
  200. // Game
  201. tv_delay 60 // SourceTV interval in seconds | Default : 60 | Recommended : 60 - 90
  202. tv_delaymapchange 0 // Wait the end of the broadcasting before changing map. Yes (1) / No (0) | Default : 0
  203. tv_relayvoice 1 // Transmit game voices. Yes (1) / No (0) | Default : 1
  204.  
  205. // Spectators
  206. tv_allow_camera_man 0 // Allow spectators to become cameraman. Yes (1) / No (0) | Default : 0
  207. tv_allow_static_shots 1 // Allow static cameras. Yes (1) / No (0) | Default : 1
  208. tv_chatgroupsize 0 // Maximum players in each chat group. Setting this value to "0" disable the chat groups and players can speak each other. Chats groups reduce noises and save Bandwidth | Default : 0
  209. tv_chattimelimit 3 // Seconds before a spectator can write a message again | Default : 3
  210. tv_title "SourceTV" // Broadcast title | Default : "SourceTV"
  211. tv_transmitall 0 // Enable (1) / or Not (0) changing view of the spectators. Uses more bandwidth | Default : 0
  212.  
  213.  
  214. // Proxy / Relay
  215. tv_autoretry 0 // Enable (1) / or Not (0) the connection retries to the proxies after a timeout | Default : 0
  216. tv_relaypassword "" // Password to connect to the TV as a proxy | Default : ""
  217. tv_dispatchmode 1 // Dispatch clients on proxies / relay | 0 : Never | 1 : If appropriate | 2 : Always | Default : 1
  218.  
  219.  
  220.  
  221. // Commands
  222. // -----------------------------------------
  223. // tv_clients // Show the spectators
  224. // tv_msg <message> // Send a message to the spectators
  225. // tv_nochat <0|1> // Enable (1) / or Not (0) the other spectators chat (client only).
  226. // tv_relay <0|1> // Enable (1) / or Not (0) SourceTV relay
  227. // tv_retry // Reconnect to the SourceTV as a relay
  228. // tv_status // Show the SourceTV informations.
  229. // tv_stop // Stop the SourceTV broadcast.
  230. // tv_record <demoname> // Start the record of the SourceTV
  231. // tv_stoprecord // Stop the SourceTV demo record.
  232. // -----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement