Config files
server.cfg79 lines · 2.3 KB// ****************************************************************************
// Counter-Strike: Source
// Config - server.cfg
// Date - 06/12/2023
// ****************************************************************************
// hostname - Hostname for server.
hostname "SERVERNAME"
// rcon_password - remote console password.
rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
sv_password ""
// map - Start playing on specified map.
// map "de_dust2"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers
mapcyclefile "mapcycle.txt"
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0
// sv_logfile - Log server information in the log file.
sv_logfile 1
// sv_logbans - Log server bans in the server logs.
sv_logbans 1
// sv_voiceenable - Enable voice communications.
sv_voiceenable 1
// sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk 0
// sv_allowupload - Allow clients to upload customizations files.
sv_allowupload 1
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 0
// mp_autoteambalance - Toggle auto-team balance.
mp_autoteambalance 1
// mp_freezetime - how many seconds to keep players frozen when the round starts
mp_freezetime 6
// mp_friendlyfire - Allows team members to injure other members of their team.
mp_friendlyfire 0
// mp_limitteams - Max # of players 1 team can have over another (0 disables check)
mp_limitteams 2
// mp_mapcycle_empty_timeout_seconds - If nonzero, server will cycle to the next map if it has been empty on the current map for N seconds.
mp_mapcycle_empty_timeout_seconds 900
// mp_tkpunish - Enable/disable teamkill punishing (0: disabled, default, 1: enabled)
mp_tkpunish 0
// mp_maxrounds - Max number of rounds to play before server changes maps.
mp_maxrounds 0
// mp_roundtime - How many minutes each round takes.
mp_roundtime 2
// mp_round_restart_delay - Number of seconds to delay before restarting a round after a win
mp_round_restart_delay 2
// mp_timelimit - Game time per map in minutes.
mp_timelimit 0
What these settings mean
Quick reference for the 18 most important keys in this Counter-Strike: Source config. Hover or tap any key to see what it controls — useful when you're tuning a server for the first time and don't want to grep through the upstream wiki.
Core
2 settingshostname- Server name shown in the in-game browser. Keep it under 64 characters and avoid colour codes if you want clean Steam listings.
sv_password- Optional join password. Empty string means a public server.
Network
4 settingssv_lan- 1 forces LAN-only mode (no Steam heartbeat). Set 0 for any internet-facing server.
sv_allowupload- 1 lets clients upload custom sprays. Disable to mitigate inappropriate content / exploits.
sv_allowdownload- 1 lets clients download missing maps / models from the server. Slow — better to pair with sv_downloadurl.
sv_downloadurl- Fast-DL HTTP URL for clients to fetch missing assets. Massively faster than Source's built-in trickle download.
Gameplay
7 settingsmp_autoteambalance- 1 forces auto team balance. Usually 0 in competitive — let captains pick.
mp_freezetime- Buy-period freeze time at round start, in seconds. 15 for competitive, 6 for casual / DM warm-ups.
mp_friendlyfire- 1 enables team damage. Required for competitive 5v5; usually off for community DM.
mp_limitteams- Maximum allowed team-size difference. 0 = unlimited, 2 = standard, 1 = strict balance.
mp_maxrounds- Total rounds in the match before map change / draw. MR12 = 24, MR15 = 30.
mp_roundtime- Round duration in minutes. 1.92 = competitive 5v5; 3.0 = casual.
mp_timelimit- Map time limit in minutes (TF2 / casual). 0 disables.
Voice
2 settingssv_voiceenable- Master switch for in-game voice chat. 1 enabled, 0 disabled server-wide.
sv_alltalk- 1 lets dead players hear the living and both teams hear each other. Off by default for competitive integrity.
RCON
1 settingrcon_password- Remote console password. Use a long random string — Source RCON is unencrypted, so anyone sniffing your wire can grab it if it's weak.
Logging
2 settingssv_logfile- 1 writes log lines to disk in addition to stdout.
sv_logbans- 1 logs ban / kick events. Always on for any moderated server.
More tactical fps configs
Browse allSkip the setup. Host Counter-Strike: Source with XGamingServer.
Spin up a managed Counter-Strike: Source server with one click. Backups, mods, control panel and DDoS protection included.



