Class NationPreInviteTownEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.nation.NationPreInviteTownEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
Cancellable event that gets fired before a town is invited to a nation.
- Since:
- 0.100.2.14
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListConvenience method for getting the town that was invited.Convenience method for getting the town that sent the invite.Methods inherited from class CancellableTownyEvent
getCancelMessage, isCancelled, setCancelled, setCancelMessageMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
NationPreInviteTownEvent
-
-
Method Details
-
getInvite
-
getInvitedTown
-
getNation
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-