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
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
getComments
(String inbox) boolean[]
boolean
getMerged
(int direction) Check if the plot is merged in a direction
0 = North
1 = East
2 = South
3 = Westvoid
void
setComments
(List<PlotComment> comments) void
setMerged
(boolean[] merged) boolean
setMerged
(int direction, boolean merged) Deprecated, for removal: This API element is subject to removal in a future version.Unused internally.boolean
void
setPosition
(BlockLoc position) void
setRatings
(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
@Deprecated(forRemoval=true, since="6.11.1") public boolean setMerged(int direction, boolean merged) Deprecated, for removal: This API element is subject to removal in a future version.Unused internally. Scheduled for removal in next major release. UsesetMerged(Direction, boolean)
-
setMerged
-
getPosition
-
setPosition
-
getComments
-
getMerged
-
setMerged
-
getAlias
-
setAlias
-
setComments
-