Class ResidentToggleModeEvent

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

public class ResidentToggleModeEvent extends CancellableTownyEvent
  • Constructor Details

    • ResidentToggleModeEvent

      public ResidentToggleModeEvent(Resident resident, String mode)
  • Method Details

    • getResident

      public Resident getResident()
    • getMode

      public String getMode()
    • isTogglingOn

      public boolean isTogglingOn()
    • 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