Class NationPreTownLeaveEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.nation.NationPreTownLeaveEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNationPreTownLeaveEvent
(Nation nation, Town town) Cancellable event thrown when a player in charge of a town uses /n leave, to leave the nation they are joined in. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
getTown()
Methods inherited from class com.palmergames.bukkit.towny.event.CancellableTownyEvent
getCancelMessage, isCancelled, setCancelled, setCancelMessage