10 Commits
Author SHA1 Message Date
Cryptite 9e56826f66 Add PlayerShieldDisableEvent (#9177) 2023-12-28 18:27:34 -06:00
Tom Miller 5ac09635df Add/Remove multiple entries with Scoreboard Team (#6640) 2022-01-09 23:08:55 -06:00
Tom f1400a74c5 Expose Tracked Players
A lot of plugins seem to use reflection to determine this, so this could be a bit of a starter-patch as future PR'ers could also exposed tracked entities as well.
2021-02-26 16:27:53 -06:00
Tom b190bc7e8a Clear SyncLoadInfo 2021-02-26 16:14:02 -06:00
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
Cryptite b37ffd3a00 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 0fd1e5c650 Multiple Entries with Scoreboards 2021-09-21 18:17:33 -05:00
Tom 90c30bbb0b Expose Tracked Players 2021-02-26 16:24:25 -06:00