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 TypeMethodDescriptionvoidPlotAPI.addPlotArea(@NonNull PlotArea plotArea) Adds a plot world.voidPlotSquared.addPlotArea(@NonNull PlotArea plotArea) Add a global reference to a plot world.voidPlotSquared.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 booleanAuto.checkAllowedPlots(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) static byte[] -
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 TypeClassDescriptionclassclassclassclassFields 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 PlotAreaIndependentPlotGenerator.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 TypeMethodDescriptionvoidvoidHybridGen.generateChunk(@NonNull ZeroedDelegateScopedQueueCoordinator result, @NonNull PlotArea settings, boolean biomes) abstract voidIndependentPlotGenerator.generateChunk(ZeroedDelegateScopedQueueCoordinator result, PlotArea settings, boolean biomes) Generate chunk block datavoidSingleWorldGenerator.generateChunk(ZeroedDelegateScopedQueueCoordinator result, PlotArea settings, boolean biomes) com.sk89q.worldedit.world.biome.BiomeTypeabstract com.sk89q.worldedit.world.biome.BiomeTypeGet the biome to be generated at a specific pointcom.sk89q.worldedit.world.biome.BiomeTypeSquarePlotManager.getNearestPlotId(@NonNull PlotArea plotArea, int x, int y, int z) voidHybridGen.initialize(PlotArea area) abstract voidIndependentPlotGenerator.initialize(PlotArea area) It is preferred for the PlotArea object to do most of the initialization necessary.voidSingleWorldGenerator.initialize(PlotArea area) booleanHybridPlotWorld.isCompatible(@NonNull PlotArea plotArea) voidHybridGen.populateChunk(ZeroedDelegateScopedQueueCoordinator result, PlotArea settings) voidIndependentPlotGenerator.populateChunk(ZeroedDelegateScopedQueueCoordinator result, PlotArea setting) Populate a chunk-queue with tile entities, entities, etc.voidHybridUtils.regeneratePlotWalls(PlotArea area) HybridUtils.regenerateRoad(PlotArea area, com.sk89q.worldedit.math.BlockVector2 chunk, int extend, @Nullable QueueCoordinator queueCoordinator) Regenerate the road in a chunk in a plot area.booleanHybridUtils.scheduleRoadUpdate(PlotArea area, int extend) booleanHybridUtils.scheduleRoadUpdate(PlotArea area, Set<com.sk89q.worldedit.math.BlockVector2> regions, int extend, Set<com.sk89q.worldedit.math.BlockVector2> chunks) Constructors in com.plotsquared.core.generator with parameters of type PlotArea -
Uses of PlotArea in com.plotsquared.core.listener
Methods in com.plotsquared.core.listener 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.getContextualPlotArea()Returns the plot area at the player's contextual position.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 com.sk89q.worldedit.regions.CuboidRegion region) Get all plot areas in a specified regionMethods in com.plotsquared.core.plot with parameters of type PlotAreaModifier and TypeMethodDescriptionvoidRegister a new area in the worldPlot.fromString(@Nullable PlotArea defaultArea, @NonNull String string) Gets a plot from a string e.g.Plot.fromString(@Nullable PlotArea defaultArea, @NonNull String string, @Nullable PlotPlayer<?> player) Gets a plot from a string e.g.Plot.fromStringUnchecked(@Nullable PlotArea defaultArea, @NonNull String string) Gets a plot from a string e.g.Plot.getRelative(PlotArea area, int x, int y) booleanPlotArea.isCompatible(@NonNull PlotArea plotArea) Check if a PlotArea is compatible (move/copy etc.).voidPlotWorld.removeArea(@NonNull PlotArea area) Remove an area from the worldvoidAssigns this plot to a plot area.
(Mostly used during startup when worlds are being created)voidConstructors 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 com.sk89q.worldedit.regions.CuboidRegion region) PlotAreaManager.getPlotAreas(@NonNull String world, @Nullable com.sk89q.worldedit.regions.CuboidRegion region) Get all plot areas in a world, with an optional region constraintSinglePlotAreaManager.getPlotAreas(@NonNull String world, @NonNull com.sk89q.worldedit.regions.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 com.sk89q.worldedit.regions.CuboidRegion region) StandardPlotWorld.getAreasInRegion(@NonNull com.sk89q.worldedit.regions.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 com.sk89q.worldedit.regions.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 TypeMethodDescriptionvoidvoidDefaultPlotAreaManager.addPlotArea(@NonNull PlotArea plotArea) voidPlotAreaManager.addPlotArea(@NonNull PlotArea area) Add a plot areavoidSinglePlotAreaManager.addPlotArea(@NonNull PlotArea area) voidScatteredPlotWorld.removeArea(@NonNull PlotArea area) voidDefaultPlotAreaManager.removePlotArea(@NonNull PlotArea area) voidPlotAreaManager.removePlotArea(@NonNull PlotArea area) Remove a plot areavoidSinglePlotAreaManager.removePlotArea(@NonNull PlotArea area) Method parameters in com.plotsquared.core.plot.world with type arguments of type PlotAreaModifier and TypeMethodDescriptiondefault voidPlotAreaManager.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 PlotAreaConstructors 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 PlotAreaBuilderPlotAreaBuilder.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 StringSetupUtils.getGenerator(PlotArea plotArea) doubledoublestatic <T> booleanPlotFlagUtil.isAreaRoadFlagsAndFlagEquals(PlotArea area, Class<? extends PlotFlag<T, ?>> flagClass, T value) Check if the value of aPlotFlagmatches the given value.abstract booleanReturns whether economy is enabled in the given plot area or not.voidRegionManager.setBiome(com.sk89q.worldedit.regions.CuboidRegion region, int extendBiome, com.sk89q.worldedit.world.biome.BiomeType biome, PlotArea area, Runnable whenDone) Set a region to a biome type.booleanRegionManager.setCuboids(@NonNull PlotArea area, @NonNull Set<com.sk89q.worldedit.regions.CuboidRegion> regions, @NonNull com.sk89q.worldedit.function.pattern.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)