// Sample Quake 4 Arena CTF Server Configuration File

// ---------------------------
// si_name
// ---------------------------
// name advertised to server browsers

si_name "Quake 4 Arena CTF Server"

// ---------------------------
// si_gametype
// ---------------------------
// gametype can be "DM", "Team DM", "Tourney", "CTF", "Arena CTF"

si_gameType "Arena CTF"

// ---------------------------
// net_serverDedicated
// ---------------------------
// type of server, dedicated or listen.  Dedicated server 
// recommended for anything other than small pick up games

net_serverDedicated 1

// ---------------------------
// si_maxPlayers
// ---------------------------
// maxPlayers, set appropriate to your upstream

si_maxPlayers 16

// ---------------------------
// si_minPlayers
// ---------------------------
// minPlayers, game will stay in warmup until at least this many
// players connect.  Only valid if si_warmup 1

si_minPlayers 1

// ---------------------------
// si_warmup
// ---------------------------
// perform a match warmup

si_warmup 1

// ---------------------------
// si_countdown
// ---------------------------
// how many seconds the warmup->game countdown lasts

si_countdown 10

// ---------------------------
// net_serverMaxClientRate
// ---------------------------
// serverMaxClientRate - maximum data rate out to each client.  Divide
// your out bandwidth by this value to figure out how many clients you
// can support

// net_serverMaxClientRate 16000

// ---------------------------
// si_mapCycle
// ---------------------------
// simple mapcycle, semicolon delimited list of maps to cycle through
// for more advanced map cycling that sets minplayers/gametype/etc see
// g_mapCycle

si_mapCycle "mp/q4ctf1;mp/q4ctf2;mp/q4ctf3;mp/q4ctf4;mp/q4ctf5"

// ---------------------------
// g_mapCycle
// ---------------------------
// advanced mapcycle, set this to the name of the .scriptcfg in
// q4base/ you want to use

// defaults to "mapcycle" to use q4base/mapcycle.scriptcfg

g_mapCycle ""

// ---------------------------
// si_captureLimit
// ---------------------------
// capture limit, in CTF and Arena CTF, the number of captures required
// to win the game

si_captureLimit 5

// ---------------------------
// si_timeLimit
// ---------------------------
// timelimit, in DM, Team DM, CTF, Arena CTF how long the match will
// last before ending. in tourney how long an individual round will
// last before ending.

si_timeLimit 30

// NOTE:
// if both timelimit and capturelimit is set, the game will end when
// either one is hit

// ---------------------------
// si_map
// ---------------------------
// map, the map to start on

si_map mp/q4ctf1

// start the server

spawnServer
