Class PlotSettings

java.lang.Object
com.plotsquared.core.plot.PlotSettings

public class PlotSettings extends Object
Generic settings class. - Does not keep a reference to a parent class - Direct changes here will not occur in the db (Use the parent plot object for that)
  • Constructor Details

    • PlotSettings

      public PlotSettings()
  • Method Details

    • getMerged

      public boolean getMerged(int direction)
      Check if the plot is merged in a direction
      0 = North
      1 = East
      2 = South
      3 = West
      Parameters:
      direction - Direction to check
      Returns:
      boolean merged
    • getRatings

      public Map<UUID,​Integer> getRatings()
    • setRatings

      public void setRatings(HashMap<UUID,​Integer> ratings)
    • setMerged

      public boolean setMerged(int direction, boolean merged)
    • setMerged

      public boolean setMerged(Direction direction, boolean merged)
    • getPosition

      public BlockLoc getPosition()
    • setPosition

      public void setPosition(BlockLoc position)
    • getComments

      public List<PlotComment> getComments(String inbox)
    • getMerged

      public boolean[] getMerged()
    • setMerged

      public void setMerged(boolean[] merged)
    • getAlias

      public String getAlias()
    • setAlias

      public void setAlias(String alias)
    • setComments

      public void setComments(List<PlotComment> comments)