Class BanwaveStartEvent
java.lang.Object
me.remigio07.chatplugin.api.common.event.punishment.ban.banwave.BanwaveStartEvent
- All Implemented Interfaces:
ChatPluginEvent
Represents the event called just before a banwave is executed.
- See Also:
-
Constructor Summary
ConstructorDescriptionBanwaveStartEvent
(long estimatedDuration) Constructs a new banwave start event. -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the banwave's estimated duration, in milliseconds.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.remigio07.chatplugin.api.common.event.ChatPluginEvent
call
-
Constructor Details
-
BanwaveStartEvent
public BanwaveStartEvent(long estimatedDuration) Constructs a new banwave start event.- Parameters:
estimatedDuration
- Banwave's estimated duration
-
-
Method Details
-
getEstimatedDuration
public long getEstimatedDuration()Gets the banwave's estimated duration, in milliseconds.- Returns:
- Banwave's estimated duration
-