Package com.plotsquared.core.plot
Class PlotSettings
java.lang.Object
com.plotsquared.core.plot.PlotSettings
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()getComments(String inbox) boolean[]booleangetMerged(int direction) Check if the plot is merged in a direction
0 = North
1 = East
2 = South
3 = WestvoidvoidsetComments(List<PlotComment> comments) voidsetMerged(boolean[] merged) booleanvoidsetPosition(BlockLoc position) voidsetRatings(HashMap<UUID, Integer> ratings)
-
Constructor Details
-
PlotSettings
public PlotSettings()
-
-
Method Details
-
getMerged
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
-
setRatings
-
setMerged
-
getPosition
-
setPosition
-
getComments
-
getMerged
-
setMerged
-
getAlias
-
setAlias
-
setComments
-