Class PlotUnassignEvent

java.lang.Object
org.bukkit.event.Event
dev.yowsef.stealablock.api.event.StealABlockEvent
dev.yowsef.stealablock.api.event.plot.PlotUnassignEvent

public final class PlotUnassignEvent extends StealABlockEvent
Fired when a player is unassigned from their arena plot (e.g., on quit or arena switch).
  • Constructor Details

    • PlotUnassignEvent

      public PlotUnassignEvent(@NotNull @NotNull UUID playerId, @NotNull @NotNull PlotView plot, @NotNull @NotNull Cause cause)
  • Method Details

    • getPlayerId

      @NotNull public @NotNull UUID getPlayerId()
    • getPlot

      @NotNull public @NotNull PlotView getPlot()
    • getHandlers

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

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