Uses of Class
com.plotsquared.core.plot.PlotArea
Packages that use PlotArea
Package
Description
-
Uses of PlotArea in com.plotsquared.core
Methods in com.plotsquared.core that return types with arguments of type PlotAreaModifier and TypeMethodDescriptionPlotAPI.getPlotAreas
(@Nullable String world) Gets a list of PlotAreas in the world.Methods in com.plotsquared.core with parameters of type PlotAreaModifier and TypeMethodDescriptionvoid
PlotAPI.addPlotArea
(@NonNull PlotArea plotArea) Adds a plot world.void
PlotSquared.addPlotArea
(@NonNull PlotArea plotArea) Add a global reference to a plot world.void
PlotSquared.removePlotArea
(@NonNull PlotArea area) Remove a plot world reference.PlotSquared.sortPlots
(@NonNull Collection<Plot> plots, @NonNull PlotSquared.SortType type, @Nullable PlotArea priorityArea) Sort a collection of plots by world (with a priority world), then by hashcode. -
Uses of PlotArea in com.plotsquared.core.command
Methods in com.plotsquared.core.command with parameters of type PlotAreaModifier and TypeMethodDescriptionstatic boolean
Auto.checkAllowedPlots
(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) static byte[]
-
Uses of PlotArea in com.plotsquared.core.configuration.caption
Methods in com.plotsquared.core.configuration.caption with parameters of type PlotArea -
Uses of PlotArea in com.plotsquared.core.database
Methods in com.plotsquared.core.database with parameters of type PlotArea -
Uses of PlotArea in com.plotsquared.core.events
Methods in com.plotsquared.core.events that return PlotAreaConstructors in com.plotsquared.core.events with parameters of type PlotAreaModifierConstructorDescriptionPlayerAutoPlotEvent
(PlotPlayer<?> player, PlotArea plotArea, @Nullable String schematic, int sizeX, int sizeZ) PlayerAutoPlotEvent: called when a player attempts to auto claim a plot.PlotUnlinkEvent
(@NonNull PlotArea area, Plot plot, boolean createRoad, boolean createSign, PlotUnlinkEvent.REASON reason) PlotUnlinkEvent: Called when a mega plot is unlinked -
Uses of PlotArea in com.plotsquared.core.generator
Subclasses of PlotArea in com.plotsquared.core.generatorModifier and TypeClassDescriptionclass
class
class
class
Fields in com.plotsquared.core.generator declared as PlotAreaMethods in com.plotsquared.core.generator that return PlotAreaModifier 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) Methods in com.plotsquared.core.generator with parameters of type PlotAreaModifier and TypeMethodDescriptionvoid
void
HybridGen.generateChunk
(@NonNull ScopedQueueCoordinator result, @NonNull PlotArea settings) abstract void
IndependentPlotGenerator.generateChunk
(ScopedQueueCoordinator result, PlotArea settings) Deprecated, for removal: This API element is subject to removal in a future version.void
SingleWorldGenerator.generateChunk
(ScopedQueueCoordinator result, PlotArea settings) SquarePlotManager.getNearestPlotId
(@NonNull PlotArea plotArea, int x, int y, int z) void
HybridGen.initialize
(PlotArea area) abstract void
IndependentPlotGenerator.initialize
(PlotArea area) It is preferred for the PlotArea object to do most of the initialization necessary.void
SingleWorldGenerator.initialize
(PlotArea area) boolean
HybridPlotWorld.isCompatible
(@NonNull PlotArea plotArea) boolean
HybridGen.populateChunk
(ScopedQueueCoordinator result, PlotArea settings) boolean
IndependentPlotGenerator.populateChunk
(ScopedQueueCoordinator result, PlotArea settings) Deprecated, for removal: This API element is subject to removal in a future version.ScopedQueueCoordinator
will be renamed in v7.void
HybridUtils.regeneratePlotWalls
(PlotArea area) boolean
HybridUtils.regenerateRoad
(PlotArea area, BlockVector2 chunk, int extend) Deprecated, for removal: This API element is subject to removal in a future version.boolean
HybridUtils.regenerateRoad
(PlotArea area, BlockVector2 chunk, int extend, @Nullable QueueCoordinator queueCoordinator) Regenerate the road in a chunk in a plot area.boolean
HybridUtils.scheduleRoadUpdate
(PlotArea area, int extend) boolean
HybridUtils.scheduleRoadUpdate
(PlotArea area, Set<BlockVector2> regions, int extend, Set<BlockVector2> chunks) Constructors in com.plotsquared.core.generator with parameters of type PlotArea -
Uses of PlotArea in com.plotsquared.core.location
Methods in com.plotsquared.core.location that return PlotAreaModifier and TypeMethodDescriptionLocation.getPlotArea()
Get thePlotArea
, if any, that contains this location -
Uses of PlotArea in com.plotsquared.core.player
Methods in com.plotsquared.core.player that return PlotAreaModifier and TypeMethodDescriptionPlotPlayer.getApplicablePlotArea()
PlotPlayer.getPlotAreaAbs()
Return the PlotArea this player is currently in, or null. -
Uses of PlotArea in com.plotsquared.core.plot
Fields in com.plotsquared.core.plot declared as PlotAreaMethods in com.plotsquared.core.plot that return PlotAreaModifier and TypeMethodDescriptionPlot.getArea()
Gets the plot world object for this plot
- The generic PlotArea object can be casted to its respective class for more control (e.g.Get the plot area that contains the given location, or null if the location is not a part of a plot area.Methods in com.plotsquared.core.plot that return types with arguments of type PlotAreaModifier and TypeMethodDescriptionabstract @NonNull Collection<PlotArea>
PlotWorld.getAreas()
Get all plot areas in the worldabstract @NonNull Collection<PlotArea>
PlotWorld.getAreasInRegion
(@NonNull CuboidRegion region) Get all plot areas in a specified regionMethods in com.plotsquared.core.plot with parameters of type PlotAreaModifier and TypeMethodDescriptionvoid
Register a new area in the worldPlot.fromString
(@Nullable PlotArea defaultArea, @NonNull String string) Gets a plot from a string e.g.Plot.getRelative
(PlotArea area, int x, int y) boolean
PlotArea.isCompatible
(@NonNull PlotArea plotArea) Check if a PlotArea is compatible (move/copy etc.).void
PlotWorld.removeArea
(@NonNull PlotArea area) Remove an area from the worldvoid
Assigns this plot to a plot area.
(Mostly used during startup when worlds are being created)void
Constructors in com.plotsquared.core.plot with parameters of type PlotAreaModifierConstructorDescriptionConstructor 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.PlotCluster
(PlotArea area, PlotId pos1, PlotId pos2, UUID owner) PlotCluster
(PlotArea area, PlotId pos1, PlotId pos2, UUID owner, int temp) PlotManager
(@NonNull PlotArea plotArea) -
Uses of PlotArea in com.plotsquared.core.plot.expiration
Methods in com.plotsquared.core.plot.expiration with parameters of type PlotArea -
Uses of PlotArea in com.plotsquared.core.plot.world
Subclasses of PlotArea in com.plotsquared.core.plot.worldMethods in com.plotsquared.core.plot.world that return PlotAreaModifier and TypeMethodDescriptionDefaultPlotAreaManager.getAllPlotAreas()
PlotAreaManager.getAllPlotAreas()
Get all plot areas recognized by PlotSquaredSinglePlotAreaManager.getAllPlotAreas()
DefaultPlotAreaManager.getApplicablePlotArea
(@Nullable Location location) PlotAreaManager.getApplicablePlotArea
(@Nullable Location location) Get the plot area for a particular location.SinglePlotAreaManager.getApplicablePlotArea
(@Nullable Location location) DefaultPlotAreaManager.getPlotArea
(@NonNull Location location) DefaultPlotAreaManager.getPlotArea
(@NonNull String world, @Nullable String id) PlotAreaManager.getPlotArea
(@NonNull Location location) Get the plot area, if there is any, for the given location.PlotAreaManager.getPlotArea
(@NonNull String world, @Nullable String id) Get the plot area in a world with an (optional ID).SinglePlotAreaManager.getPlotArea
(@NonNull Location location) SinglePlotAreaManager.getPlotArea
(@NonNull String world, @NonNull String id) PlotAreaManager.getPlotAreaByString
(@NonNull String search) Get a plot area from a search string in the format "world;id" or "world,id" where the ID portion is optionalDefaultPlotAreaManager.getPlotAreas
(@NonNull String world, @Nullable CuboidRegion region) PlotAreaManager.getPlotAreas
(@NonNull String world, @Nullable CuboidRegion region) Get all plot areas in a world, with an optional region constraintSinglePlotAreaManager.getPlotAreas
(@NonNull String world, @NonNull CuboidRegion region) Methods in com.plotsquared.core.plot.world that return types with arguments of type PlotAreaModifier and TypeMethodDescriptionScatteredPlotWorld.getAreas()
StandardPlotWorld.getAreas()
ScatteredPlotWorld.getAreasInRegion
(@NonNull CuboidRegion region) StandardPlotWorld.getAreasInRegion
(@NonNull CuboidRegion region) PlotAreaManager.getPlotAreasSet
(@NonNull String world) Method identical toPlotAreaManager.getPlotAreasSet(String, CuboidRegion)
but that does not take in a region, and returns a modifiable setPlotAreaManager.getPlotAreasSet
(@NonNull String world, @Nullable CuboidRegion region) Method that delegates toPlotAreaManager.getPlotAreas(String, CuboidRegion)
but returns an immutable set, instead of an arrayMethods in com.plotsquared.core.plot.world with parameters of type PlotAreaModifier and TypeMethodDescriptionvoid
void
DefaultPlotAreaManager.addPlotArea
(@NonNull PlotArea plotArea) void
PlotAreaManager.addPlotArea
(@NonNull PlotArea area) Add a plot areavoid
SinglePlotAreaManager.addPlotArea
(@NonNull PlotArea area) void
ScatteredPlotWorld.removeArea
(@NonNull PlotArea area) void
DefaultPlotAreaManager.removePlotArea
(@NonNull PlotArea area) void
PlotAreaManager.removePlotArea
(@NonNull PlotArea area) Remove a plot areavoid
SinglePlotAreaManager.removePlotArea
(@NonNull PlotArea area) Method parameters in com.plotsquared.core.plot.world with type arguments of type PlotAreaModifier and TypeMethodDescriptiondefault void
PlotAreaManager.forEachPlotArea
(@NonNull Consumer<? super PlotArea> action) Perform an action on each recognized plot areaConstructors in com.plotsquared.core.plot.world with parameters of type PlotAreaModifierConstructorDescriptionSinglePlot
(@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) SinglePlotManager
(@NonNull PlotArea plotArea) StandardPlotWorld
(@NonNull String world, @Nullable PlotArea area) -
Uses of PlotArea in com.plotsquared.core.queue
Methods in com.plotsquared.core.queue that return PlotAreaModifier and TypeMethodDescriptionAreaBoundDelegateQueueCoordinator.getArea()
Gets the plot area block settings is limited toConstructors in com.plotsquared.core.queue with parameters of type PlotAreaModifierConstructorDescription -
Uses of PlotArea in com.plotsquared.core.services.plots
Methods in com.plotsquared.core.services.plots that return PlotAreaModifier and TypeMethodDescriptionAutoService.AutoQuery.getPlotArea()
Get the plot area to search inConstructors in com.plotsquared.core.services.plots with parameters of type PlotArea -
Uses of PlotArea in com.plotsquared.core.setup
Methods in com.plotsquared.core.setup with parameters of type PlotAreaModifier and TypeMethodDescriptionstatic PlotAreaBuilder
PlotAreaBuilder.ofPlotArea
(PlotArea area) -
Uses of PlotArea in com.plotsquared.core.util
Methods in com.plotsquared.core.util with parameters of type PlotAreaModifier and TypeMethodDescriptionEventDispatcher.callAuto
(PlotPlayer<?> player, PlotArea area, String schematic, int size_x, int size_z) EventDispatcher.callUnlink
(PlotArea area, Plot plot, boolean createRoad, boolean createSign, PlotUnlinkEvent.REASON reason) abstract String
SetupUtils.getGenerator
(PlotArea plotArea) double
double
static <T> boolean
PlotFlagUtil.isAreaRoadFlagsAndFlagEquals
(PlotArea area, Class<? extends PlotFlag<T, ?>> flagClass, T value) Check if the value of aPlotFlag
matches the given value.abstract boolean
Returns whether economy is enabled in the given plot area or not.void
RegionManager.setBiome
(CuboidRegion region, int extendBiome, BiomeType biome, PlotArea area, Runnable whenDone) Set a region to a biome type.boolean
RegionManager.setCuboids
(@NonNull PlotArea area, @NonNull Set<CuboidRegion> regions, @NonNull Pattern blocks, int minY, int maxY, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a number of cuboids to a certain block between two y values. -
Uses of PlotArea in com.plotsquared.core.util.query
Methods in com.plotsquared.core.util.query with parameters of type PlotAreaModifier and TypeMethodDescriptionQuery for plots in a single areaPlotQuery.relativeToArea
(@NonNull PlotArea plotArea) Defines the area around which plots may be sorted, depending on the sorting strategyMethod parameters in com.plotsquared.core.util.query with type arguments of type PlotArea -
Uses of PlotArea in com.plotsquared.core.util.task
Constructors in com.plotsquared.core.util.task with parameters of type PlotAreaModifierConstructorDescriptionAutoClaimFinishTask
(PlotPlayer<?> player, Plot plot, PlotArea area, String schematic, EventDispatcher eventDispatcher)
ScopedQueueCoordinator
will be renamed in v7.