Class PlotUnlinkEvent

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

public final class PlotUnlinkEvent extends PlotEvent implements CancellablePlotEvent
Event called when several merged plots are unlinked
  • Constructor Details

    • PlotUnlinkEvent

      public PlotUnlinkEvent(@NonNull PlotArea area, Plot plot, boolean createRoad, boolean createSign, PlotUnlinkEvent.REASON reason)
      PlotUnlinkEvent: Called when a mega plot is unlinked
      Parameters:
      area - The applicable plot area
      plot - The plot being unlinked from
      createRoad - Whether to regenerate the road
      createSign - Whether to regenerate signs
      reason - The PlotUnlinkEvent.REASON for the unlink
  • Method Details