Class PlotTrustAddEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.plot.PlotTrustAddEvent
- 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
ConstructorDescriptionPlotTrustAddEvent
(TownBlock townBlock, Resident trustedResident, org.bukkit.entity.Player player) PlotTrustAddEvent
(List<TownBlock> townBlocks, Resident trustedResident, org.bukkit.entity.Player player) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
org.bukkit.entity.Player
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
-
PlotTrustAddEvent
-
PlotTrustAddEvent
-
-
Method Details
-
getTownBlocks
- Returns:
- The townBlock(s) where this resident is being added as trusted.
-
getTrustedResident
- Returns:
- The resident that is being added as trusted.
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Returns:
- The player that is adding this resident as trusted.
-
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
-