Config files
server.cfg72 lines · 2.0 KB// ****************************************************************************
// Half-Life Deathmatch: Source
// Config - server.cfg
// Date - 06/12/2023
// ****************************************************************************
// hostname - Hostname for server.
hostname "SERVERNAME"
// RCON - remote console password.
rcon_password "ADMINPASSWORD"
// sv_password - Server password for entry into multiplayer games.
sv_password ""
// Default Map - map <mapname> :Load a new map.
// map "crossfire"
// 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 1
// 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_fraglimit - The number of kills at which the map ends.
mp_fraglimit 0
// mp_friendlyfire - Allows team members to injure other members of their team.
mp_friendlyfire 0
// mp_falldamage - Enable fall damage.
mp_falldamage 0
// mp_forcerespawn - Force all players to respawn.
mp_forcerespawn 1
// 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_maxrounds - Max number of rounds to play before server changes maps.
mp_maxrounds 0
// mp_teamplay - Enable team based gameplay.
mp_teamplay 0
// mp_timelimit - Game time per map in minutes.
mp_timelimit 20
What these settings mean
Quick reference for the 15 most important keys in this Half-Life Deathmatch: 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
4 settingsmp_fraglimit- First player to N kills ends the map (DM / FFA).
mp_friendlyfire- 1 enables team damage. Required for competitive 5v5; usually off for community DM.
mp_maxrounds- Total rounds in the match before map change / draw. MR12 = 24, MR15 = 30.
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 valve / source engine configs
Browse allSkip the setup. Host Half-Life Deathmatch: Source with XGamingServer.
Spin up a managed Half-Life Deathmatch: Source server with one click. Backups, mods, control panel and DDoS protection included.





