Commit Graph
3 Commits
Author SHA1 Message Date
Cryptite bafc86226b Add PlayerShieldDisableEvent
Called whenever a players shield is disabled. This is mainly caused by
attacking players or monsters that carry axes.

The event, while similar to the PlayerItemCooldownEvent, offers other
behaviour and can hence not be implemented as a childtype of said event.
Specifically, cancelling the event prevents the game events from being
sent to the player.

Plugins listening to just the PlayerItemCooldownEvent may not want said
sideeffects, meaning the disable event cannot share a handlerlist with
the cooldown event.
2023-05-01 16:22:43 -05:00
Cryptite 233a293cd1 Multiple Entries with Scoreboards 2021-09-21 18:17:34 -05:00
Tom eb8dcb71a9 Expose Tracked Players 2021-02-26 16:24:25 -06:00