Class BanEvent
java.lang.Object
me.remigio07.chatplugin.api.common.event.punishment.ban.BanEvent
- All Implemented Interfaces:
ChatPluginEvent
- Direct Known Subclasses:
BanUpdateEvent
,UnbanEvent
Represents the event called after a ban gets processed.
- See Also:
-
Constructor Details
-
BanEvent
Constructs a new ban event.- Parameters:
ban
- Ban involved
-
-
Method Details
-
getBan
Gets the ban involved with this event.- Returns:
- Ban involved
-