Uses of Class
com.plotsquared.core.plot.PlotId
Package
Description
-
Uses of PlotId in com.plotsquared.core
-
Uses of PlotId in com.plotsquared.core.command
-
Uses of PlotId in com.plotsquared.core.database
Modifier and TypeMethodDescriptionAbstractDB.getPlots()
DBFunc.getPlots()
SQLManager.getPlots()
Load all plots, helpers, denied, trusted, and every setting from DB into aHashMap
.Modifier and TypeMethodDescriptionvoid
AbstractDB.replaceWorld
(String oldWorld, String newWorld, PlotId min, PlotId max) static void
DBFunc.replaceWorld
(String oldWorld, String newWorld, PlotId min, PlotId max) void
SQLManager.replaceWorld
(String oldWorld, String newWorld, PlotId min, PlotId max) void
AbstractDB.resizeCluster
(PlotCluster current, PlotId min, PlotId max) static void
DBFunc.resizeCluster
(PlotCluster current, PlotId min, PlotId max) void
SQLManager.resizeCluster
(PlotCluster current, PlotId min, PlotId max) Modifier and TypeMethodDescriptionvoid
void
Purges a whole world.static void
void
-
Uses of PlotId in com.plotsquared.core.events
Modifier and TypeMethodDescriptionPlotChangeOwnerEvent.getPlotId()
Get the PlotId.PlotClearEvent.getPlotId()
Get the PlotId.PlotComponentSetEvent.getPlotId()
Get the PlotIdPlotDeleteEvent.getPlotId()
Get the PlotId.PlotDoneEvent.getPlotId()
Get the PlotId. -
Uses of PlotId in com.plotsquared.core.generator
Modifier and TypeMethodDescriptionSquarePlotManager.getNearestPlotId
(@NonNull PlotArea plotArea, int x, int y, int z) SquarePlotManager.getPlotId
(int x, int y, int z) SquarePlotManager.getPlotIdAbs
(int x, int y, int z) Modifier and TypeMethodDescriptionHybridGen.getNewPlotArea
(String world, String id, PlotId min, PlotId max) abstract PlotArea
IndependentPlotGenerator.getNewPlotArea
(String world, String id, PlotId min, PlotId max) Return a new PlotArea object.SingleWorldGenerator.getNewPlotArea
(String world, String id, PlotId min, PlotId max) SquarePlotManager.getPlotBottomLocAbs
(@NonNull PlotId plotId) Get the bottom plot loc (some basic math).String[]
ClassicPlotManager.getPlotComponents
(@NonNull PlotId plotId) SquarePlotManager.getPlotTopLocAbs
(@NonNull PlotId plotId) boolean
ClassicPlotManager.setAir
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot air region.boolean
ClassicPlotManager.setAll
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot main, floor and air areas.boolean
ClassicPlotManager.setComponent
(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) boolean
ClassicPlotManager.setFloor
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the plot floorboolean
ClassicPlotManager.setMain
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot main blocks.boolean
ClassicPlotManager.setMiddle
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable QueueCoordinator queue) Set the middle plot block to a Patternboolean
ClassicPlotManager.setOutline
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a plot's outlineboolean
ClassicPlotManager.setWall
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a plot's wall top block onlyboolean
ClassicPlotManager.setWallFilling
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the wall filling for a plotModifier and TypeMethodDescriptionboolean
ClassicPlotManager.finishPlotMerge
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) boolean
ClassicPlotManager.finishPlotUnlink
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) boolean
ClassicPlotManager.startPlotMerge
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) boolean
ClassicPlotManager.startPlotUnlink
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) ModifierConstructorDescriptionClassicPlotWorld
(@NonNull String worldName, String id, @NonNull IndependentPlotGenerator generator, PlotId min, PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) GridPlotWorld
(String worldName, String id, @NonNull IndependentPlotGenerator generator, PlotId min, PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) HybridPlotWorld
(String worldName, String id, @NonNull IndependentPlotGenerator generator, PlotId min, PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) SquarePlotWorld
(String worldName, @Nullable String id, @NonNull IndependentPlotGenerator generator, @Nullable PlotId min, @Nullable PlotId max, @NonNull YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) -
Uses of PlotId in com.plotsquared.core.inject.factory
-
Uses of PlotId in com.plotsquared.core.plot
Modifier and TypeMethodDescriptionPlotId.copy()
Deprecated, for removal: This API element is subject to removal in a future version.PlotId is immutable, copy is not required.PlotId.fromString
(@NonNull String string) Get a Plot Id based on a stringPlotId.fromStringOrNull
(@NonNull String string) Attempt to parse a plot ID from a stringPlotCluster.getCenterPlotId()
Plot.getId()
Gets thePlotId
of this plot.PlotArea.getMax()
Returns the max PlotId.PlotArea.getMin()
Returns the minimum value of aPlotId
.PlotId.getNextId()
Get the next plot ID for claiming purposesPlotCluster.getP1()
PlotCluster.getP2()
abstract PlotId
PlotManager.getPlotId
(int x, int y, int z) abstract PlotId
PlotManager.getPlotIdAbs
(int x, int y, int z) PlotId.getRelative
(@NonNull Direction direction) Get the PlotId in a relative directionPlotId.PlotRangeIterator.next()
PlotId.of
(int x, int y) Create a new plot ID instancePlotId.unpair
(int hash) Gets the PlotId from the HashCode
Note: Only accurate for small x,z values (short)Modifier and TypeMethodDescriptionPlotArea.getPlotEntries()
PlotArea.getPlotsRaw()
Deprecated.Poorly implemented.PlotId.PlotRangeIterator.iterator()
Modifier and TypeMethodDescriptionboolean
boolean
PlotArea.getFirstIntersectingCluster
(@NonNull PlotId pos1, @NonNull PlotId pos2) PlotArea.getNextFreePlot
(PlotPlayer<?> player, @Nullable PlotId start) PlotArea.getOwnedPlot
(@NonNull PlotId id) PlotArea.getOwnedPlotAbs
(@NonNull PlotId id) Get the owned Plot at a PlotId.PlotArea.getPlotAbs
(@NonNull PlotId id) abstract Location
PlotManager.getPlotBottomLocAbs
(@NonNull PlotId plotId) abstract String[]
PlotManager.getPlotComponents
(@NonNull PlotId plotId) Get an array of the plot's component values as stringPlotArea.getPlotSelectionOwned
(@NonNull PlotId pos1, @NonNull PlotId pos2) Get a set of owned plots within a selection (chooses the best algorithm based on selection size.abstract Location
PlotManager.getPlotTopLocAbs
(@NonNull PlotId plotId) boolean
PlotCluster.intersects
(PlotId pos1, PlotId pos2) static PlotId.PlotRangeIterator
boolean
PlotArea.removePlot
(@NonNull PlotId id) abstract boolean
PlotManager.setComponent
(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the specified components to the specified Pattern on the specified plot.void
Change the plot IDvoid
void
Modifier and TypeMethodDescriptionabstract boolean
PlotManager.finishPlotMerge
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) Finishing off plot merging by adding in the walls surrounding the plot (OPTIONAL)(UNFINISHED).abstract boolean
PlotManager.finishPlotUnlink
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) Finished off an unlink by resetting the top wall block for unlinked plotsboolean
PlotArea.mergePlots
(@NonNull List<PlotId> plotIds, boolean removeRoads) Merge a list of plots together.boolean
PlotArea.mergePlots
(@NonNull List<PlotId> plotIds, boolean removeRoads, @Nullable Runnable whenDone) Merge a list of plots together.abstract boolean
PlotManager.startPlotMerge
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) abstract boolean
PlotManager.startPlotUnlink
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) ModifierConstructorDescriptionConstructor for an unowned plot.Plot
(@NonNull PlotId id, UUID owner, HashSet<UUID> trusted, HashSet<UUID> members, HashSet<UUID> denied, String alias, BlockLoc position, Collection<PlotFlag<?, ?>> flags, PlotArea area, boolean[] merged, long timestamp, int temp) Constructor for a saved plots (Used by the database manager when plots are fetched)Constructor for a new plot.Constructor for a temporary plot (use -1 for temp)
The database will ignore any queries regarding temporary plots.PlotArea
(@NonNull String worldName, @Nullable String id, @NonNull IndependentPlotGenerator generator, @Nullable PlotId min, @Nullable PlotId max, @Nullable YamlConfiguration worldConfiguration, @NonNull GlobalBlockQueue blockQueue) PlotCluster
(PlotArea area, PlotId pos1, PlotId pos2, UUID owner) PlotCluster
(PlotArea area, PlotId pos1, PlotId pos2, UUID owner, int temp) -
Uses of PlotId in com.plotsquared.core.plot.comment
-
Uses of PlotId in com.plotsquared.core.plot.world
Modifier and TypeMethodDescriptionSinglePlotManager.getPlotId
(int x, int y, int z) SinglePlotManager.getPlotIdAbs
(int x, int y, int z) Modifier and TypeMethodDescriptionSinglePlotArea.getPlotAbs
(@NonNull PlotId id) SinglePlotManager.getPlotBottomLocAbs
(@NonNull PlotId plotId) String[]
SinglePlotManager.getPlotComponents
(@NonNull PlotId plotId) SinglePlotManager.getPlotTopLocAbs
(@NonNull PlotId plotId) void
boolean
SinglePlotManager.setComponent
(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Modifier and TypeMethodDescriptionboolean
SinglePlotManager.finishPlotMerge
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) boolean
SinglePlotManager.finishPlotUnlink
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) boolean
SinglePlotManager.startPlotMerge
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) boolean
SinglePlotManager.startPlotUnlink
(@NonNull List<PlotId> plotIds, @Nullable QueueCoordinator queue) ModifierConstructorDescriptionSinglePlot
(@NonNull PlotArea area, @NonNull PlotId id) SinglePlot
(PlotId id, UUID owner, HashSet<UUID> trusted, HashSet<UUID> members, HashSet<UUID> denied, String alias, BlockLoc position, Collection<PlotFlag<?, ?>> flags, PlotArea area, boolean[] merged, long timestamp, int temp) -
Uses of PlotId in com.plotsquared.core.services.plots
Modifier and TypeMethodDescriptionAutoService.AutoQuery.getStartId()
Get the plot ID to start searching from -
Uses of PlotId in com.plotsquared.core.setup
Modifier and TypeMethodDescription -
Uses of PlotId in com.plotsquared.core.util