Class PlotTrustRemoveEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.plot.PlotTrustRemoveEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlotTrustRemoveEvent extends CancellableTownyEvent
  • Constructor Details

    • PlotTrustRemoveEvent

      public PlotTrustRemoveEvent(TownBlock townBlock, Resident trustedResident, org.bukkit.entity.Player player)
    • PlotTrustRemoveEvent

      public PlotTrustRemoveEvent(List<TownBlock> townBlocks, Resident trustedResident, org.bukkit.entity.Player player)
  • Method Details

    • getTrustedResident

      public Resident getTrustedResident()
      Returns:
      The resident that is being removed as trusted.
    • getTownBlocks

      public List<TownBlock> getTownBlocks()
      Returns:
      The townBlock(s) where this resident is being removed as trusted.
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
      The player that is removing 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 class org.bukkit.event.Event