Class PlotToggleEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.plot.toggle.PlotToggleEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable
Direct Known Subclasses:
PlotToggleExplosionEvent, PlotToggleFireEvent, PlotToggleMobsEvent, PlotTogglePvpEvent, PlotToggleTaxedEvent

public abstract class PlotToggleEvent extends CancellableTownyEvent
  • Constructor Details

    • PlotToggleEvent

      public PlotToggleEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState)
  • Method Details

    • getTownBlock

      public TownBlock getTownBlock()
    • getTown

      public Town getTown()
    • getFutureState

      public boolean getFutureState()
    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • 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