Kafemlynek MOD by Ashus (http://ashus.ashus.net)
ONLINE at www.kafemlynek.cz

Venovano Kafemlynku a vsem VIP, co pomahaji s vystavbou a provozem.
Hromada casu byla venovana tomuhle modu, doufam ze ho ocenite.
Klidne si pouzijte, co potrebujete, ale nechte tam komentar o mne, nektere funkce jsem tvoril sam.


Cvar server example variables:
/// Welcome Messages

set am_welcome_msg_wait 1	//Wait intervals
set am_welcome_msg_small 1	//Small messages? [0|1]

set am_welcome_msg_1 "^3=================================="
set am_welcome_msg_2 "Welcome to ^2Kafe^3mlynek^7.^6cz"
set am_welcome_msg_3 "Rules and statistics are at ^3www.kafemlynek.cz^7"
set am_welcome_msg_4 "^3=================================="
/// you can add more (unlimited), add an empty one to stop at it, add an "-" to wait once more before showing next msg

// Force download (not playable without overlaying transparent texture, if missing=solid)
set am_only_with_autodownload "1"

// Force maxrate to all clients on connect
set am_maxrate 25000

//
// Voting
set scr_allow_vote "0"		//disable default boring nagging type of vote
set g_allowvote "0"         //must be the same as previous

set am_vote "1"				//enable after-map vote
set am_vote_map "1"			//show maplist
set am_vote_gametype "1"	//show gametypelist
set am_vote_shuffled "1"	//random mixing of lists (c) Ashus
set am_vote_time "25"		//time to vote
set am_vote_spectators "1"	//enables spectators to vote (use along with Spectator abuse)

//set am_vote_delete_defaults "1"		//excludes original maps and gametypes
//set am_vote_enable_mp_toujane "0"		//disables any default map (undefined = 1)
//set am_vote_enable_sd "0"				//disables any default gametype

set am_vote_extra_m_1 "mp_eindhoven"
set am_vote_extra_m_1_f "Eindhoven, Holland"
set am_vote_extra_m_2 "mp_tripoli"
set am_vote_extra_m_2_f "Tripoli, Libya"
//set am_vote_extra_m_3 "mp_silotown"	//adds custom map (1..n)
//set am_vote_extra_m_3_f "SiloTown"	//friendly name
//set am_vote_extra_g_1 "ctb"		//adds custom gametype
//set am_vote_extra_g_1_f "Capture the Beer"	//friendly name

// Anti-same-map/gametype (c) Ashus
set am_antisamemap "1"				//enable (requires vote enabled)
set am_antisamemap_one ""			//map name to limit; if empty, limit all maps
set am_antisamemap_max "3"			//maximum number of repeated map votes
set am_antisamegametype "1"			//enable (requires vote enabled)
set am_antisamegametype_one "sd"	//gametype to limit; if empty, limit all gametypes
set am_antisamegametype_max "3"		//maximum number of repeated gametype votes

// Force next map/gametype
//set am_next_map "mp_railyard"			//force next map (with our vote menu enabled, but only this map is present and chosen even if not selected, auto-cleared after vote)
//set am_next_gametype "hq"			//force next gametype

//	USE am_vote_now 1 to pop up vote menu instantly (c) Ashus


//
// Anti-camp (c) Ashus
set am_camper_show "1"		//enables Anticamp for DM, TDM, UTD
set am_camper_show_allmodes "1"	//enable for SD, HQ, CTF as well (am_camper_show must be enabled)

set am_camper_radius "70"	//distance - how much units the player must move to be considered not moving (game units)
set am_camper_time1 "20"	//time in seconds - after this period the player is warned // DM, TDM timing
set am_camper_time2 "25"	//time - after this period the player is considered a camper, logged and shown on radar
set am_camper_time_chill_slow "1"	//slow decreasing of camp points (else reseted after movement)
set am_camper_time_to_chill "5"		//if fast: how many secs. to wait before removing from radar, else on how many camp-points to remove from radar
set am_camper_time_chill_speed "1"	//speed of decreasing camp points (# CP per second)
set am_camper_show_friendly "0"		//show friendly campers too

set am_camper_radius_b "70"	//similar to previous // SD, HQ, CTF timing
set am_camper_time1_b "20"
set am_camper_time2_b "25"
set am_camper_time_chill_slow_b "1"
set am_camper_time_to_chill_b "5"
set am_camper_time_chill_speed_b "2"
set am_camper_show_friendly_b "0"

set am_camper_msg1 "^1Nekempi!"		//message to warn player to start moving
set am_camper_msg2 "^6Uz si pro tebe jdou!"		//message to inform player about radar appearance

// CampMeter (c) Ashus
set am_camper_show_campmeter "1"	//enables CampMeter

// Remaining players indicator (c) Ashus
set am_remaining_players_show "1"	//enables Remaining players indicator for SD, HQ & CTF
set am_remaining_players_text "Zbyva"	//the title to display in HUDs of players at all times before the numbers

// Final ranks (c) Ashus
set am_show_ratios "1"		//shows kills/death ratios, bashes, camp counts after each game (am_vote must be enabled)
set am_finals_ranks "1"		//enables commented score (am_show_ratios & am_vote must be enabled)
set am_finals_ranks_i1 "-20"	//limits for classes, must be i1<i2<i3<i4
set am_finals_ranks_i2 "-10"
set am_finals_ranks_i3 "10"
set am_finals_ranks_i4 "20"
set am_finals_ranks_s1 "Hrajes jako ponocnej."	//worse play
set am_finals_ranks_s2 "Hrajes celkem blbe."
set am_finals_ranks_s3 "Hrajes normalne."
set am_finals_ranks_s4 "Hrajes dobre."
set am_finals_ranks_s5 "Hrajes vyborne."		//best play

set am_camper_show_finals "1"		//shows top three campers of previous game (am_vote must be enabled)
set am_camper_finals_title "^3Kdo nam to kazil"	//the title to display before those three

// Spawn protection
set am_spawnprotection "1"		//enables spawn protection
set am_spawnprotection_time "5"	//maximum protection time
set am_spawnprotection_distance "120"	//maximum distance / if player moves more, he cancels protection
set am_spawnprotection_dropweapon "0"	//a player who attacks protected is considered a spawner and he is punished by dropping his weapon

// Weapons
set am_sniper_limit "1"		//sniper count limit, enter -1 to enable unlimited, 0 to disable any, 1 or more to enable (DM is limited one sniper per map)
set am_shotgun_limit "1"	//shotgun count limit, enter -1 to enable unlimited, 0 to disable any, 1 or more to enable (DM is limited one shotgun per map)
set am_grenades_limit "1"	//scr_allow_fraggrenades must be 1; grenades for each player, enter -1 to leave default, 0 to disable any, 1 or more to force, -2 or less to force random 1:2, -3 for 1:3 etc.
set am_smokes_limit "-3"	//scr_allow_smokegrenades must be 1; smoke grenades for each player, enter -1 to leave default, 0 to disable any, 1 or more to force, -2 or less to force random 1:2, -3 for 1:3 etc.
set am_allow_turret "1"		//allow or remove all turrets from map for DM, TDM & UTD
set am_allow_turret_b "0"	//allow or remove all turrets from map for SD, HQ & CTF
//set am_bash "1"			//forbids all shooting immediately (only bashes are allowed)
//set am_pistols "1"		//forbids all primary weapons immediately (only pistols/bashes)

// Spectator abuse (c) Ashus
set am_abuse_spectators "1"		//enable Spectator abuse
set am_abuse_spectators_warn_time "290"		//time before the spectator gets warning
set am_abuse_spectators_warn_msg "^3Spectator, play or leave - you're breaking the rules" // warning message
set am_abuse_spectators_action "1"	//action after timeout; 1=auto-assign 2=kick
set am_abuse_spectators_action_time "300"	//time before the spectator gets thrown into the game auto-assigned
set am_abuse_spectators_assign_weapchoice_timeout "10"		//maximum time spec. has to choose a weapon (else he goes emptyhanded only with pistol)
set am_abuse_spectators_assign_msg "^3You're in. Choose your weapon, though now use just a pistol." // info message
set am_abuse_spectators_kick_msg "You were kicked for inactivity." // info message
set am_abuse_spectators_kick_from_sd "1"		//ensures players get kicked from SD if they die at the exact same point they have spawned at
set am_abuse_spectators_kick_from_sd_tolerance "1"		//allows players to die at spawn n times

set am_allowed_spectator_1 "^2Ashus"
set am_allowed_spectator_2 "^3Mr.Admin"	//etc...

// Name checker (c) Ashus
set am_name_checker "1"			//enable Name checker
set am_name_checker_forbid_unknown "1"  	//doesn't allow 'Unknown soldiers', 'Console' and similar players
set am_name_checker_min_letters "3"         //minimum number of letters in the name (symbol-stripped)
set am_name_checker_kick_msg "You were kicked for bad name. It must contain at least 3 letters and not be blacklisted." 	//if players violates one of the rules, he gets kicked and this message is displayed
set am_name_checker_max_renames "2"  //0 = disable checking, 1 = no renaming allowed, 2 = one renaming allowed, etc.
set am_name_checker_rename_kick_msg "You were kicked for renaming. You are violating rules of the server."
set am_name_checker_rename_warn_msg "^1Warning: This server does not tolerate renaming."

// UT Domination gametype (c) Ashus
set scr_utd_scorelimit "150"        //Score limit, just like elsewhere
set scr_utd_timelimit "30"          //Maximum map time in minutes
set scr_utd_captureinterval "5"     //Interval in seconds, how often a point is gained for defended territory
set scr_utd_useallpositions "0"     //Uses default radio HQ positions for flags (not recommended, can scoop up at one side of map)
set scr_utd_radios "3"              //Maximum number of radios on map (max. 5 if you use preset positions, more if HQ positions)
set scr_utd_radiosound "0"          //Enable sound of radio gaining point (some don't like it)

// UT sounds (c) Ashus
set am_utsounds "1"					//Enables first blood, doublekill-monsterkill, killing spree - godlike sounds
set am_utsounds_countdown "1"       //Enables Three minutes remain and One minute remaining warning sounds
set am_utsounds_countdown_sd "1"    //Enables Three minutes remain and One minute remaining warning sounds in SD
set am_utsounds_countdown_sd_sec "1"  //Enables ten... 3,2,1 sounds before bomb goes off


// Locale specific messages, use $ at variable replaced positions
set am_msg_nextgame "^5Next game:  ^7$"
set am_msg_nextmap "^5Next map:  ^7$"
set am_msg_nextgametype_same "the same"
set am_msg_nextgametype_unknown "unknown"
set am_msg_nextmap_same "the same"
set am_msg_nextmap_unknown "unknown"

set am_msg_vote_result_unavailable "^5Game settings changed, new vote coming up..."
set am_msg_vote_result_blocked_map "^5This map has repeated too many times, new vote coming up..."
set am_msg_vote_result_blocked_gametype "^5This gametype has repeated too many times, new vote coming up..."
set am_msg_vote_spectators_disabled "^5Spectators can't vote, please wait."

set am_msg_settings_changed_choose_weapon "^3Game settings changed, choose another weapon..."

set am_abuse_spectators_kick_msg_others "^3Player ^7$^3 was kicked for inactivity."
set am_abuse_spectators_assign_msg_others "^3Player ^7$^3 was auto-assigned for inactivity."

set am_name_checker_kick_msg_others "^3Player ^7$^3 was kicked for bad name."
set am_name_checker_rename_kick_msg_others "^3Player ^7$^3 was kicked for renaming."

set am_finals_msg_plusminus "^5+/-:  $"
set am_finals_msg_ratio "^5Pomer:  $"
set am_finals_msg_bashes "^5Placnuti:  $"
set am_finals_msg_camps "^5Zakempeni:  $"
set am_camper_msg_player_camps "$^6 se zakempil."

set am_msg_someone_bashed "^6Plac ho!"
set am_msg_you_have_been_bashed "^6Byl jsi placnut!"
set am_msg_headshot_made "^6Dal jsi headku pres $ metru!"
set am_msg_headshot_rcvd "^6Byl jsi strelen do hlavy pres $ metru!"

set am_msg_killingspree_end "$^6's killing spree was ended by ^7$^6."
set am_msg_firstblood "^6First blood: ^7$"

set am_msg_ut_p05killingspree "$^6 is on Killing spree."
set am_msg_ut_p10rampage "$^6 is on Rampage."
set am_msg_ut_p15dominating "$^6 is Dominating."
set am_msg_ut_p20unstoppable "$^6 is Unstoppable."
set am_msg_ut_p25godlike "$^6 is GODLIKE!"

set am_msg_ut_r2doublekill "^6Double kill"
set am_msg_ut_r3multikill "^6Multi kill"
set am_msg_ut_r4megakill "^6Mega kill"
set am_msg_ut_r5ultrakill "^6U L T R A  kill"
set am_msg_ut_r6monsterkill "^6M O N S T E R   K I L L !"

