// ************************************************************************** //
//                                                                            //
//     Fistful of Frags - server.cfg                                          //
//     Version 240917                                                         //
//                                                                            //
// ************************************************************************** //

// .................................. Basic ................................. //

// Hostname - Name of the server.
hostname "SERVERNAME"

// RCON - remote console password.
rcon_password "ADMINPASSWORD"

// Max players - 16 max for FFA
maxplayers 16

// Server password - for private servers.
sv_password ""

// Email - Server admin email.
// Example: sv_contact "email@example.com"
sv_contact ""

// LAN mode - If set the server will not show on the internet.
// Default: sv_lan 0
sv_lan 0

// Server tags - Tags show up on the in-game server browser. This helps
// users filter servers.
// 		vanilla - the server runs the default settings.
// 		custom - the server runs custom gameplay settings or mods.
// Example: sv_tags "custom, fastdl"
sv_tags ""


// ................................. In Game ................................ //

// Cheats - Allow cheats on the server. Steam achievements and stats are disabled.
// 0 = cheats off.
// 1 = cheats on.
// Default: sv_cheats 0
// Reccomended: sv_cheats 0
sv_cheats 0

// Game Modes
// 1 = Shootout/2 Team Shootout/4 Team Shootout/Ghost Town
// 2 = Teamplay
// 3 = Break Bad
// 4 = Elimination
// 5 = Versus
// 6 = Course Mode
// Default: fof_sv_currentmode 1
fof_sv_currentmode 1

// Teamplay
// 0 = Free-for-all
// 1 = Team Deathmatch or Teamplay mode
mp_teamplay 0

// Team numbers
// 2 = Vigilantes & Desperados
// 3 = Vigilantes, Desperados & Bandidos
// 4 = Vigilantes, Desperados, Bandidos & Rangers
// Default: fof_sv_maxteams 4
fof_sv_maxteams 4

// Friendly fire - Allows players to injure other members of their team.
// 0 = friendly fire disabled
// 1 = friendly fire enabled
// Default: mp_friendlyfire 0
mp_friendlyfire 0

// Time limit - Time on a single map in minutes before switching to a new map automatically.
// Default: mp_timelimit 900
// Recommended: mp_timelimit 45
mp_timelimit 45


// ................................. Bots ................................ //

// Allow bots joining the server (1 = enable)
fof_sv_bot_dynamicjoin 0

// Percentage of bots in server slots
fof_sv_bot_slotpct 0.40

// ................................ Map Cycle ............................... //

// Map cycle - Maps to be rotated on the server.
// "mapcycle.txt" - All Shootout/2 Team Shootout/4 Team Shootout maps
// "mapcycle_12.txt" - All 12 slot maps for Shootout/2 Team Shootout/4 Team Shootout
// "mapcycle_32.txt" - All 32 slot maps for Shootout/2 Team Shootout/4 Team Shootout
// "mapcycle_tp.txt" - All Teamplay maps
// "mapcycle_vs.txt" - All versus mode maps
// "mapcycle_gt.txt" - All Ghost Town maps
// "mapcycle_cm.txt" - All Course Mode maps
mapcyclefile "mapcycle.txt"


// ............................. Communication ............................. //

// Voice enable - Enable communication over voice via microphone.
// 0 = voice off.
// 1 = voice on.
// Default: sv_voiceenable 1
sv_voiceenable 1

// All talk - Players can hear all other players, no team restrictions.
// 0 = all talk off.
// 1 = all talk on.
// Default: sv_alltalk 0
sv_alltalk 0


// ............................. Fast Download .............................. //
// info: Used by servers with custom maps

// Allow download - Allow clients to download custom files from the server at 20 kbps.
// 0 = allow download off.
// 1 = allow download on.
// Default: sv_allowdownload 1
sv_allowdownload 1

// Download url - Allow clients to download custom files from a web server.
// Example:
// 		server location: maps/custommap.bsp
// 		web server location: http://example.com/custom/maps/custommap.bsp
// Example: sv_downloadurl "http://example.com/custom"
sv_downloadurl ""


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


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