Class PlayerAutoPlotEvent

java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlayerAutoPlotEvent
All Implemented Interfaces:
CancellablePlotEvent

public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEvent
PlayerAutoPlotEvent returns null for PlotEvent.getPlot() as the event is fired before the plot is chosen.
  • Constructor Details

    • PlayerAutoPlotEvent

      public PlayerAutoPlotEvent(PlotPlayer<?> player, PlotArea plotArea, @Nullable String schematic, int sizeX, int sizeZ)
      PlayerAutoPlotEvent: called when a player attempts to auto claim a plot.
      Parameters:
      player - The player attempting to auto claim
      plotArea - The applicable plot area
      schematic - The schematic defined or null
      sizeX - The size of the auto area
      sizeZ - The size of the auto area
  • Method Details