Class PlotGroupAddEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.CancellableTownyEvent
com.palmergames.bukkit.towny.event.plot.group.PlotGroupAddEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable
Direct Known Subclasses:
PlotGroupCreatedEvent

public class PlotGroupAddEvent extends CancellableTownyEvent
Called when a townblock is added into a plot group
  • Constructor Details

    • PlotGroupAddEvent

      public PlotGroupAddEvent(PlotGroup group, TownBlock townBlock, org.bukkit.entity.Player player)
  • Method Details

    • getPlotGroup

      @NotNull public @NotNull PlotGroup getPlotGroup()
    • getTownBlock

      @NotNull public @NotNull TownBlock getTownBlock()
    • getPlayer

      @NotNull public @NotNull org.bukkit.entity.Player getPlayer()
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event