Interface PlotService


public interface PlotService
Queries and manages player plot assignments and spatial checks.
  • Method Details

    • getPlot

      @NotNull @NotNull Optional<PlotView> getPlot(@NotNull @NotNull UUID ownerId)
    • getPlot

      @NotNull @NotNull Optional<PlotView> getPlot(@NotNull @NotNull String arenaId, int plotNumber)
    • getPlotAt

      @NotNull @NotNull Optional<PlotView> getPlotAt(@NotNull @NotNull org.bukkit.Location location)
    • isLocationInPlot

      boolean isLocationInPlot(@NotNull @NotNull org.bukkit.Location location, @NotNull @NotNull PlotView plot)
    • assignPlayer

      @MainThread @NotNull @NotNull ActionResult assignPlayer(@NotNull @NotNull String arenaId, @NotNull @NotNull UUID playerId)
    • unassignPlayer

      @MainThread void unassignPlayer(@NotNull @NotNull UUID playerId)
    • kickVisitors

      @MainThread void kickVisitors(@NotNull @NotNull PlotView plot)