java.lang.Object
me.remigio07.chatplugin.api.common.event.punishment.ban.banwave.BanwaveStartEvent
All Implemented Interfaces:
ChatPluginEvent

public class BanwaveStartEvent extends Object implements ChatPluginEvent
Represents the event called just before a banwave is executed.
See Also:
  • 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