Class SinglePlotArea


public class SinglePlotArea extends GridPlotWorld
  • Field Details

    • VOID

      public boolean VOID
  • Constructor Details

  • Method Details

    • createManager

      protected @NonNull PlotManager createManager()
      Specified by:
      createManager in class PlotArea
    • loadConfiguration

      public void loadConfiguration(ConfigurationSection config)
      Specified by:
      loadConfiguration in class PlotArea
    • saveConfiguration

      public void saveConfiguration(ConfigurationSection config)
      Description copied from class: PlotArea
      Saving core PlotArea settings.
      Overrides:
      saveConfiguration in class PlotArea
      Parameters:
      config - Configuration Section
    • loadWorld

      public void loadWorld(PlotId id)
    • getSettingNodes

      public ConfigurationNode[] getSettingNodes()
      Description copied from class: PlotArea
      Used for the /plot setup command Return null if you do not want to support this feature
      Specified by:
      getSettingNodes in class PlotArea
      Returns:
      ConfigurationNode[]
    • getOwnedPlot

      public @Nullable Plot getOwnedPlot(@NonNull Location location)
      Description copied from class: PlotArea
      Get the owned base plot at a location.
      Overrides:
      getOwnedPlot in class PlotArea
      Parameters:
      location - the location
      Returns:
      the base plot or null
    • getOwnedPlotAbs

      public @Nullable Plot getOwnedPlotAbs(@NonNull Location location)
      Description copied from class: PlotArea
      Get the owned plot at a location.
      Overrides:
      getOwnedPlotAbs in class PlotArea
      Parameters:
      location - the location
      Returns:
      Plot or null
    • getPlot

      public @Nullable Plot getPlot(@NonNull Location location)
      Description copied from class: PlotArea
      Gets the base plot at a location.
      Overrides:
      getPlot in class PlotArea
      Parameters:
      location - the location
      Returns:
      base Plot
    • getPlotAbs

      public @Nullable Plot getPlotAbs(@NonNull Location location)
      Description copied from class: PlotArea
      Gets the Plot at a location.
      Overrides:
      getPlotAbs in class PlotArea
      Parameters:
      location - the location
      Returns:
      the Plot or null if none exists
    • addPlot

      public boolean addPlot(@NonNull Plot plot)
      Overrides:
      addPlot in class PlotArea
    • addPlotAbs

      public boolean addPlotAbs(@NonNull Plot plot)
      Overrides:
      addPlotAbs in class PlotArea
    • addPlotIfAbsent

      public boolean addPlotIfAbsent(@NonNull Plot plot)
      Overrides:
      addPlotIfAbsent in class PlotArea
    • allowSigns

      public boolean allowSigns()
      Description copied from class: PlotArea
      Get whether plot signs are allowed or not.
      Overrides:
      allowSigns in class PlotArea
      Returns:
      true if plot signs are allow, false otherwise.
    • adapt

      protected Plot adapt(Plot p)
    • getPlotAbs

      public @Nullable Plot getPlotAbs(@NonNull PlotId id)
      Overrides:
      getPlotAbs in class PlotArea
    • getPlot

      public @Nullable Plot getPlot(@NonNull PlotId id)
      Overrides:
      getPlot in class PlotArea