// ---------------------------------------------------------------------------
// ClanMod 1.82b1 Config Pack v1.82b1 [18 February, 2004]
// ---------------------------------------------------------------------------
// This file is part of ClanMod (See README for more information).
// Copyright 2002 - 2004 UnitedAdmins (www.unitedadmins.com)
// Project originally created by OLO (http://olo.counter-strike.pl)
// ---------------------------------------------------------------------------
// Please read the manual carefully before altering this file!
// The Manual is located at docs.unitedadmins.com
// ---------------------------------------------------------------------------

// ---------------------------------------------------------------------------
// Define Menu Layout 
// ---------------------------------------------------------------------------
cm_menulayout "ABCD1EQ1HLM1J:ING1FOP01TU"

//----------------------------------------------------------------------------
// Admin Specific CVARs
//----------------------------------------------------------------------------

cm_highlander 0	// Toggle Highlander Mode. 0 - Off, 1 - On See the manual for details
cm_msgtime 10	// How many seconds admin messages should display on screen
cm_addcvar "cm_cfgmodversion" "none"
cm_addcvar "cm_locale" "0" abp

//----------------------------------------------------------------------------
// Mod/Locale Specific CVARs
//----------------------------------------------------------------------------
cm_locale "0" 					// Determines League Location for CS, DoD, NS as below:
						// us = USA/Canada/North America
						// eu = European Union
						// all = US + EU
						// 0 = Server is not running Counter-Strike,
						//     Day of Defeat, or Natural-Selection.

// ---------------------------------------------------------------------------
// ClanMod Specific Cvars
// Please read the manual before changing these
// ---------------------------------------------------------------------------

cm_info www.unitedadmins.com		// What shows up on the info line when viewing server with game browser
cm_passwordfield "_cm_pw"		// This is the default Password Field
cm_loadconfig 2 			// 0 - Off, 1 - Re-Load Configs at mapchanges, 2 - Load Configs but do not log
cm_mapconfigs 0				// 0 - Off, 1 - Will look for a map config (ex. de_dust.cfg in configs/mods/&cm_mod&/maps/, 2 - Will look for a map type config (look in configs/mods/&cm_mod&/cm_mapcontrol.cfg)
cm_reservation 0			// The type of reservation system to use. See manual for details
cm_reservedslots 0			// How many free slots to reserve
cm_times "tv +600 180 120 60 <10"	// When the server should publicly announce the timeleft
cm_teleport 1				// Toggle Teleport 0 - Off, 1 - On See the manual for details
cm_record 2				// Toggle Record Demo and take Snapshots. 0 - Off, 1 - On, 2 - On w/Log
cm_enableslap 1				// Toggle Slap players. 0 - Off, 1 - On
cm_clientcmd 1				// Toggle execute commands on clients. 0 - Off, 1 - On See the manual for details
cm_banlist 1				// See the manual for details
cm_chatfilter 1				// Replacement for Bad Words. See the manual for details
cm_chatspeed 0.5			// How many seconds between player chat (Flood protection)
cm_kickvoteratio 0.60			// Percent of votes needed to kick a player
cm_mapvoteratio 0.60			// Percent of votes needed to change map
cm_customvoteratio 0.60			// Percent of votes needed for a custom vote to be successful
cm_msgpos 2				// Location of admin command messages 0 - Off, 1 - Top, 2 - Bottom
cm_cancelvotekey 9			// Determins what key cancels the vote ( Only votes started with cm_vote )
cm_std_servercfgfile "server.cfg"	// Determines the standard server configuration file for the WarMenu
cm_msgflags "abcgrstvwx"    		// Controls what messages server will display, see flag descriptions below:
						// a = Show gag message
						// b = Show bury message
						// c = Show client Exec messages
						// g = Show glow message
						// r = Show record message
						// s = Show slap message
						// t = Show telemport message // Cannot be turned off
						// v = Show all vote information
						// w = Show vote results
						// x = Show snapshot message

// ---------------------------------------------------------------------------
// ClanMod WARMENU Specific Cvars
// Please read the manual before changing these
// ---------------------------------------------------------------------------

cm_war_system "2" 			// 0 - Start after 120sec, 1 - Start after ready vote, 2 - Start with /ready [Manual start]
cm_war_demo "1" 		 	// Toggle Automatic Demo Recording 0 - On, 1 - Off
cm_war_snapshot "1"	 		// Autoscore Screenshot ON/OFF !!! * NO support for maxrounds! *
cm_war_statsme_off "1"			// Disable StatsMe after War start * Compatible with StatsMe 2.8.0+ *
cm_war_hostname "1" 			// Toggle Adding cm_war_hostname_msg to hostname 0 - Off, 1 - On
cm_war_hostname_msg "ClanWar ||"	// ClanWar Hostname : cm_war_hostname_msg + actual hostname
cm_war_revote_time "45"			// Time for the next ready vote 
cm_war_password "clanmatch"		// Password for ClanWar [Default Password]

// ---------------------------------------------------------------------------
// MOTD Window Specific Cvars
// If your server is not running CS or DoD, cm_htmlvgui MUST = '0"
// ---------------------------------------------------------------------------
cm_htmlvgui2 "0"			// Toggle HTML MOTD windows. 0 - Text, 1 - HTML (Only CS and DoD!)
cm_htmlbgcolor "#000000"		// Determines the HTML Page Background Color (the whole window's background)
cm_htmlfgcolor "#FFB000"		// Determines the Text Color
cm_htmlfont "Verdana,Tahoma"		// Determines the HTML Font Family


// -------------------------Bug-Fix for cm_mapconfigs --------------------------------

cm_task 2 "cm_mapconfigs_if" asnf
cm_command "cm_mapconfigs_if" "cm_if cm_mapconfigs == 1 than cm_exec configs/mods/&cm_mod&/maps/&cm_currentmap&.cfg;cm_if cm_mapconfigs == 2 than cm_exec configs/mods/&cm_mod&/cm_mapcontrol.cfg"


