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.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionConfirmationConfirmEvent
(Confirmation confirmation, org.bukkit.command.CommandSender sender) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
boolean
void
setCancelled
(boolean cancelled) void
setCancelMessage
(String cancelMessage) Methods inherited from class com.palmergames.bukkit.towny.confirmations.event.ConfirmationEvent
getConfirmation, getSender
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ConfirmationConfirmEvent
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getCancelMessage
-
setCancelMessage
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-