Interface GateService


public interface GateService
Controls base security gates and virtual barrier protections.
  • Method Details

    • isGateOpen

      boolean isGateOpen(@NotNull @NotNull UUID ownerId, int gateId)
    • openGate

      @MainThread void openGate(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull PlotView plot, int gateId)
    • closeGate

      @MainThread void closeGate(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull PlotView plot, int gateId)
    • toggleGate

      @MainThread void toggleGate(@NotNull @NotNull org.bukkit.entity.Player owner, @NotNull @NotNull PlotView plot, int gateId)
    • lockThiefGate

      @MainThread void lockThiefGate(@NotNull @NotNull PlotView plot)
    • unlockThiefGate

      @MainThread void unlockThiefGate(@NotNull @NotNull PlotView plot)
    • getGateBlocks

      @NotNull @NotNull List<org.bukkit.Location> getGateBlocks(@NotNull @NotNull PlotView plot, int gateId)