xgaming.configs
cc
2 files

Codename CURE Server Config

server.cfg for Codename CURE dedicated servers — co-op zombie shooter with map vote and round timer presets.

Config files

server.cfg
// ****************************************************************************
// CodenameCURE
// 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 "cbe_bunker"

// 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_allowvotekick - Allow voting to kick players.
sv_allowvotekick 1

// sv_allowvotediff  - Allow voting to change difficulty.
sv_allowvotediff 1

// sv_allowvotemap - Allow voting to change maps.
sv_allowvotemap 1

// sv_autokick_cooldown - Min: 10.0, Max: 60.0 - the time (in seconds) it takes friendly fire strikes to reset
sv_autokick_cooldown 15

// sv_autokick_strikes - Min: 10.0, Max: 60.0 - the time (in seconds) it takes friendly fire strikes to reset
sv_autokick_strikes 10 //min 5, max 30

//number of bots (maximum 3)
bot_quota 3

// 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 1

// mp_autoteambalance - Define if the game should automatically balance out teams in teamplay (0: no, default, 1: yes)
mp_autoteambalance 0

// mp_falldamage - Enable fall damage.
mp_falldamage 1

// mp_forcerespawn - Force all players to respawn.
mp_forcerespawn 1

// 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


// sv_kickbantime - the amount of mins to temp ban a user after being vote kicked - -1 is no ban - 0 is indefinate ban
sv_kickbantime 5

// 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_timelimit - Game time per map in minutes.
mp_timelimit 20

// sv_votetime - The amount of time players have to vote.
sv_votetime 20

// sv_votenext - The amount of time players have to wait before calling another vote.
sv_votenext 10
server.cfg.orig
hostname "Cure Dedicated Server"

//internet
sv_lan 0

//number of bots (maximum 3)
bot_quota 3

//freindly fire enabled
mp_friendlyfire 1

//unless freindly fire is disabled there is no way to turn off the new autokick system (introduced to reduce trolling)
//however you can alter the strikes and cooldown values (within a limited range)
//you can also set select steamid's to be exempt from being kicked on this server via "kickexemption.txt"
sv_autokick_strikes 10 //min 5, max 30
sv_autokick_cooldown 15 //min 10, max 60

//the amount of mins a player should be banned for after being kicked
//(-1 to turn off 0 for indefinate time)
sv_kickbantime 5

//the amount of time players have to vote, once it has been called
sv_votetime 20

//the amount of time players have to wait before calling another vote
sv_votenext 10

//allow voting on specific issues
sv_allowvotekick 1
sv_allowvotediff 1
sv_allowvotemap 1

//it is no longer recommended to set difficulty here
//as on map change it will override any difficulty players have voted for

//send info to master servers
heartbeat

What these settings mean

Quick reference for the 17 most important keys in this Codename CURE 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 settings
hostname
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 settings
sv_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
5 settings
mp_autoteambalance
1 forces auto team balance. Usually 0 in competitive — let captains pick.
mp_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.
Bots
1 setting
bot_quota
Number of bots the server tries to maintain. With bot_quota_mode normal it tops up to total players.
Voice
2 settings
sv_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 setting
rcon_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 settings
sv_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

Skip the setup. Host Codename CURE with XGamingServer.

Spin up a managed Codename CURE server with one click. Backups, mods, control panel and DDoS protection included.