Package space.arim.libertybans.api.event
package space.arim.libertybans.api.event
Defines standard events.
To listen to events, use the
Note that events are fired for user actions, but not API calls.
To listen to events, use the
EventBus obtained from LibertyBans.getOmnibus(). Note that events are fired for user actions, but not API calls.
-
InterfacesClassDescriptionBasePunishEvent<S extends DraftSanction>Parent interface for when a staff member is enacting a punishment.Called when a staff member is enacting a punishment using a layout (see the layouts addon)Called when a staff member is revoking a punishment (/unban, /unmute, etc.)Parent event for both
PostPunishEventandPostPardonEvent.Called once a punishment has been revokedCalled after a punishment has been enactedCalled when a staff member is enacting a punishment with standard punishment commands (/ban, /mute, etc.)