Class PlotGroupCreatedEvent

java.lang.Object
org.bukkit.event.Event
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlotGroupCreatedEvent extends PlotGroupAddEvent
Called when a plot group is created.
  • Constructor Details

    • PlotGroupCreatedEvent

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

    • getTownBlock

      @NotNull public @NotNull TownBlock getTownBlock()
      Overrides:
      getTownBlock in class PlotGroupAddEvent
      Returns:
      The initial townblock that this plot group is being created with.