//----------------------------------------------------------------------------
//
//        .::::;;' ':;;;:.   .:;:.  ;;:::; .;;..;;.  .:;:. ';;   ;:
//       '   .;'    :;  ';: :;' ';: ;:...  :;';;';: :;   ;: :;;. ;:
//         .;'   .  :;  .;: :;;;;;: ;:''"  :; '' ;: :;   ;: :;':.;:
//       .:;;;;:'  .:;;;:'  :;   ;: ;;;;;; :;    ;:  ':;:'  :;  ';;.
//
//----------------------------------------------------------------------------
//
//                    ZDAEMON SERVER CONFIGURATION FILE
//                     INITIAL VERSION BY:  EarthQuake
//
//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// SERVER INFORMATION
//----------------------------------------------------------------------------
//
// This section contains all the variables that will be used to set up the
// basic functionality of your server.
//
//----------------------------------------------------------------------------

// This is the name of the server that will be displayed in the launcher. To set
// up different server names for different maps, see the Cvar Overrides section.

set hostname              "ZDaemon Server"

// This is the Message of the Day. It is displayed to all players that join
// your server. To insert line breaks, use "<br>".

set motd                  "Welcome to ZDaemon!<br><br>http://www.zdaemon.org/"

// This is an internet location of any wads that may be running on your server.
// The GetWad utility will first look here to download custom wads.

set website               "http://downloads.zdaemon.org/wads/"

// This is the email address at which players can contact you about any problems
// or suggestions they may have. It is always a good idea to set this to a valid
// email account that you check regularly.

set email                 "email@address.com"

// The next variable is used to determine how the server should be advertised.
// Possible values include:  0 = Do not advertise the server anywhere.
//                           1 = Advertise on the master server list only.
//                           2 = Advertise on the local area network only.
//                           3 = Advertise on both.
// If you have problems where you cannot see your own server in the list, even
// though other players can, advertise it to the LAN too.

set master_advertise      1

// The next couple of variables determine how many clients can connect to server
// and how many players can join the game. The maximum client/player limit is
// 100. The maxplayers variable should never exceed the maxclients variable for
// obvious reasons.

set maxclients            8
set maxplayers            8

// This variable is used to reset the current map to it's original state if all
// players leave the server. Useful for 1-on-1 servers with no time limit. This
// still applies if spectators are present; the game ends and the map restarts.
// If the variable is set to 2 then the next map in the maplist will start 
// instead. This is useful for wads with a selection map.

set restartemptymap       0

// Do we want the server to sleep (and consume less CPU) when there are no humans
// around? 0 disables that option. 1 enables it but keeps the level timer going
// (so timelimit can work), 2 enables it for everything including the level timer.
//
set sleep_on_empty        1

// Specify which loaded wads are optional. You can include multiple wads by 
// separating them with spaces and enclosing all of them in double quotes. No
// harm is done if a wad listed here is not actually loaded on the server.
// Wad names may *not* contain path information.

set optional_wads         "zvox.wad zvox2.wad zvox4.wad zvox6.wad zvox8.wad facevox2.wad tskins1e.wad"

// The following tells the server that the client can connect using zvox2.wad,
// zvox4.wad, facevox2.wad, sharkvox.wad instead of zvox.wad. For any
// equivalence to be accepted, one of the wads in the equivalence must
// be already loaded and zserv must be able to find the other ones in
// order to checksum them. This also means that either all the wads
// should reside in the current or program directory, or you should
// use the -waddir cmd. line parameter (or the WADDIR env. variable)
// to tell zserv where the wads are.

setaltwads "zvox=zvox2=zvox4=zvox6=facevox2=sharkvox"

// The next variable determines what will be done with logs after they are used.
// Possible values include:  0 = Keep them in the directory they were created.
//                           1 = Move them to the "old-logs" directory.
//                           2 = Delete them.

set log_disposition       2

// The next two variables control whether the log_publishing link is enabled,
// as well as the maximum age of the displayed logs. Only non-sensitive logs 
// are available through this mechanism. Current logs aren't available through it,
// only old logs are. When log_publish is enabled, logs can be fetched from:
// http://SERVER_IP:PORT/logs/ . The log_publish_maxage ranges from 1 to 30.

set log_publish			0
set log_publish_maxage	7

// The next two variables control whether the server announces multikills and sprees.

set sv_showmultikills        1
set sv_showsprees            1

// If the following variable is enabled it allows players without 
// doom.wad/doom2.wad to use freedoom as an alternative whenever possible.
// The variable is enabled by default and should not be changed except maybe for
// official tourney servers where the same looks should be enforced for all players.

set auto_altwads             1

// The sv_fineticks CVAR controls the availability of the most frequent updates
// from the server side. It can take one of 4 values:
//        0 = "Single tick" updates will be denied to all (so everyone
//            will use an update frequency of 2 or 3).
//        1 = "Single tick" updates will be available to spectators only.
//        2 = "Single tick" updates will be available to players only.
//        3 = "Single tick" updates will be available to everyone.

set sv_fineticks             1

// The following variable lets you adjust the intermission time from 3 to 300
// seconds. When set to 0 then the intermission time in team modes will be 20
// seconds and 15 seconds for all other game modes.
// This is restricted to private OR passworded servers.

set sv_intermissiontime      0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// SECURITY OPTIONS
//----------------------------------------------------------------------------

// RCON (short for remote console) is a way of administrating a server from
// in-game. To enable RCON, simply set the password to something that others are
// not likely to guess. Remember, only give out the password to those you trust.
// To disable RCON, leave the password blank.

set rcon_password              ""

// This options allows you to specify how many clients can connect to your 
// server using the same IP address. It's useful against Denial of Service (DOS)
// attacks. You can disable the check by setting the value to 0.

set sv_maxclientsperip              4 

// Specify an internet location of a custom banlist text file that will be
// periodically fetched by your server.

set banlist_url              ""

// The next two variables pertain to the chat spam control. The chat_window is 
// expressed in seconds, and spam_limit is expressed in the maximum amount of 
// messages allowed within the spam_window.
// If you don't specify these variables at all or the server is advertised to
// the master server, the values of spam_window and spam_limit default to 8 
// and 4, respectively. If the server is not advertized on the master, you can 
// disable chat spam control by setting both (or either) to 0.

set spam_window                 8
set spam_limit                  4

// The next variable controls whether or not spectators can send messages to
// players. This is useful in 1-on-1 matches where players like to concentrate.

set specs_dont_disturb_players  0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// ACCESS CONTROLS
//----------------------------------------------------------------------------

// You can set a password on the server, so that players need to supply the
// password in order to connect to it. To enable this, set this variable to
// a string of your choice. To disable the password, leave it blank.

set password              ""

// You can set a join password on the server, so that players need to supply
// the password in order to join the game. To enable this, set this variable
// to a string of your choice. To disable the join password, leave it blank.

set join_password              ""

// An alternative to passwords is an access list: by using it, you can make
// your server "invite-only" and only allow players that you specify to join
// the server. Anyone who is not in the access list will get kicked from the
// server upon joining with the message "This server is invite-only".

// set acl "Some_Nick Another_Nick Yet_Another_Nick"

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// BOT OPTIONS
//----------------------------------------------------------------------------
//
// The minplayers cvar instructs the server to automatically spawn and remove 
// bots in order to maintain a fixed number of players on the server as long as
// there is one human player on the server. For instance, if set to 3, the game
// will remain empty until a player joins the server. At this point, two bots
// will be spawned, bringing to total amount of players to three. If a second 
// player joins the server, then a bot will leave the server to adjust the total
// number of players to 3. If then one or more people join the server, no bots
// will be present on the server.
//
// The removebotswhenhumans cvar instructs the server to remove all bots in the
// presence of at least two players.
//
// Note: The bots.cfg must be present in the zcajun directory for bots to work.

set minplayers            0
set removebotswhenhumans  0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// MAP ROTATION
//----------------------------------------------------------------------------
//
// Here you can define the map rotation list for your server. By default, all
// of the Doom II maps are listed in order, but these can be commented out or
// rearranged in any order with repeated entries allowed.
//
//----------------------------------------------------------------------------

addmap "map01"
addmap "map02"
addmap "map03"
addmap "map04"
addmap "map05"
addmap "map06"
addmap "map07"
addmap "map08"
addmap "map09"
addmap "map10"
addmap "map11"
addmap "map12"
addmap "map13"
addmap "map14"
addmap "map15"
addmap "map16"
addmap "map17"
addmap "map18"
addmap "map19"
addmap "map20"
addmap "map21"
addmap "map22"
addmap "map23"
addmap "map24"
addmap "map25"
addmap "map26"
addmap "map27"
addmap "map28"
addmap "map29"
addmap "map30"

maplist		// Show the maps added to the list

// The "lobby" CVAR formalizes the "map00 lobby convention" in WADs.
// When that CVAR is 1, it activates the "lobby mode":
//  1. The server auto-switches to map00 when both players leave.
//  2. The server auto-switches to map00 when a map ends.
//  3. All maps will always be available for voting, no matter
//     the value of sv_vote_map_skip.
//  4. There will be no time limit on map00.
//  5. Dynamic bots (minplayers) are excluded from map00.
//
// For this mode to get activated, you need to:
//  a. Set the "lobby" CVAR to a value of 1.
//  b. map00 should exist in the loaded WADs.
//  c. Define a maplist on the server.
//  d. Include map00 into the maplist.

set lobby                 0

// If you want a randomized map rotation (based on the maps selected above),
// set the following variable to 1.

set sv_randmaps           0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// BASIC GAME OPTIONS
//----------------------------------------------------------------------------

// Set the game type:
//    0 -> DM (Deathmatch)
//    1 -> TDM (Team Deathmatch)
//    2 -> Coop (Cooperative)
//    3 -> CTF (Capture the Flag)
//    4 -> Survival
//    5 -> DDOM (Double Domination)
//    6 -> KOTH (King of the Hill)
//    9 -> Duel

set gametype              0

// By setting the time limit, each map will end after a certain amount of time,
// in terms of minutes. Useful for matches that can dead-end quickly.

set timelimit             20

// (Duel mode only / gametype 9).
// The warmup_timelimit will ensure that the warmup period will end after a certain 
// amount of time has passed. This will prevent the warmup period from lasting forever.
// (Minutes)
// Default: 5

set warmup_timelimit             5

// The frag limit can be used in any non-cooperative game mode. When a player
// kills an amount of players (or bots) equal to or greater than the value of
// the frag limit, the game ends.

set fraglimit             30

// The kill limit is used in cooperative to introduce a goal similar to the frag 
// limit in deathmatch. If the value is positive, then the game ends when ANY
// player kills that amount of monsters. If the value is negative, then ALL
// players must reach the given goal to end the map. Setting it to 0 disables
// the option.

set killlimit             0

// The team score limit is used in any team mode (TDM, CTF, DDOM) and it indicates
// the score that a team must reach to end the round. The score is defined as team
// frags in TDM, flags in CTF and dominations in DDOM.

set teamscorelimit        0

// The team kill limit is used in either the coop or survival mode. It specifies
// the number of monsters killed by all players that will trigger a map change.
// It defaults to zero (ie., inactive).

set teamkilllimit         0

// Overtime is a variable that was introduced to serve as a tie-breaker. When
// the time limit is reached and the scores are tied, the game goes into a
// "sudden death" mode where the next frag or flag capture ends the game.
// (DUEL Mode: Overtime cannot be disabled)

set overtime              1

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// SURVIVAL OPTIONS
//----------------------------------------------------------------------------

// how many times can you die before being forced out for the round?

set maxlives              1

// The next variable will reset the inventory of spectators at 180 seconds after 
// the round starts if enabled. The CVAR is forced to true for all public, 
// non-passworded servers.

set survival_timed_spec_reset 1

// The following CVAR applies to survival and blocks spectator joins after the 
// specified number of minutes from the time someone joins the map.

set sv_joinlimit             0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// TEAMPLAY OPTIONS
//----------------------------------------------------------------------------

// This variable determines the number of teams that can play on the server
// (applies to team modes only). It can range from 2 up to 4.

set maxteams                 2

// The next variable restricts each team to a maximum number of players, to
// avoid excessively unfair teams. Set this to -1, and ZDaemon tries to handle
// this automatically according to the maxplayers and maxteams cvars. Set it to
// 0 to disable.

set maxplayersperteam        -1

// The following variable can be set to enable friendly fire, if desired.
// Examples:  0.0 = No damage.    0.25 = Quarter damage.
//            1.0 = Full damage.  0.50 = Half damage.
// Note: the value must be between and 0 and 1.
// For coop this is restricted to private OR passworded servers.

set teamdamage               0.0

// When the following variable is non-zero, teammates are excluded from
// autoaim calculations. Defaults to zero (ie., the game behaves as it
// always did).

set sv_teamautoaim           0 

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// DEATHMATCH FLAGS
//----------------------------------------------------------------------------
//
// Deathmatch flags are simple variables that can be set on or off, which can
// be used in any combination with each other. They can also be combined into
// a single value and used with the "dmflags", "dmflags2" and "dmflags3" cvars.
// To change a variable, use the following values:  0 = Disabled
//                                                  1 = Enabled
//
// The values listed on the right are the decimal values for each flag and
// can be added together to find the resultant value to use with the dmflags,
// dmflags2, and dmflags3 commands (see the next subsection for more information).
//
//----------------------------------------------------------------------------

// Standard Deathmatch Flags (1)

set sv_nohealth           0  // Do not spawn items that grant health.            1
set sv_noitems            0  // Do not spawn any items.                          2
set sv_weaponstay         1  // Weapons stay after being picked up.              4
set sv_oldfalldamage      0  // Apply ZDoom-style falling damage.                8
set sv_falldamage         0  // Apply Hexen-style falling damage.               16
set sv_noexitkill         0  // Disable exit suiciding.                         32
set sv_samelevel          0  // Restart map upon exiting.                       64
set sv_spawnfarthest      1  // Enable respawn farthest. **                    128
set sv_forcerespawn       0  // Force respawning or spectating after idling.   256
set sv_noarmor            0  // Do not spawn items that grant armor.           512
set sv_noexit             1  // Do not allow players to exit the map.         1024
set sv_infiniteammo       0  // Enable infinite ammunition.                   2048
set sv_nomonsters         1  // Do not spawn monsters.                        4096
set sv_monsterrespawn     0  // Enable monster respawns.                      8192
set sv_itemrespawn        1  // Enable item respawns except artifacts.       16384
set sv_fastmonsters       0  // Enable fast monsters.                        32768
set sv_nojump             0  // Disable jumping.                             65536
set sv_nofreelook         0  // Disable freelook/mouselook.                 131072
set sv_respawnsuper       0  // Enable artifact respawns.                   262144
set sv_nopassover         0  // Enable infinitely tall actors.              524288
set sv_resetinventory     0  // Reset inventory after exiting the map. *   1048576
set sv_nosuper            0  // Do not spawn spheres or blue armor.        2097152
set sv_nocrosshair        0  // Disable use of crosshairs.                 4194304
set sv_specteamblock      0  // Restrict spectator team viewing.           8388608
set sv_allowzoom          0  // Enable zooming.                           16777216
set sv_newthrust          0  // ZDoom 2.x ThrustThing behavior.           33554432
set sv_trace              0  // Self ref. sectors don't block shots       67108864
set sv_olddeath           0  // Classic death camera (on floor/rotating) 134217728
set sv_instagib           0  // Instagib mode                            268435456
set sv_dbljump            0  // Allow double jumping                     536870912
set sv_multikeybinds      0  // Enable bindings that trigger mult. keys 1073741824

// Extended Deathmatch Flags (2)

set sv_telemissiles       0  // Enable teleporting of projectiles.               1
set sv_weapondrop         0  // Players drop current weapon upon death.          2
set sv_samespawnspot      0  // Players respawn where they died. *               4
set sv_barrelrespawn      0  // Enable barrel respawns.                          8
set sv_respawnprotect     0  // Enable three-second spawn protection.           16
set sv_niceweapons        0  // Start with shotgun and extra bullets. *         32
set sv_keepkeys           0  // Players keep current keys upon death. ***       64
set sv_strong_monsters    0  // Monsters have twice as many hit points.        128
set sv_powerful_monsters  0  // Monsters deal twice as much damage.            256
set sv_oldwepsound        0  // Classic pickup sound behavior.                 512
set sv_silentbfg          0  // Classic sound limitation.                     1024
set sv_oldwallrun         0  // Classic wall-running behavior.                2048
set sv_oldsoundcut        0  // Classic sound distances.                      4096
set sv_olddropoff         0  // Classic drop off behaviour.                   8192
set sv_berserkspawn       0  // Spawn with berserk.                          16384
set sv_hide_countries     0  // Hide player countries on scoreboard.         32767
set sv_oldweaponswitch    0  // Classic weapon switching behavior.           65536
set sv_allow_target_names 1  // Enable display of target player names.      131072
set sv_fullscreen         0  // Players should use fullscreen (rather than widescreen) view 262144
set sv_ctf_old_convention 0  // Old CTF map convention. Deprecated.         524288
set sv_no_team_starts     0  // Disable team-specific player starts.       1048576
set sv_keys_inteammodes   0  // Enable key spawns in team games.           2097152
set sv_keys_teamkeys      0  // Each team spawns with a specific key.      4194304
set sv_keys_stay          0  // Keys stay after being picked up.           8388608
set sv_useblocking        0  // Special lines block "use" lines.          16777216
set sv_voodoo_spawns      0  // Spawn real players on voodoo doll starts  33554432
set sv_vampire            0  // Vampire mode                              67108864
set sv_insta_switch       0  // Instant weapon switch                    134217728
set sv_oldblast           0  // Classic Blast Physics.                   268435456
set sv_oldmissileclip     0  // Classic Missile Clipping.                536870912
set sv_brightskins        0  // Enable fullbright skins                 1073741824

// Extended Deathmatch Flags (3)

set sv_instatele          0  // All teleport crossings are instant               1
set sv_nochasemode        0  // Block chase mode even in coop modes              2
set sv_infiniteitems      0  // Don't decrease item count when using them.       4

// Footnotes:

// *   Only works in Cooperative Mode.
// **  Only works in Deathmatch Mode.
// *** Only works in Cooperative and Team Modes.

//----------------------------------------------------------------------------

// If your server requires a predetermined combination of flags, set them here
// and all of the above options will be overridden. This is useful for loading
// author-defined map settings without having to set all the above options.
// Uncomment the following two lines to use:

// set dmflags               21700
// set dmflags2              0
// set dmflags3              0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// OTHER GAME OPTIONS
//----------------------------------------------------------------------------

// The next variable controls the difficulty level of the game.
// Possible values include:  0 = I'm Too Young to Die
//                           1 = Hey, Not Too Rough
//                           2 = Hurt Me Plenty
//                           3 = Ultra-violence
//                           4 = Nightmare!
// Difficulty level determines what things appear on the maps (if the maps take
// advantage of them, that is). On skills 0 and 4, all ammunition pickups give
// double ammo, and on skill 4, fast and respawning monsters are forced.

set skill                    4

// You can also set the gravity and air control of the maps. Air control refers
// to how much you can move while in mid-air. The original value for air control
// in ZDoom is 1/256 or 0.00390625. The value must be between 0 and 1 for
// sv_aircontrol, and the range for sv_gravity is 0 to 1600

set sv_gravity               800
set sv_aircontrol            0

// The next variable behaves like a damage and kickback scalar for splash damage
// from rockets, explosions, etc. When set to a very small value like 0.001, the
// damage and kickback are nullified. When set to negative values, the damage is
// zero, but the kickback is the same as if the splashfactor were positive. If
// for example you set sv_splashfactor to -1, you get the same kickback as usual,
// but no damage at all. Useful for rocket jumping  on any map.

set sv_splashfactor          1.0

// This variable determines how long in seconds an item goes before being
// respawned. It applies only when the Respawn Items flag (sv_itemrespawn)
// from the deathmatch flags (below) is enabled. Setting it to 0 will use 
// the default respawn times (Doom = 30 and 40 otherwise).

set item_respawn_time     0

// Up to how many seconds should someone remain dead? the default value
// is 180 seconds (60 seconds for the DUEL gametype).
// When that expires, he either becomes a spectator or
// gets respawned depending on the "sv_forcerespawn" dmflag. Set it to
// 0 to disable it. Useful for player/spectator slot abuse.
// (DUEL gametype constraints: Min 15, max 60)

set sv_deathlimit         180

// If forcewater is enabled then all Boom-style deep water will be swimmable.
// Keep in mind that the deep water effect is not only used for water effects 
// and that swimmable water might alter the gameplay.
 
set forcewater               0

// If the following CVAR is enabled then existing blockmaps are ignored 
// and a new blockmap is generated from scratch for each map. Can be useful
// for maps with a faulty or corrupted blockmap.

set genblockmap              0

// The next option (compat_shorttex) controls the handling of textures.
// When it's true, the engine emulates a shortest-texture-related
// bug that was present in the original doom engine. This behavior is
// needed for certain WADs (it can affect how much some floors/ceilings
// raise/lower). Set it to false if you don't need such compatibility.

set compat_shorttex 1

// When the following variable is enabled then lines with the BLOCK_EVERYTHING 
// flag will block some weapon attacks such as the railgun shots and bfg tracer
// rays. For such lines it will also affect line sliding (bumping and 
// wallrunning). It also affects some monster attacks such as the arch vile 
// attack, and monster sight checks going through such lines.
// (When disabled it will restore the old gameplay behaviour on Cybercrime 3.)
	 
set zdoom_blockeverything    0

// The next variable controls the amount of ammo received from ACS spawned items.
// If enabled they act like map placed items, otherwise like dropped items.

set sv_full_acsitem          1

// When the following variable is enabled then ASC OPEN scripts can exit a map
// even when sv_noexit is set. Beware that the activator in other scripts, that
// use a delay, can become NULL before exit is called, thus resulting in a 
// mistaken 'world' exit (e.g., see DeathBall).

set sv_acs_world_exit        0

// If var_friction is disabled then all custom sector frictions are ignored
// and normal friction is applied.

set var_friction             1

// If var_pushers is disabled then all push/pull wind effects will be disabled.

set var_pushers              1

// The next variable controls whether player-to-player telefragging is enabled
// in coop/survival modes. The CVAR is forced to false for all public, 
// non-passworded servers.

set coop_telefrags           0

// The CVAR maxlostsouls specifies how many lost souls need to be alive in a 
// map before the pain elemental cannot spawn anymore of them. In vanilla Doom
// a pain elemental could not spawn a lost soul if 21 or more lost souls were
// alive in the map. If set to 0 a pain elemental can always spawn a lost soul.

set maxlostsouls             21

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// LIMITED RCON
//----------------------------------------------------------------------------

// You can have up to 9 limited RCON levels. You specify a password via
// the "rcon_pwd_N" (where N=1..9) CVAR, as well as the acceptable commands
// for each level via the "rcon_cmds_N" CVAR. The example below defines a
// limited RCON level suitable for refereeing games.

//set rcon_pwd_1            "referee"
//set rcon_cmds_1           "mapskipby mapskipto maplist players kick addtempban"

//set rcon_pwd_2            ""
//set rcon_cmds_2           ""

//set rcon_pwd_3            ""
//set rcon_cmds_3           ""

//set rcon_pwd_4            ""
//set rcon_cmds_4           ""

//set rcon_pwd_5            ""
//set rcon_cmds_5           ""

//set rcon_pwd_6            ""
//set rcon_cmds_6           ""

//set rcon_pwd_7            ""
//set rcon_cmds_7           ""

//set rcon_pwd_8            ""
//set rcon_cmds_8           ""

//set rcon_pwd_9            ""
//set rcon_cmds_9           ""

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// VOTING RELATED
//----------------------------------------------------------------------------

set sv_vote_limit          3  // # of times someone can call a vote per map
set sv_vote_timeout       45  // How long the voting will last (seconds)
set sv_vote_reset          0  // Enable/disable reset voting
set sv_vote_map            0  // Enable/disable map voting
set sv_vote_map_percent   51  // Percentage needed to pass a reset/switch vote
set sv_vote_map_skip       0  // How many maps must be played before a map is
                              // eligible for voting after it has been played.
set sv_vote_kick           0  // Enable/disable kick voting (COOP only)
set sv_vote_kick_percent  60  // Percentage needed to pass the kick vote
set sv_vote_min           51  // Participation needed to ignore non-
                              // participants from the vote calculations.

set sv_vote_randmap        0  // Enable/disable random map voting
set sv_vote_randcaps       0  // Enable/disable random team captain voting.

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// Voice Chat
//----------------------------------------------------------------------------

// The variable sv_voice_chat controls the voice chat availability.
// Possible values are:  0 = disable
//                       1 = within teams only
//                       2 = everyone
//                       3 = commentary mode
// Default value is 1. Coop/Survival chat counts as "team chat". The
// value of "2" will be enabled only on private or passworded servers.
// The value of "3" is specifically for restricting the voice chat to 
// a list of defined commentators.

set sv_voice_chat            0

// The variable sv_voice_chat controls the max. voice quality and ranges from
// 1 to 7. Higher quality values result in higher bit rates.
// Default max. quality on the server is 5.
//
//  Qual.    bps  Description
//      1    5950  Very noticeable artifacts/noise
//    2-3    8000  Artifacts/noise sometimes noticeable
//    4-5   11000  Artifacts usually noticeable only with headphones
//    6-7   15000  Need good headphones to tell the difference

set sv_voice_max_quality     5

// The commentators variable is to be used when sv_voice_chat is set 
// to 3. Each nickname is to be separated with a space.

//set commentators "Some_Nick Another_Nick Yet_Another_Nick"

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// Server-side Demos
//----------------------------------------------------------------------------

// The ssd_record variable enables server-side demo recording.
//
// Possible values:
// 0 = Disabled
// 1 = Demo recording begins when one player joins the game.
// 2 = Demo recording begins when one player connects to the server.
//
// (Default: 0)

set ssd_record			0

// The ssd_publish variable enables players to download the 
// demos in question from the http://SERVER_IP:PORT/demos/ URL.
// The IP:Port corresponds to the SERVER_IP and PORT of the server.
// The URL is only available when publishing is enabled.
// (Default: 1)

set ssd_publish			1

// The ssd_keepdays variable allows you to control how long 
// the oldest demo(s) will be available for before being 
// automatically cleaned up. A value of 0 will disable the
// automated cleanup (not recommended if you don't have an
// alternate means of cleanup setup). (Default: 7)

set ssd_keepdays		7

// The ssd_minsecs variable allows you to define the 
// minimum amount of time that is required in order for a 
// demo to be stored. (Default: 30)

set ssd_minsecs			30

// The ssd_process variable allows you to define an external 
// script for post-recording processing of demos.
//
// If this variable is non-empty, all built-in clean-up and
// publishing methods are NOT used. The processing and other
// actions are left entirely upto you.
//
// Note: This variable is for advanced users only. If you do 
// not need alternate post-recording processing, do not use.
// (Default: "")

set ssd_process			""

// The ssd_url variable is for defining an alternate URL.
// This would most commonly be used if the ssd_process 
// variable is also active.
//
// The string will override the default publishing URL.
// Escape sequences that can be used in the URL:
// $a = Replaced by the IP address of the server.
// $p = Replaced by the listening port of the server.
// (Default: "")

set ssd_url				""

// The ssd_voice variable is for determining whether 
// voice data will be stored in a recorded demo or not.
// (Default: 1)

set ssd_voice			1

// The http_title variable allows you to specify a 
// different name on the demo downloading page.
// (Default: "")

set http_title			""

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// WAD Downloading
//----------------------------------------------------------------------------

// The wad_downloads variable enables wad downloading 
// from the server.
//
// When the downloads are
// enabled, the launcher will be notified about it and 
// will use the server's download page to fetch any 
// missing WADs:
// http://SERVER_IP:PORT/wads/
//
// (Default: 0)

set wad_downloads		0

// The max_download_kbps variable allows you to control 
// the maximum download rate. A positive value indicates the
// maximum download rate in kilo-bits per second; zero or negative
// values disable the throttling.
//
// Example values:
// 0
// 64
// 128
// 256
// 512
// 768
// 1024
// 2048
// 4096
//
// (Default: 0)

set max_download_kbps	0

// The max_transfers variable allows you to control the 
// maximum number of concurrent transfers allowed; 
// requests that will result in exceeding that limit are ignored.
//
// (Default: 10)

set max_transfers		10

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// Debugging
//----------------------------------------------------------------------------

// Print how many ACS P-Code instructions were executed when a script stops 
// or delays.

set acsdebug_pcdcount        0

// Enable debug outputs for SECTINFO, PATCHINF and MUSINFO. 

set developer                0

// Disable all file compression.

set nofilecompression        0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
// CONTROL VARIABLE OVERRIDES
//----------------------------------------------------------------------------
//
// Cvar overrides can be utilized to change any of the settings in this
// configuration file on a per map basis. A common use for these are to
// update the server name displayed in the launcher to reflect the current
// map running. Variables defined with cvar overrides will revert back to
// their original value after the map has changed.
//
// The syntax is as followed:
// add_cvaroverride <map> <cvar> <value>
//
// Note: string values must be enclosed in double quotation marks.
//
//----------------------------------------------------------------------------

// Examples:

// add_cvaroverride map01 hostname "ZDaemon Server - MAP01"
// add_cvaroverride map01 fraglimit 50
// add_cvaroverride map01 sv_weaponstay 0

// add_cvaroverride map07 hostname "ZDaemon Server - MAP07"
// add_cvaroverride map07 fraglimit 40
// add_cvaroverride map07 sv_respawnsuper 0

//----------------------------------------------------------------------------



//----------------------------------------------------------------------------
