Class ConfirmationConfirmEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.confirmations.event.ConfirmationEvent
com.palmergames.bukkit.towny.confirmations.event.ConfirmationConfirmEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class ConfirmationConfirmEvent extends ConfirmationEvent implements org.bukkit.event.Cancellable
Called when a Confirmation is confirmed using /confirm.
  • Constructor Details

    • ConfirmationConfirmEvent

      public ConfirmationConfirmEvent(Confirmation confirmation, org.bukkit.command.CommandSender sender)
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getCancelMessage

      public String getCancelMessage()
    • setCancelMessage

      public void setCancelMessage(String cancelMessage)
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()