Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This file goes into:
- // %srcdsroot%\cstrike\cfg | Windows
- // %srcdsroot%/cstrike/cfg | Linux
- // %srcdsroot% = Your server root directory (srcds.exe directory)
- // CSS Server Config | server.cfg
- // By Harmdhast
- // Host
- // -----------------------------------------
- // Global host settings
- // -----------------------------------------
- hostname "Counter-Strike Source Server" // Server's name | Default : "Counter-Strike Source Server"
- sv_password "" // Server's password - Leave empty ("") for a public server | Default : ""
- sv_lan 0 // Server : LAN (1) / Internet and LAN (0) | Default : 0
- 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
- // Remote Control (RCon)
- // -----------------------------------------
- // The RCon allow you to administrate your server in game.
- //(Ban, Kick, Bots management, Map change, Cvar modifications...)
- // It's highly recommended to enable.
- // -----------------------------------------
- rcon_password "" // RCon password - Leave empty ("") if you don't want to enable the RCon | Default : ""
- sv_rcon_maxfailures 10 // Max number of times a user can fail RCon authentication before being banned | Default : 10
- sv_rcon_minfailures 5 // Number of times a user can fail RCon authentication in sv_rcon_minfailuretime before being banned | Default : 5
- sv_rcon_minfailuretime 30 // Number of seconds to track failed RCon authentications | Default : 30
- sv_rcon_banpenalty 5 // Number of minutes to ban users who fail RCon authentication | Default : 5
- // Multiplayer
- // -----------------------------------------
- // Glabal game settings
- // -----------------------------------------
- mp_friendlyfire 0 // Enable (1) / or Not (0) friendly fire | Default : 0
- mp_tkpunish 1 // Punish TK'ers on next round. Yes (1) / No (0) | Default : 1
- mp_hostagepenalty 5 // How many hostages a Terrorist can kill before being kicked, 0 to disable | Default : 5
- mp_autokick 0 // Kick idle/team-killing players. Yes (1) / No (0) | Default : 0
- mp_autoteambalance 1 // Force clients to auto-join the opposite team if they are not balanced. Yes (1) / No (0) | Default : 1
- mp_limitteams 2 // Maximum difference of players between the two teams | Default : 2
- mp_flashlight 1 // Enable (1) / or Not (0) flashlight | Default : 1
- mp_footsteps 1 // Enable (1) / or Not (0) footsteps | Default : 1
- sv_voiceenable 1 // Enable (1) / or Not (0) voice communication | Default : 1
- sv_alltalk 1 // Players can hear all other players, no team or dead/alive restrictions. Yes (1) / No (0) | Default : 1
- mp_chattime 10 // Amount of time in seconds players can chat after the game is over | Default : 10 | Max : 120
- mp_forcecamera 0 // Force dead players to first person mode, this disabling freelook Yes (1) / No (0) | Default : 0
- mp_allowspectators 1 // Enable (1) / or Not (0) spectators | Default : 1
- mp_fadetoblack 0 // Enable (1) / or Not (0) black screen for dead players | Default : 1
- sv_unlag 1 // Enable (1) / or Not (0) lag compensation (Allows fairness latency between players but can slow down the server) | Default : 1
- sv_pausable 0 // Can the server be paused by the players. Yes (1) / No (0) | Default : 0
- sv_consistency 1 // Force cleints to pass consistency check for critical files before joining server. Yes (1) / No (0) | Default : 1
- sv_timeout 60 // After this many seconds without a message from a client, the client is dropped | Default : 60
- // Round
- // -----------------------------------------
- // Rounds settings
- // -----------------------------------------
- mp_roundtime 2.5 // How much time in minutes does a round last | Default : 2.5 | Min : 1 - Max : 9
- mp_maxrounds 0 // Amount of round to play before server changes maps | Default : 0 (Unlimited)
- mp_fraglimit 0 // Amount of frags a player can exceed before changing maps | Default : 0 (Unlimited)
- mp_timelimit 15 // How much time in minutes does a map lasts | Default : 15 | Max : 0 (Unlimited)
- mp_freezetime 6 // Time in seconds to keep players frozen when the round starts | Default : 6 | Max : 60
- mp_spawnprotectiontime 5 // Time in seconds to Kick players who team-kill after round restart | Default : 5
- mp_startmoney 800 // Amount of money each player gets when they connect | Default : 800 | Min : 800 - Max : 16000
- mp_buytime 0.5 // Specifies the time, in minutes, that players are allowed to buy | Default : 0.5
- mp_c4timer 45 // The amount of time in seconds before bomb explodes after planted | Default : 45 | Min : 10 - Max : 90
- // Download
- // -----------------------------------------
- // Downloads Settigns
- // -----------------------------------------
- sv_allowupload 1 // Allow players to upload their decals to the server. Yes (1) / No (0) | Default : 1
- sv_allowdownload 1 // Allow players to download missing files to connect the server. Yes (1) / No (0) | Default : 1
- sv_downloadurl "" // Downloading mirror (Useful for maps) [ Default : ""
- mp_decals 200 // Max number of visible decals at the same time | Default : 200
- // Logs
- // -----------------------------------------
- // Backup server actions
- // -----------------------------------------
- log on // Enable (on) / or Not (off) the logging | Default : on
- sv_logbans 1 // Enable (1) / or Not (0) bans backup in the server logs | Default : 1
- sv_logecho 0 // Enable (1) / or Not (0) echo log information to the console | Default : 0
- sv_logfile 1 // Enable (1) / or Not (0) server information backup in the log file | Default : 1
- 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
- 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"
- mp_logdetail 0 // Attacks backup | 0 = Off - 1 = Enemy - 2 = Teammates - 3 = Both | Default : 3
- // Source Engine
- // -----------------------------------------
- // Physics settings
- // -----------------------------------------
- sv_maxspeed 320 // Players maximum speed in the engine | Default : 320
- sv_gravity 800 // Gravity | Default : 800
- sv_stepsize 18 // Step size (Wallclimbing with high value) | Default : 18
- sv_accelerate 5 // Speed acceleration on the ground | Default : 5
- sv_friction 4 // Friction coefficient in air | Default : 4
- sv_airaccelerate 10 // Speed acceleration in air | Default : 10 | Surf : 150 - 1000
- sv_wateraccelerate 10 // Speed acceleration in water | Default : 10
- sv_waterfriction 1 // Friction coefficient in water | Default : 1
- sv_maxvelocity 3500 // Maximum speed any ballistically moving object is allowed to attain per axis | Default : 3500
- phys_pushscale 1 // Moving objects speed (Barils, Chaises, Servers objects) | Default : 1
- phys_timescale 1 // Moving objects speed over time (Barils, Chaises, Servers objects) | Default : 1
- sv_turbophysics 0 // Enable (1) / or Not (0) moving objects with action key | Default : 0
- // Bandwidth
- // -----------------------------------------
- // Bandwidth settings
- // -----------------------------------------
- fps_max 0 // Max frames per seconds | Default : 0
- sv_minrate 7500 // Minimal rate value | Default : 7500
- sv_maxrate 50000 // Maximal rate value | Default : 50000
- sv_minupdaterate 30 // Minimum number of times the server sends back the position of all players to the client per second | Default : 30
- sv_maxupdaterate 66 // Maximum number of times the server sends back the position of all players to the client per second | Default : 66
- sv_mincmdrate 20 // Minimum number of times the client sends his position to the server per second | Default : 20
- sv_maxcmdrate 66 // Maximum number of times the client sends his position to the server per second | Default : 66
- decalfrequency 30 // Delay in seconds a player can spray their decal again | Default : 30
- 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
- sv_client_min_interp_ratio 1 // Force minimum cl_interp_ratio value for the client | Default : 1
- sv_client_max_interp_ratio 2 // Force maximum cl_interp_ratio value for the client | Default : 2
- sv_client_cmdrate_difference 20 // Define the difference between cl_cmdrate and cl_updaterate | Default : 20
- // Misc
- // -----------------------------------------
- // Misc Settings
- // -----------------------------------------
- sv_cheats 0 // Allow cheats on the server. Yes (1) / No (0) | Default : 0
- sv_allow_color_correction 0 // Allow the color correction. Yes (1) / No (0) | Default : 0
- sv_allow_wait_command 0 // Allow the wait command. Yes (1) / No (0) | Default : 0
- // Bans
- // -----------------------------------------
- // Load ban files
- // If you have some errors in console :
- // Create those files in the Cfg folder
- // banned_user.cfg
- // banned_ip.cfg
- // -----------------------------------------
- exec banned_user.cfg // File which contains the banned SteamIDs from the server
- exec banned_ip.cfg // File which contains the banned IPs from the server
- // Orangebox
- // -----------------------------------------
- // Orangebox settings
- // Uncomment (delete "//" from the beginning of the line) if you have a Orangebox server
- // -----------------------------------------
- //sv_nomvp 0 // Enable (0) / or Not (1) the stars from MVP mode | Default : 0
- //sv_nonemesis 0 // Enable (0) / or Not (1) the nemesis | Default : 0
- //sv_nostats 0 // Enable (0) / or Not (1) stats | Default : 0
- //sv_disablefreezecam 0 // Enable (0) / or Not (1) killcam | Default : 0
- //mp_round_restart_delay 5 // Delay before restart the round in seconds | Default : 5
- // Execs
- // -----------------------------------------
- // Add here the files executions
- // exec myconfig.cfg
- // -----------------------------------------
- // SourceTV
- // -----------------------------------------
- // SourceTV settings
- // Record games and wars.
- // -----------------------------------------
- // Global
- 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
- tv_name "SourceTV" // SourceTV's name | Default : "SourceTV"
- tv_port 27020 // SourceTV's port | Default : 27020
- tv_password "" // Password to connect to the TV as a spectator | Default : ""
- tv_maxclients 128 // SourceTV maximum clients | Default : 128
- tv_autorecord 0 // Auto record all games (format: auto-AAAAMMJJ-hhmm-map.dem). Yes (1) / No (0) | Default : 0
- tv_maxrate 5000 // Maximum bandwidth allowed to each client in bytes/seconds | 0 : Unlimited | Default : 5000
- tv_debug 0 // Show debug messages. Yes (1) / No (0) | Default : 0
- tv_snapshotrate 16 // Maximum snapshots of the SourceTV by seconds | Default : 1
- tv_timeout 30 // Seconds without receiving informations before being dropped | Default : 30
- // Game
- tv_delay 60 // SourceTV interval in seconds | Default : 60 | Recommended : 60 - 90
- tv_delaymapchange 0 // Wait the end of the broadcasting before changing map. Yes (1) / No (0) | Default : 0
- tv_relayvoice 1 // Transmit game voices. Yes (1) / No (0) | Default : 1
- // Spectators
- tv_allow_camera_man 0 // Allow spectators to become cameraman. Yes (1) / No (0) | Default : 0
- tv_allow_static_shots 1 // Allow static cameras. Yes (1) / No (0) | Default : 1
- 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
- tv_chattimelimit 3 // Seconds before a spectator can write a message again | Default : 3
- tv_title "SourceTV" // Broadcast title | Default : "SourceTV"
- tv_transmitall 0 // Enable (1) / or Not (0) changing view of the spectators. Uses more bandwidth | Default : 0
- // Proxy / Relay
- tv_autoretry 0 // Enable (1) / or Not (0) the connection retries to the proxies after a timeout | Default : 0
- tv_relaypassword "" // Password to connect to the TV as a proxy | Default : ""
- tv_dispatchmode 1 // Dispatch clients on proxies / relay | 0 : Never | 1 : If appropriate | 2 : Always | Default : 1
- // Commands
- // -----------------------------------------
- // tv_clients // Show the spectators
- // tv_msg <message> // Send a message to the spectators
- // tv_nochat <0|1> // Enable (1) / or Not (0) the other spectators chat (client only).
- // tv_relay <0|1> // Enable (1) / or Not (0) SourceTV relay
- // tv_retry // Reconnect to the SourceTV as a relay
- // tv_status // Show the SourceTV informations.
- // tv_stop // Stop the SourceTV broadcast.
- // tv_record <demoname> // Start the record of the SourceTV
- // tv_stoprecord // Stop the SourceTV demo record.
- // -----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement