You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
155 lines
4.5 KiB
155 lines
4.5 KiB
// ************************************************************************** //
|
|
// //
|
|
// Action: Source - server.cfg //
|
|
// //
|
|
// ************************************************************************** //
|
|
|
|
// .................................. Basic ................................. //
|
|
|
|
// Hostname - Name of the server.
|
|
hostname "SERVERNAME"
|
|
|
|
// RCON - remote console password.
|
|
rcon_password "ADMINPASSWORD"
|
|
|
|
// Server password - for private servers.
|
|
sv_password ""
|
|
|
|
// Email - Server admin email.
|
|
// Example: sv_contact "[email protected]"
|
|
sv_contact ""
|
|
|
|
// LAN mode - If set the server will not show on the internet.
|
|
// Default: sv_lan 0
|
|
sv_lan 0
|
|
|
|
// ............................. Server Logging ............................. //
|
|
|
|
// Enable log - Enables logging to file, console, and udp < on | off >.
|
|
// Recommended: log on
|
|
log on
|
|
|
|
// Log bans - Log server bans in the server logs.
|
|
// Default: sv_logbans 1
|
|
// Recommended: sv_logbans 1
|
|
sv_logbans 1
|
|
|
|
// Log echo - Display log information to the server console.
|
|
// Default: sv_logecho 1
|
|
// Recommended: sv_logecho 1
|
|
sv_logecho 1
|
|
|
|
// Log file - Log server information in the log file.
|
|
// Default: sv_logfile 1
|
|
// Recommended: sv_logfile 1
|
|
sv_logfile 1
|
|
|
|
// One file log - Log server information to only one file.
|
|
// Default: sv_log_onefile 0
|
|
// Recommended: sv_log_onefile 0
|
|
sv_log_onefile 0
|
|
|
|
// ................................ Ban List ................................ //
|
|
|
|
// User ban - Server banlist based on user steam ID.
|
|
// Recommended: exec banned_user.cfg
|
|
exec banned_user.cfg
|
|
|
|
// IP ban - Server banlist based on user IP.
|
|
// Recommended: exec banned_ip.cfg
|
|
exec banned_ip.cfg
|
|
|
|
// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
|
|
writeid
|
|
|
|
// Write IP - Save the ban list to banned_ip.cfg.
|
|
writeip
|
|
|
|
// ............................. Fast Download .............................. //
|
|
// info: Allows custom maps to be downloaded to the client.
|
|
|
|
// Allows clients to download custom maps and textures etc. from the server at 20 kbps.
|
|
// Default: sv_allowdownload 1
|
|
sv_allowdownload 1
|
|
|
|
// Allows clients to download custom maps, textures etc. from a web server with no transfer limit.
|
|
// Example:
|
|
// server location: maps/custommap.bsp
|
|
// web server location: http://example.com/custom/maps/custommap.bsp
|
|
// sv_downloadurl "http://example.com/custom"
|
|
// Default: sv_downloadurl ""
|
|
sv_downloadurl ""
|
|
|
|
// ........................ Action: Source Settings......................... //
|
|
|
|
// only allow players on local network to join, if set to 1
|
|
sv_forcelan 0
|
|
sv_lan 0
|
|
|
|
// teamplay
|
|
// enable teams (1 = enable)
|
|
mp_teamplay 0
|
|
|
|
// use three teams for teamplay (1 = enable)
|
|
mp_threeteams 0
|
|
|
|
// allow friendly fire (0 = disable)
|
|
mp_friendlyfire 1
|
|
|
|
// punish team killers after 2 unforgiven team kills
|
|
mp_tkpunish 1
|
|
|
|
// ping master server list
|
|
heartbeat
|
|
|
|
// Determines the total number of bots in the game
|
|
bot_quota 0
|
|
|
|
// ........................ game modes....................................//
|
|
|
|
// enable one hit kill ultimate gib mode (1 = enable)
|
|
mp_instagib 0
|
|
|
|
// allow "capture the briefcase" mode on supported maps (1 = enable)
|
|
mp_allowctb 0
|
|
|
|
// allow "dante must die" mode on supported maps (1 = enable)
|
|
mp_allowdante 0
|
|
|
|
// allow VIP mode on supported maps (1 = enable)
|
|
mp_allowvip 0
|
|
|
|
// allow map defined goal modes (1 = enable)
|
|
mp_allowcustom 0
|
|
|
|
// ........................ game rules................................//
|
|
|
|
// amount of time, in minutes, played on each map
|
|
mp_timelimit 20
|
|
|
|
// number of kills a player must get to win the match
|
|
mp_fraglimit 0
|
|
|
|
// in rounds mode, number of rounds to be played on each map
|
|
mp_maxrounds 0
|
|
|
|
// number of lives each player gets per round (0 = deathmatch)
|
|
mp_playerlives 0
|
|
|
|
// amount of time, in minutes, a round is allowed to last
|
|
mp_roundtimelimit 5
|
|
|
|
// automatically respawn players without waiting for them to click (0 = disable)
|
|
mp_forcerespawn 1
|
|
|
|
// force players to spawn with random equipment
|
|
// 0: Players can choose loadout. 1: Each player gets different random loadout. 2: All players get the same random loadout
|
|
mp_forcerandom 0
|
|
|
|
// restrict which equipment players can spawn with
|
|
// 0: Players spawn with nothing. 1: Side arms only. 2: Side arms and items only. 3: All equipment allowed
|
|
mp_allowequip 3
|
|
|
|
// restrict which equipment can spawn on the map as pickups
|
|
// 0: No pickups spawn on map. 1: Side arms only. 2: Side arms and items only. 3: All equipment pickup types spawn on map.
|
|
mp_allowpickup 3
|
|
|