Class TownOutlawRemoveEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.town.TownOutlawRemoveEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionTownOutlawRemoveEvent
(org.bukkit.command.CommandSender sender, Resident outlawedResident, Town town) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
@NotNull org.bukkit.command.CommandSender
getTown()
Methods inherited from class com.palmergames.bukkit.towny.event.CancellableTownyEvent
getCancelMessage, isCancelled, setCancelled, setCancelMessage
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TownOutlawRemoveEvent
-
-
Method Details
-
getTown
- Returns:
- The town where the resident is being removed as an outlaw.
-
getOutlawedResident
- Returns:
- The resident that is being removed as an outlaw.
-
getSender
@NotNull public @NotNull org.bukkit.command.CommandSender getSender() -
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-