Class TownTrustRemoveEvent

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

public class TownTrustRemoveEvent extends CancellableTownyEvent
  • Constructor Details

    • TownTrustRemoveEvent

      public TownTrustRemoveEvent(org.bukkit.command.CommandSender sender, Resident trustedResident, Town town)
  • Method Details

    • getTown

      public Town getTown()
      Returns:
      The town where the player is being removed as trusted.
    • getTrustedResident

      public Resident getTrustedResident()
      Returns:
      The resident that is being removed as trusted.
    • 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 class org.bukkit.event.Event