Allows admins to filter what events people can & cannot use.
Commands:(Admin Only) : /ToggleEventRestrictions - Enables / disables the event filter.
(Admin Only) : /AddEventRestriction - Adds an event to the event filter.
+ (Admin Only) : /RestrictEvent - Same as above.
(Admin Only) : /RemoveEventRestriction - Removes an event from the event filter.
+ (Admin Only) : /DerestrictEvent - Same as above.
(Admin Only) : /ClearEventRestrictions - Clears the event filter entirely.
(Everyone) : /GetEventRestrictions - Gets a list of restricted events.
Variables:$pref::Server::RestrictedEvents::CheckOnActivate - Whenever a player clicks on a brick, it will first check & deactivate any restricted events on said brick. (Default : 0)
$pref::Server::EnableEventRestrictions - Toggles event filter (Can be done ingame by using /toggleEventRestrictions). (Default : 0)
$pref::Server::RestrictedEvents::DisableNotice - Disables the 'Player has restricted an event' message whenever an admin uses /restrictevent, /derestrictevent, etc. (Default : 0)
$pref::Server::EventRestrictions::ShowFilterToMinigame - Allows / disallows players from querying the event filter list (via /getEventRestrictions) in a minigame. (Default : 1)
Download this add-on from Blockland Glass!Or download this add-on from Leopard Hosting!Credits:Coder: Clay Hanson (ID:15144)
Beta Tester: Kott (ID:44076)