// eFreeze TDM Config:
//
// Edit "SERVER INFO" below as u want, u can also delete it, it won't effect on anything in the game
// also i recommend that u leave sv_fps on 30, as it decrease ping a lot
// 
// NOTICE: variables marked with * (star) in descriptions are eFreeze variables
//
// credits goes mostly to Cig_R, as i used his configs and descriptions to save my expensive time
// thx for ur work amigo!


// **SERVER INFO** - Edit this as u want .. add, delete necessary ..
sets "01) Info" "EDIT THIS" 
sets "02) Info" "PUT AUTODOWNLOAD ON!"
sets "03) Info" "download updates/maps from website"
sets "04) eMail" "edit@this.com"
sets "05) WebSite" "www.edit.it"
sets "06) MOD" "eFreeze"


seta sv_hostname "ENTER SERVER NAME HERE"
seta g_motd "ENTER MOTD HERE"
seta net_port "27960"

seta rconPassword ""			// Remote Control Password
seta g_adminpass ""			// *Admin Password
seta g_password ""			// Password needed to connect to server (Enter password to make server PRIVATE)
seta g_needpass "0"			// Server requires password

seta sv_privateClients "0"		// Slots, out of sv_maxclients, reserved for private players (Public servers only)
seta sv_privatePassword ""		// Password for private players (Public servers only - g_password must be set to "none")

seta g_gametype "3"			// Game type. 1 = Tourney | 2 = Free For All | 3 = Team Deathmatch | 4 = Capture The Flag

seta sv_maxclients "18"			// Max people allowed to join the server
seta g_maxgameclients "0"		// Max people allowed to join the game, while the rest spectate
seta g_forceClients "1" 		// *Set to 1 if you want your server to accept only clients with the efreeze mod. 
seta sv_pure "0"				// Require clients to only get data from pk3 files the server is using
seta sv_allowDownload "1"		// Allow players to download maps, models, etc. from server

seta timelimit "25"			// Maximum timelimit
seta capturelimit "10"			// Maximum capture limit
seta fraglimit "0"			// Frag limit (Should be 0 for TDM type games)

seta g_doReady "0"			// Require players to type /ready to start game
seta g_doWarmup "1"			// Allow warmup prior to starting game
seta g_warmup "15"			// Warmup time (in sec)

//seta g_log "logs/games.log"		// Game log
seta g_cheatlog "logs/cheat.log"	// *Cheat log (log player and IP of cheater.)
seta g_cheatProtect "2"			// *0 = No kick or ban | 1 = Kick but no ban | 2 = Kick and ban

seta g_hook "1"				// *Toggle grappling hook
seta g_hookSpeed "1400"			// *Relative speed grapple travels at (units / sec)
seta g_hookSpeedPull "800"		// *Controls how fast player is pulled to end point (units / sec)
seta g_hookDelay "0"			// *Hook reload time (in msec)
seta g_hookHoldTime "5000"		// *Time before automatically releasing the grapple (in msec)
seta g_hookSky "0"			// *Possibility to grapple on "sky" surface
seta g_hookDamage "0"			// *Amount of damage grappling hook does on impact

seta g_thawTime "2000"			// *Thaw time (in msec)
seta g_autothawTime "120"		// *Automatic thaw time (in sec)
seta g_lavaThaw "5000"			// *"Lava" and "Slime" Thaw time (in msec)

seta g_teamSwitchTime "2000"		// *Time between team switching
seta g_teamForceBalance "1"		// Force balanced teams
seta g_teamAutoJoin "0"			// Automatic joining of the smallest or losing team

seta g_teamKnockBack "0"		// *Knockback force from friendly-fire
seta g_knockback "1500"			// Knockback force from a weapon
seta g_friendlyFire "0"			// Friendly fire. Allows players to kill teammates.

seta wp_railjump "0"			// *Rail Jump (in units)
seta wp_railSplashDamage "0"		// *Rail have a splash damage, similar to rockets
seta wp_gauntletjump "0"		// *Gauntlet Jump (in units)
seta wp_switchDelay "0"			// *Delay between weapon switching (in msec)

seta g_voteGameLimit "5"		// *Maximum number of votes allowed during a map
seta g_voteClientLimit "2"		// *Maximum number of votes allowed per client during a map

seta g_forcerespawn "5"		// Respawn time (in sec)
seta g_spawnInVuln "0"			// *Invulnerability time after spawning (in msec)
seta g_spawnEnemyRadius "800"		// *Distance around a spawn point to check for enemies, (spawn where there are fewest enemies)	

seta g_noWrongPlace "0"			// *Prevent player from falling into "wrongplace". Player will be teleported to the nearest spawn point instead of dying
	
seta g_nameFloodProtect "1"		// *Nickname flood protect. Prevent players from nick flooding.
seta sv_floodProtect "1"		// Server flood protect. Prevent players from flooding via chat.

seta g_showSpecChat "1"			// *1 - Spectator chat is seen by all, 0 - Spectator chat is seen by spectators only

seta sv_maxRate "25000"			// Maximum rate players can have
seta sv_minRate "0"			// *Minimum rate players can have
seta sv_maxMaxPackets "0"		// *Maximum maxpackets players can have
seta sv_minMaxPackets "50"		// *Minimum maxpackets players can have
seta sv_maxSnaps "0"			// *Maximum snaps players can have
seta sv_minSnaps "30"			// *Minimum snaps players can have
seta sv_maxTimeNudge "0"		// *Maximum timenudge players can have
seta sv_minTimeNudge "-20"		// *Minimum timenudge players can have

seta sv_maxPing "0"			// Max ping allowed on the server
seta sv_minPing "0"			// Min ping allowed on the server

seta sv_fps "30"				// Max frames per second the server sends the client
seta sv_timeout "60"			// Time for server to wait for a client packet before assuming a disconnected state (in sec)
seta sv_zombietime "2"			// Amount of time before a frozen character is removed from the map
seta sv_reconnectlimit "3"		// Number of times a disconnected client can come back and reconnect

seta g_enableBreath "1"			// Toggle breath
seta g_synchronousClients "0"		// Syncs all clients for demo recording
seta g_startArmor "5"			// Amount of armor player will start with
seta g_speed "400"			// Game speed. Controls how fast players move.
seta g_gravity "800"			// Gravity

seta bot_enable "0"			// Enable and disable bots
seta bot_minplayers "1"			// Minumum number of players 
seta bot_nochat "1"			// Enable/disable bot chat
seta g_spSkill "4"			// Bot skill
seta bot_grappling "1"			// Enable/disable bots grapple hooking usage



// *ADMIN FLAGS, WHICH COMMANDS CAN HE USE AS ADMIN

// AD_CLIENTLIST     	1
// AD_KICK			2
// AD_KICKBAN		4
// AD_LISTIPS		8
// AD_ADDIP			16
// AD_REMOVEIP		32
// AD_FORCETEAM		64
// AD_VOTE			128
// AD_MUTE			256
// AD_UNMUTE		512
// AD_LISTCHEATIPS	1024
// AD_REMOVECHEATIP	2048
// TOTAL			4095

seta g_adminlimit "0"		// *all commands are available when on 0



// DEATH MATCH FLAGS

// DF_NO_FALLING       8
// DF_FIXED_FOV        16
// DF_NO_FOOTSTEPS     32
// DF_NO_ITEMRESET     64
// DF_NO_TEAMRESET     128
// DF_WEAPONS_STAY     256
// DF_NO_PLAYERCLIP    512
// DF_NIGHTMARE        1024
// TOTAL               2040

seta dmflags "1032"


// VOTING FLAGS

seta g_allowVote "1"

// MAP_RESTART    1
// NEXTMAP        2
// MAP            4
// G_GAMETYPE     8
// KICK           16
// CLIENTKICK     32
// G_DOWARMUP     64
// TIMELIMIT      128
// FRAGLIMIT      256
// G_GRAPPLE      512
// TOTAL          1023

seta votelimit "1016"			// What players are allowed to vote on


// WEAPON FLAGS
// MACHINEGUN          1
// SHOTGUN             2
// GRENADE LAUNCHER    4
// ROCKET LAUNCHER     8
// LIGHTNING GUN       16
// RAILGUN             32
// PLASMA GUN          64
// BFG                 128
// NAILGUN             256
// PROX LAUNCHER       512
// CHAINGUN            1024
// GAUNTLET            2048
// TOTAL               4095

seta wpflags "2080"			// Weapons a player will spawn with
seta weaponlimit "4095"             // Remove weapons and ammo from the map


seta sv_master1 "master3.idsoftware.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master.kali.net"
seta sv_master4 "master.gnw.de"

// DISABLE ITEMS FOR INSTA RAIL
seta disable_item_armor "1"
seta disable_item_health "1"
seta disable_item_regen "1"
seta disable_item_mega "1"
seta disable_item_haste "1"
seta disable_item_shard "1"
seta disable_item_quad "1"
seta disable_item_enviro "1"
seta disable_item_invis "1"
seta disable_item_regen "1"
seta disable_item_flight "1"
seta disable_item_armor_shard "1"
seta disable_item_armor_combat "1"
seta disable_item_armor_body "1"
seta disable_item_health_small "1"
seta disable_item_health "1"
seta disable_item_health_large "1"
seta disable_item_health_mega "1"
seta disable_weapon_gauntlet "0"
seta disable_weapon_shotgun "1"
seta disable_weapon_machinegun "1"
seta disable_weapon_grenadelauncher "1"
seta disable_weapon_rocketlauncher "1"
seta disable_weapon_lightning "1"
seta disable_weapon_railgun "1"
seta disable_weapon_plasmagun "1"
seta disable_weapon_bfg "1"
seta disable_weapon_grapplinghook "1"
seta disable_ammo_shells "1"
seta disable_ammo_bullets "1"
seta disable_ammo_grenades "1"
seta disable_ammo_cells "1"
seta disable_ammo_lightning "1"
seta disable_ammo_rockets "1"
seta disable_ammo_slugs "1"
seta disable_ammo_bfg "1"
seta disable_holdable_teleporter "0"
seta disable_holdable_medkit "1"
seta disable_team_CTF_redflag "1"
seta disable_team_CTF_blueflag "1"


// MAPS

set m1 "map q3dm2 ; set nextmap vstr m2"
set m2 "map q3dm13 ; set nextmap vstr m3
set m3 "map q3dm5 ; set nextmap vstr m4"
set m4 "map q3dm6 ; set nextmap vstr m5"
set m5 "map q3tourney3 ; set nextmap vstr m6"
set m6 "map q3dm7 ; set nextmap vstr m7"
set m7 "map q3dm9 ; set nextmap vstr m8"
set m8 "map q3dm4 ; set nextmap vstr m9"
set m9 "map pro-q3tourney2 ; set nextmap vstr m10"
set m10 "map q3dm8 ; set nextmap vstr m11"
set m11 "map q3dm3 ; set nextmap vstr m12"
set m12 "map q3dm6 ; set nextmap vstr m13"
set m13 "map q3dm11 ; set nextmap vstr m14"
set m14 "map pro-q3tourney4 ; set nextmap vstr m15"
set m15 "map q3ctf1 ; set nextmap vstr m16"
set m16 "map q3dm14 ; set nextmap vstr m17"
set m17 "map q3dm4 ; set nextmap vstr m18"
set m18 "map q3dm10 ; set nextmap vstr m1"

wait
vstr m1
