Description
Decided that I would update some of my admin tool scripts into one addon.
This addon contains:
SAS_ReserveSlots
SAS_SpawnProtect
SAS_TeamBalance
SAS_TkProtect
SAS_Mute
SAS_Karma
SAS_EzAdmin
To set up individual parts of the script, just edit the block config at the top:
[code]
block config
{
es_xset SAS_ReserveSlots 1 // 0 - SAS ReserveSlots OFF, 1 - SAS ReserveSlots ON
es_xset SAS_SpawnProtect 1 // 0 - SAS SpawnProtect OFF, 1 - SAS SpawnProtect ON
es_xset SAS_TeamBalance 1 // 0 - SAS TeamBalance OFF, 1 - SAS TeamBalance ON
es_xset SAS_TkProtect 1 // 0 - SAS TKProtection OFF , 1 - Protect on Team Kill, 2 - Protect on Kill and Wound
es_xset SAS_Mute 1 // 0 - SAS Mute OFF, 1 - SAS Mute ON
es_xset SAS_Karma 1 // 0 - SAS Karma OFF, 1 - SAS Karma ON
}
[/code]
then for the modules you want to use scroll down to the module specific options below - e.g. for SAS_ReserveSlots
[code]
block reserve_slots_config
{
es_xset max_plyrs 32 // Enter number of server player slots you have
es_xset admin_announce 1 // 1 - Announces that a player is an admin when they join the server
es_xset allow_qualify 1 // Allow non admins to earn a reserve slot for a day by playing during a qualifying period
es_xset start_hour 10 // Hour to allow qualifying to start from
es_xset qualify_time 120 // Time in minutes to run qualifying period
es_xset qualify_pass 45 // Minutes a player has to have played during qualifying period to gain a reserved slot
es_xdoblock SAS_ServerTools/reserve_slots_load
}
[/code]