Class TownRemoveResidentRankEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.TownRemoveResidentRankEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
- Author:
- Artuto Fired after a Resident has been removed from a Town rank.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
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
-
TownRemoveResidentRankEvent
-
-
Method Details
-
getResident
- Returns:
- the resident that got removed the rank
-
getRank
- Returns:
- the removed rank
-
getTown
- Returns:
- the town this resident is part of
-
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
-