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

public class TownRemoveResidentRankEvent extends CancellableTownyEvent
Author:
Artuto Fired after a Resident has been removed from a Town rank.
  • Constructor Details

    • TownRemoveResidentRankEvent

      public TownRemoveResidentRankEvent(Resident resident, String rank, Town town)
  • Method Details

    • getResident

      public Resident getResident()
      Returns:
      the resident that got removed the rank
    • getRank

      public String getRank()
      Returns:
      the removed rank
    • getTown

      public Town 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 class org.bukkit.event.Event