rn// ============
rn//
rn// Slot Reservation with redirection.
rn//
rn// Features:
rn// - enable/disable reservation
rn// - redirect/kick new players when they try
rn// to join a full server (non admins)
rn// - redirect/kick either
rn// * the freshest player in game
rn// OR
rn// * the player with the lowest FlagScore
rn// when and admin connects to the full server
rn// - slots can be static, so they will only be
rn// available for admins and can only fill up with
rn// admins.
rn// - ability to redirect to password protected servers
rn// - hide/show the reserved slot(s)
rn//
rn// Notes:
rn// - "DoD AdminSlots" replaces the standard "adminslots" that come
rn// with AMX Mod X by default, so be sure to disable it!
rn
rn
// USAGE: (cvars for amxx.cfg)rn// ===========================rn//rn// dod_adminslots_mode <1/2/3/0> = set mode for slot reservationrn// 0 = disabledrn// 1 = kick freshest playerrn// 2 = kick player with lowest scorern// 3 = slots are static and alwaysrn// available for admins onlyrn//rn// dod_adminslots_slotcount <#> = number of slots to reservern// (mode 1 & 2: only 1 slot needed!)rn//rn// dod_adminslots_redirectip= ip of server for redirectionrn//rn// dod_adminslots_redirectport = port of server for redirectionrn//rn// dod_adminslots_redirectpw = password of server for redirectionrn// (set to "none" if no pw is needed!)rn//rn// dod_adminslots_redirectnew <1/0> = sets handling of people that connectrn// 1 = redirect when the server is fullrn// 0 = just disconnect when fullrn//rn// dod_adminslots_redirectingame <1/0> = sets handling of connected non-adminsrn// when an admin connects to the serverrn// (only mode 1 & 2)rn// 1 = redirect the chosen non-adminrn// 0 = just disconnect chosen non-adminrn//rn// dod_adminslots_hidereserved <1/0> = hide/show reserved slot(s)
rn
rn
// CHANGELOG:rn// ==========rn//rn// - 09.09.2005 Version 0.4betarn// * Initial Releasern//rn// - 10.09.2005 Version 0.5betarn// * added "mode 3" to the plugin which allowsrn// you to have static slots that can be filledrn// with admins, so players don't have to be kickedrn// if an admin joins.rn//rn// - 31.03.2006 Version 0.6betarn// * modded to use new pointer system of cvarsrn// * changed the disconnect; connect to just a connectrn//rn// - 02.07.2007 Version 0.7rn// - fixed Multilanguage bug causing displayingrn// "An Admin needed this Slot! xyz did blahblah"rn// instead ofrn// "ADMIN xyz did blahblah"rn// Please download the new dictionary file as well!rn// - added global tracking cvarrn//

