Uses of Class
com.plotsquared.core.plot.Plot
Packages that use Plot
Package
Description
Contains events which are fired after specific actions are completed.
-
Uses of Plot in com.plotsquared.core
Fields in com.plotsquared.core with type parameters of type PlotMethods in com.plotsquared.core that return types with arguments of type PlotModifier and TypeMethodDescriptionPlotAPI.getAllPlots()Gets all plots.PlotAPI.getPlayerPlots(@NonNull PlotPlayer<?> player) Gets all plots for a player.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.PlotSquared.sortPlotsByTemp(Collection<Plot> plots) Methods in com.plotsquared.core with parameters of type PlotModifier and TypeMethodDescriptionbooleanPlotSquared.removePlot(@NonNull Plot plot, boolean callEvent) Unregisters a plot from local memory without calling the database.Method parameters in com.plotsquared.core with type arguments of type PlotModifier and TypeMethodDescriptionvoidPlotSquared.forEachPlotRaw(@NonNull Consumer<Plot> consumer) voidPlotSquared.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.PlotSquared.sortPlotsByTemp(Collection<Plot> plots) -
Uses of Plot in com.plotsquared.core.backup
Methods in com.plotsquared.core.backup with parameters of type PlotModifier and TypeMethodDescriptionvoidBackupManager.automaticBackup(@Nullable PlotPlayer<?> player, @NonNull Plot plot, @NonNull Runnable whenDone) This will perform an automatic backup of the plot iff the plot has an owner, automatic backups are enabled.voidNullBackupManager.automaticBackup(@Nullable PlotPlayer<?> plotPlayer, @NonNull Plot plot, @NonNull Runnable whenDone) voidSimpleBackupManager.automaticBackup(@Nullable PlotPlayer<?> player, @NonNull Plot plot, @NonNull Runnable whenDone) static voidBackupManager.backup(@Nullable PlotPlayer<?> player, @NonNull Plot plot, @NonNull Runnable whenDone) This will perform an automatic backup of the plot iff the plot has an owner, automatic backups are enabled.BackupManager.getProfile(@NonNull Plot plot) Get the backup profile for a plot based on its current owner (if there is one)NullBackupManager.getProfile(@NonNull Plot plot) SimpleBackupManager.getProfile(@NonNull Plot plot) Constructors in com.plotsquared.core.backup with parameters of type PlotModifierConstructorDescriptionPlayerBackupProfile(@NonNull UUID owner, @NonNull Plot plot, @NonNull BackupManager backupManager, @NonNull SchematicHandler schematicHandler) -
Uses of Plot in com.plotsquared.core.command
Methods in com.plotsquared.core.command with parameters of type PlotModifier and TypeMethodDescriptionstatic doubleLike.getLikesPercentage(Plot plot) Get the likes to dislike ratio of a plot as a percentage (in decimal form)booleanBiome.set(PlotPlayer<?> player, Plot plot, String value) booleanDesc.set(PlotPlayer<?> player, Plot plot, String desc) booleanOwner.set(PlotPlayer<?> player, Plot plot, String value) abstract booleanSetCommand.set(PlotPlayer<?> player, Plot plot, String value) booleanSetHome.set(PlotPlayer<?> player, Plot plot, String value) Method parameters in com.plotsquared.core.command with type arguments of type PlotModifier and TypeMethodDescriptionvoidListCmd.displayPlots(PlotPlayer<?> player, List<Plot> plots, int pageSize, int page, String[] args) Condense.getPlots(Collection<Plot> plots, int radius) static voidDatabaseCommand.insertPlots(SQLManager manager, List<Plot> plots, PlotPlayer<?> player) -
Uses of Plot in com.plotsquared.core.database
Fields in com.plotsquared.core.database with type parameters of type PlotModifier and TypeFieldDescriptionSQLManager.plotTasksplot plot_denied plot_helpers plot_trusted plot_comments plot_settings plot_ratingMethods in com.plotsquared.core.database that return types with arguments of type PlotModifier and TypeMethodDescriptionAbstractDB.getPlots()DBFunc.getPlots()SQLManager.getPlots()Load all plots, helpers, denied, trusted, and every setting from DB into aHashMap.Methods in com.plotsquared.core.database with parameters of type PlotModifier and TypeMethodDescriptionvoidSQLManager.addPlotTask(@NonNull Plot plot, SQLManager.UniqueStatement task) voidAbstractDB.clearInbox(Plot plot, String inbox) Clears the specified inbox on the given plot.static voidDBFunc.clearInbox(Plot plot, String inbox) voidSQLManager.clearInbox(Plot plot, String inbox) voidAbstractDB.createPlotAndSettings(Plot plot, Runnable whenDone) static voidDBFunc.createPlotAndSettings(Plot plot, Runnable whenDone) Create a plot.voidSQLManager.createPlotAndSettings(Plot plot, Runnable whenDone) voidAbstractDB.createPlotSafe(Plot plot, Runnable success, Runnable failure) Creates a plot.static voidDBFunc.createPlotSafe(Plot plot, Runnable success, Runnable failure) voidSQLManager.createPlotSafe(Plot plot, Runnable success, Runnable failure) voidAbstractDB.createPlotSettings(int id, Plot plot) Creates the plot settings.static voidDBFunc.createPlotSettings(int id, Plot plot) Create plot settings.voidSQLManager.createPlotSettings(int id, Plot plot) Creates plot settingsvoidDeletes a plot.static voidDelete a plot.voidDelete a plot.voidAbstractDB.deleteComments(Plot plot) Deletes all comments from the plot.static voidDBFunc.deleteComments(Plot plot) Delete the comments in a plot.voidSQLManager.deleteComments(Plot plot) voidAbstractDB.deleteDenied(Plot plot) Removes all denied players from the plot.static voidDBFunc.deleteDenied(Plot plot) Delete the denied list for a plot.voidSQLManager.deleteDenied(Plot plot) voidAbstractDB.deleteHelpers(Plot plot) voidSQLManager.deleteHelpers(Plot plot) static voidDBFunc.deleteMembers(Plot plot) Delete the members list for a plot.voidAbstractDB.deleteRatings(Plot plot) static voidDBFunc.deleteRatings(Plot plot) Delete the ratings for a plot.voidSQLManager.deleteRatings(Plot plot) voidAbstractDB.deleteSettings(Plot plot) static voidDBFunc.deleteSettings(Plot plot) Deleting settings will 1) Delete any settings (flags and such) associated with the plot 2) Prevent any local changes to the plot from saving properly to the dbvoidSQLManager.deleteSettings(Plot plot) voidAbstractDB.deleteTrusted(Plot plot) static voidDBFunc.deleteTrusted(Plot plot) Delete the trusted list for a plot.voidSQLManager.deleteTrusted(Plot plot) voidAbstractDB.getComments(@NonNull Plot plot, String inbox, RunnableVal<List<PlotComment>> whenDone) Gets Plot comments.static voidDBFunc.getComments(Plot plot, String inbox, RunnableVal<List<PlotComment>> whenDone) voidSQLManager.getComments(@NonNull Plot plot, String inbox, RunnableVal<List<PlotComment>> whenDone) intGets the table entry ID.static intGet a plot id.intAbstractDB.getRatings(Plot plot) Gets the ratings from the specified plot.DBFunc.getRatings(Plot plot) SQLManager.getRatings(Plot plot) voidstatic voidvoidvoidAbstractDB.removeComment(Plot plot, PlotComment comment) Removes the specified comment from the given plot.static voidDBFunc.removeComment(Plot plot, PlotComment comment) voidSQLManager.removeComment(Plot plot, PlotComment comment) voidAbstractDB.removeDenied(Plot plot, UUID uuid) Removes the specified player from the denied list of the specified plot.static voidDBFunc.removeDenied(Plot plot, UUID uuid) voidSQLManager.removeDenied(Plot plot, UUID uuid) voidAbstractDB.removeFlag(Plot plot, PlotFlag<?, ?> flag) Remove a plot flag.static voidDBFunc.removeFlag(Plot plot, PlotFlag<?, ?> flag) voidSQLManager.removeFlag(Plot plot, PlotFlag<?, ?> flag) voidAbstractDB.removeMember(Plot plot, UUID uuid) static voidDBFunc.removeMember(Plot plot, UUID uuid) voidSQLManager.removeMember(Plot plot, UUID uuid) voidAbstractDB.removeTrusted(Plot plot, UUID uuid) Remove the specified player from the trust list of the specified plot.static voidDBFunc.removeTrusted(Plot plot, UUID uuid) voidSQLManager.removeTrusted(Plot plot, UUID uuid) voidSets the plot alias.static voidvoidvoidAbstractDB.setComment(Plot plot, PlotComment comment) Adds the specified comment to the given plot.static voidDBFunc.setComment(Plot plot, PlotComment comment) voidSQLManager.setComment(Plot plot, PlotComment comment) voidDenies the specified player from the given plot.static voidvoidvoidSets plot flag.static voidvoidvoidstatic voidvoidvoidSets the merged status for a plot.static voidvoidvoidSets Plot owner.static voidSet the owner of a plotvoidSet Plot ownervoidAbstractDB.setPosition(Plot plot, String position) Sets the plot home position.static voidDBFunc.setPosition(Plot plot, String position) voidSQLManager.setPosition(Plot plot, String position) voidSets a rating for a plot.static voidvoidvoidAbstractDB.setTrusted(Plot plot, UUID uuid) static voidDBFunc.setTrusted(Plot plot, UUID uuid) voidSQLManager.setTrusted(Plot plot, UUID uuid) Swaps the settings, helpers etc.static CompletableFuture<Boolean>Method parameters in com.plotsquared.core.database with type arguments of type PlotModifier and TypeMethodDescriptionvoidvoidSQLManager.createPlots(List<Plot> myList, Runnable whenDone) Create a plotvoidAbstractDB.createPlotsAndData(List<Plot> plots, Runnable whenDone) Creates all settings, and create default helpers, trusted + denied lists.static voidDBFunc.createPlotsAndData(List<Plot> plots, Runnable whenDone) Create all settings + (trusted, denied, members)voidSQLManager.createPlotsAndData(List<Plot> myList, Runnable whenDone) voidAbstractDB.validateAllPlots(Set<Plot> toValidate) voidSQLManager.validateAllPlots(Set<Plot> toValidate) static voidDBFunc.validatePlots(Set<Plot> plots) -
Uses of Plot in com.plotsquared.core.events
Methods in com.plotsquared.core.events that return PlotModifier and TypeMethodDescriptionPlayerAutoPlotEvent.getPlot()Returns null as the plots to be claimed haven't been chosen yet.PlayerAutoPlotsChosenEvent.getPlot()Returns the plot at index 0 in the list of plots selected.PlotEvent.getPlot()Obtain the plot involved in the eventMethods in com.plotsquared.core.events that return types with arguments of type PlotModifier and TypeMethodDescriptionPlayerAutoPlotsChosenEvent.getPlots()Get the immutable list of plots selected to be claimed by the player.Method parameters in com.plotsquared.core.events with type arguments of type PlotModifier and TypeMethodDescriptionvoidSet the plots to be claimed by the player.Constructors in com.plotsquared.core.events with parameters of type PlotModifierConstructorDescriptionPlayerClaimPlotEvent(PlotPlayer<?> player, Plot plot, @Nullable String schematic) PlayerClaimPlotEvent: Called when a plot is claimed.PlayerEnterPlotEvent(PlotPlayer<?> player, Plot plot) Called when a player leaves a plot.PlayerLeavePlotEvent(PlotPlayer<?> player, Plot plot) PlayerLeavePlotEvent: Called when a player leaves a plotPlayerPlotDeniedEvent(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) PlayerPlotDeniedEvent: Called when the denied UUID list is modified for a plot.PlayerPlotHelperEvent(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) PlayerPlotHelperEvent: Called when a plot helper is added/removedPlayerPlotTrustedEvent(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) PlayerPlotTrustedEvent: Called when a plot trusted user is added/removedPlayerTeleportToPlotEvent(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause) PlayerTeleportToPlotEvent: Called when a player teleports to a plotPlotAutoMergeEvent: Called when plots are automatically merged with /plot autoPlotChangeOwnerEvent(PlotPlayer<?> initiator, Plot plot, @Nullable UUID oldOwner, @Nullable UUID newOwner, boolean hasOldOwner) PlotChangeOwnerEvent: Called when a plot's owner is change.PlotClaimedNotifyEvent(Plot plot, boolean auto) New event instance.PlotClearEvent(Plot plot) PlotComponentSetEvent(Plot plot, String component, Pattern pattern) PlotComponentSetEvent: Called when a player attempts to set the component of a plot (e.g.PlotDeleteEvent(Plot plot) PlotDoneEvent(Plot plot) PlotDoneEvent: Called when a plot is being set as donePlotFlagAddEvent(PlotFlag<?, ?> flag, Plot plot) PlotFlagAddEvent: Called when a Flag is added to a plot.protectedPlotFlagEvent(Plot plot, PlotFlag<?, ?> flag) PlotFlagRemoveEvent(PlotFlag<?, ?> flag, Plot plot) PlotFlagRemoveEvent: Called when a flag is removed from a plotPlotMergeEvent(@NonNull String world, @NonNull Plot plot, @NonNull Direction dir, int max, PlotPlayer<?> player) PlotMergeEvent: Called when plots are mergedPlotPlayerEvent(PlotPlayer<?> plotPlayer, Plot plot) PlotRateEvent(PlotPlayer<?> rater, @Nullable Rating rating, Plot plot) PlotRateEvent: Called when a player rates a plotPlotUnlinkEvent(@NonNull PlotArea area, Plot plot, boolean createRoad, boolean createSign, PlotUnlinkEvent.REASON reason) PlotUnlinkEvent: Called when a mega plot is unlinkedConstructor parameters in com.plotsquared.core.events with type arguments of type PlotModifierConstructorDescriptionPlayerAutoPlotsChosenEvent(PlotPlayer<?> player, List<Plot> plots) PlayerAutoPlotsChosenEvent: Called when one or more plots are chosen for a /plot auto -
Uses of Plot in com.plotsquared.core.events.post
Constructors in com.plotsquared.core.events.post with parameters of type PlotModifierConstructorDescriptionPostPlayerAutoPlotEvent(PlotPlayer<?> plotPlayer, Plot plot) Instantiate a new PlayerAutoPlotPostEvent.PostPlotChangeOwnerEvent(PlotPlayer<?> initiator, Plot plot, @Nullable UUID oldOwner) Instantiate a new PlotChangedOwnerEvent.PostPlotDeleteEvent(Plot plot) Instantiate a new PlotDeleteEvent.PostPlotMergeEvent(PlotPlayer<?> plotPlayer, Plot plot) Instantiate a new PlotMergedEvent.PostPlotUnlinkEvent(Plot plot, PlotUnlinkEvent.REASON reason) Instantiate a new PlotUnlinkedEvent. -
Uses of Plot in com.plotsquared.core.generator
Methods in com.plotsquared.core.generator with parameters of type PlotModifier and TypeMethodDescriptionvoidHybridUtils.analyzePlot(Plot origin, RunnableVal<PlotAnalysis> whenDone) booleanClassicPlotManager.claimPlot(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanHybridPlotManager.clearPlot(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) booleanSquarePlotManager.clearPlot(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) booleanClassicPlotManager.createRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanHybridPlotManager.createRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanClassicPlotManager.createRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanHybridPlotManager.createRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanClassicPlotManager.createRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanHybridPlotManager.createRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) ClassicPlotManager.getSignLoc(@NonNull Plot plot) Retrieves the location of where a sign should be for a plot.HybridPlotManager.getSignLoc(@NonNull Plot plot) Retrieves the location of where a sign should be for a plot.HybridPlotWorld.getSignLocation(@NonNull Plot plot) booleanClassicPlotManager.removeRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanClassicPlotManager.removeRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanClassicPlotManager.removeRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanHybridUtils.scheduleSingleRegionRoadUpdate(Plot plot, int extend) booleanHybridUtils.setupRoadSchematic(Plot plot) booleanClassicPlotManager.unClaimPlot(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable QueueCoordinator queue) -
Uses of Plot in com.plotsquared.core.inject.factory
Methods in com.plotsquared.core.inject.factory with parameters of type Plot -
Uses of Plot in com.plotsquared.core.listener
Methods in com.plotsquared.core.listener with parameters of type PlotModifier and TypeMethodDescriptionbooleanPlotListener.plotEntry(PlotPlayer<?> player, Plot plot) booleanPlotListener.plotExit(PlotPlayer<?> player, Plot plot) -
Uses of Plot in com.plotsquared.core.location
Methods in com.plotsquared.core.location that return PlotModifier and TypeMethodDescriptionLocation.getOwnedPlot()Get the ownedPlot, if any, that contains this locationLocation.getOwnedPlotAbs()Get the (absolute) ownedPlot, if any, that contains this locationLocation.getPlot()Get thePlot, if any, that contains this locationLocation.getPlotAbs()Get the absolutePlot, if any, that contains this location -
Uses of Plot in com.plotsquared.core.player
Fields in com.plotsquared.core.player with type parameters of type PlotModifier and TypeFieldDescriptionstatic final MetaDataKey<Plot>PlayerMetaDataKeys.TEMPORARY_LAST_PLOTstatic final MetaDataKey<Plot>PlayerMetaDataKeys.TEMPORARY_WORLD_EDIT_REGION_PLOTMethods in com.plotsquared.core.player that return PlotMethods in com.plotsquared.core.player that return types with arguments of type PlotModifier and TypeMethodDescriptionPlotPlayer.getPlots()Get aSetof plots owned by this player.Return aSetof all plots this player owns in a certain world.Methods in com.plotsquared.core.player with parameters of type PlotModifier and TypeMethodDescriptionstatic Collection<PlotPlayer<?>>PlotPlayer.getDebugModePlayersInPlot(@NonNull Plot plot) -
Uses of Plot in com.plotsquared.core.plot
Fields in com.plotsquared.core.plot with type parameters of type PlotMethods in com.plotsquared.core.plot that return PlotModifier and TypeMethodDescriptionPlot.fromString(@Nullable PlotArea defaultArea, @NonNull String string) Gets a plot from a string e.g.Plot.getBasePlot(boolean recalculate) The base plot is an arbitrary but specific connected plot.PlotCluster.getCenterPlot()PlotArea.getNextFreePlot(PlotPlayer<?> player, @Nullable PlotId start) PlotArea.getOwnedPlot(@NonNull Location location) Get the owned base plot at a location.PlotArea.getOwnedPlot(@NonNull PlotId id) PlotArea.getOwnedPlotAbs(@NonNull Location location) Get the owned plot at a location.PlotArea.getOwnedPlotAbs(@NonNull PlotId id) Get the owned Plot at a PlotId.Return a new/cached plot object at a given location.Gets the base plot at a location.PlotArea.getPlotAbs(@NonNull Location location) Gets thePlotat a location.PlotArea.getPlotAbs(@NonNull PlotId id) Plot.getPlotFromString(@Nullable PlotPlayer<?> player, @Nullable String arg, boolean message) Get the plot from a string.Plot.getRelative(int x, int y) Gets the plot in a relative location
Note: May be null if the partial plot area does not include the relative locationPlot.getRelative(@NonNull Direction direction) Gets the plot in a relative direction Note: May be null if the partial plot area does not include the relative locationPlot.getRelative(PlotArea area, int x, int y) Methods in com.plotsquared.core.plot that return types with arguments of type PlotModifier and TypeMethodDescriptionPlotArea.getBasePlots()Plot.getConnectedPlots()Gets a set of plots connected (and including) this plot
- This result is cached globallyPlotArea.getPlotEntries()PlotArea.getPlots()A collection of the claimed plots in thisPlotArea.PlotArea.getPlots(@NonNull PlotPlayer<?> player) Deprecated.PlotArea.getPlotsAbs(UUID uuid) PlotArea.getPlotSelectionOwned(@NonNull PlotId pos1, @NonNull PlotId pos2) Get a set of owned plots within a selection (chooses the best algorithm based on selection size.PlotArea.getPlotsRaw()Deprecated.Poorly implemented.Methods in com.plotsquared.core.plot with parameters of type PlotModifier and TypeMethodDescriptionbooleanbooleanPlotArea.addPlotAbs(@NonNull Plot plot) booleanPlotArea.addPlotIfAbsent(@NonNull Plot plot) abstract booleanPlotManager.claimPlot(@NonNull Plot plot, @Nullable QueueCoordinator queue) abstract booleanPlotManager.clearPlot(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) PlotModificationManager.copy(@NonNull Plot destination, @Nullable PlotPlayer<?> actor) Copy a plot to a location, both physically and the settingsabstract booleanPlotManager.createRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) Create the road east of the plot (not schematic-based)abstract booleanPlotManager.createRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) Create the road south of the plot (not schematic-based)abstract booleanPlotManager.createRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) Create the south-east corner of the road (intersection, not schematic-based)abstract LocationPlotManager.getSignLoc(@NonNull Plot plot) Retrieves the location of where a sign should be for a plot.voidMerge the plot settings
- Used when a plot is mergedvoidPlot.mergePlot(Plot lesserPlot, boolean removeRoads, @Nullable QueueCoordinator queue) Merges two plots.PlotModificationManager.move(@NonNull Plot destination, @Nullable PlotPlayer<?> actor, @NonNull Runnable whenDone) Moves the plot to an empty location
- The location must be emptyPlotModificationManager.move(@NonNull Plot destination, @Nullable PlotPlayer<?> actor, @NonNull Runnable whenDone, boolean allowSwap) Moves a plot physically, as well as the corresponding settings.booleanMoves the settings for a plot.abstract booleanPlotManager.removeRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) Replace the road to the east of the plot with standard plot blocks (for when merging plots)abstract booleanPlotManager.removeRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) Replace the road to the south of the plot with standard plot blocks (for when merging plots)abstract booleanPlotManager.removeRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) Replace the road to the south east of the plot (intersection) with standard plot blocks (for when merging plots)static booleanPlotHandler.sameOwners(Plot plot1, Plot plot2) PlotModificationManager.swap(@NonNull Plot destination, @Nullable PlotPlayer<?> actor, @NonNull Runnable whenDone) Swap the plot contents and settings with another location
- The destination must correspond to a valid plot of equal dimensionsSwaps the settings for two plots.abstract booleanPlotManager.unClaimPlot(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable QueueCoordinator queue) Completes block changes associated with plot unclaim.Method parameters in com.plotsquared.core.plot with type arguments of type Plot -
Uses of Plot in com.plotsquared.core.plot.comment
Methods in com.plotsquared.core.plot.comment with parameters of type PlotModifier and TypeMethodDescriptionabstract booleanCommentInbox.addComment(Plot plot, PlotComment comment) booleanInboxOwner.addComment(Plot plot, PlotComment comment) booleanInboxPublic.addComment(Plot plot, PlotComment comment) booleanInboxReport.addComment(Plot plot, PlotComment comment) booleanCommentInbox.canModify(Plot plot, PlotPlayer<?> player) booleanCommentInbox.canRead(Plot plot, PlotPlayer<?> player) booleanCommentInbox.canWrite(Plot plot, PlotPlayer<?> player) voidCommentInbox.clearInbox(Plot plot) abstract booleanCommentInbox.getComments(Plot plot, RunnableVal<List<PlotComment>> whenDone)
The `whenDone` parameter should be executed when it's done fetching the comments.booleanInboxOwner.getComments(Plot plot, RunnableVal<List<PlotComment>> whenDone) booleanInboxPublic.getComments(Plot plot, RunnableVal<List<PlotComment>> whenDone) booleanInboxReport.getComments(Plot plot, RunnableVal<List<PlotComment>> whenDone) voidCommentInbox.removeComment(Plot plot, PlotComment comment) static voidCommentManager.sendTitle(PlotPlayer<?> player, Plot plot) -
Uses of Plot in com.plotsquared.core.plot.expiration
Methods in com.plotsquared.core.plot.expiration that return types with arguments of type PlotMethods in com.plotsquared.core.plot.expiration with parameters of type PlotModifier and TypeMethodDescriptionstatic voidPlotAnalysis.analyzePlot(Plot plot, RunnableVal<PlotAnalysis> whenDone) voidExpireManager.deleteWithMessage(Plot plot, Runnable whenDone) longstatic PlotAnalysisPlotAnalysis.getAnalysis(Plot plot, Settings.Auto_Clear settings) voidExpireManager.handleEntry(PlotPlayer<?> pp, Plot plot) ExpireManager.isExpired(ArrayDeque<ExpiryTask> applicable, Plot plot) voidExpireManager.updateExpired(Plot plot) Method parameters in com.plotsquared.core.plot.expiration with type arguments of type PlotModifier and TypeMethodDescriptionbooleanExpireManager.runTask(RunnableVal3<Plot, Runnable, Boolean> expiredTask) -
Uses of Plot in com.plotsquared.core.plot.flag.implementations
Methods in com.plotsquared.core.plot.flag.implementations with parameters of type PlotModifier and TypeMethodDescriptionstatic booleanDenyTeleportFlag.allowsTeleport(PlotPlayer<?> player, Plot plot) static boolean -
Uses of Plot in com.plotsquared.core.plot.world
Subclasses of Plot in com.plotsquared.core.plot.worldMethods in com.plotsquared.core.plot.world that return PlotModifier and TypeMethodDescriptionprotected PlotSinglePlotArea.getOwnedPlot(@NonNull Location location) SinglePlotArea.getOwnedPlotAbs(@NonNull Location location) SinglePlotArea.getPlotAbs(@NonNull Location location) SinglePlotArea.getPlotAbs(@NonNull PlotId id) Methods in com.plotsquared.core.plot.world with parameters of type PlotModifier and TypeMethodDescriptionprotected PlotbooleanbooleanSinglePlotArea.addPlotAbs(@NonNull Plot plot) booleanSinglePlotArea.addPlotIfAbsent(@NonNull Plot plot) booleanSinglePlotManager.claimPlot(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanSinglePlotManager.clearPlot(@NonNull Plot plot, Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) booleanSinglePlotManager.createRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanSinglePlotManager.createRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanSinglePlotManager.createRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) SinglePlotManager.getSignLoc(@NonNull Plot plot) booleanSinglePlotManager.removeRoadEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanSinglePlotManager.removeRoadSouth(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanSinglePlotManager.removeRoadSouthEast(@NonNull Plot plot, @Nullable QueueCoordinator queue) booleanSinglePlotManager.unClaimPlot(@NonNull Plot plot, Runnable whenDone, @Nullable QueueCoordinator queue) -
Uses of Plot in com.plotsquared.core.services.plots
Fields in com.plotsquared.core.services.plots with type parameters of type PlotMethods in com.plotsquared.core.services.plots that return types with arguments of type Plot -
Uses of Plot in com.plotsquared.core.util
Methods in com.plotsquared.core.util with parameters of type PlotModifier and TypeMethodDescriptionEventDispatcher.callAutoMerge(Plot plot, List<PlotId> plots) EventDispatcher.callClaim(PlotPlayer<?> player, Plot plot, String schematic) EventDispatcher.callComponentSet(Plot plot, String component, Pattern pattern) EventDispatcher.callDelete(Plot plot) EventDispatcher.callDenied(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) EventDispatcher.callEntry(PlotPlayer<?> player, Plot plot) EventDispatcher.callFlagAdd(PlotFlag<?, ?> flag, Plot plot) EventDispatcher.callFlagRemove(PlotFlag<?, ?> flag, Plot plot) EventDispatcher.callLeave(PlotPlayer<?> player, Plot plot) EventDispatcher.callMember(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) EventDispatcher.callMerge(Plot plot, Direction dir, int max, PlotPlayer<?> player) EventDispatcher.callOwnerChange(PlotPlayer<?> initiator, Plot plot, UUID oldOwner, UUID newOwner, boolean hasOldOwner) EventDispatcher.callPlotClaimedNotify(Plot plot, boolean auto) EventDispatcher.callPostAuto(PlotPlayer<?> player, Plot plot) EventDispatcher.callPostDelete(Plot plot) EventDispatcher.callPostMerge(PlotPlayer<?> player, Plot plot) EventDispatcher.callPostOwnerChange(PlotPlayer<?> player, Plot plot, @Nullable UUID oldOwner) EventDispatcher.callPostUnlink(Plot plot, PlotUnlinkEvent.REASON reason) EventDispatcher.callRating(PlotPlayer<?> player, Plot plot, Rating rating) EventDispatcher.callTeleport(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause) EventDispatcher.callTrusted(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) EventDispatcher.callUnlink(PlotArea area, Plot plot, boolean createRoad, boolean createSign, PlotUnlinkEvent.REASON reason) static booleanEntityUtil.checkEntity(Plot plot, PlotFlag<Integer, ?>... flags) TabCompletions.completeAddedPlayers(@NonNull PlotPlayer<?> issuer, @NonNull Plot plot, @NonNull String input, @NonNull List<String> existing) Get a list of tab completions corresponding to player names added to the given plot.TabCompletions.completePlayersInPlot(@NonNull Plot plot, @NonNull String input, @NonNull List<String> existing) abstract int[]RegionManager.countEntities(Plot plot) 0 = Entity 1 = Animal 2 = Monster 3 = Mob 4 = Boat 5 = MiscSchematicHandler.getCompoundTag(@NonNull Plot plot) Get the given plot asCompoundTagmatching the Sponge schematic format.abstract booleanRegionManager.handleClear(@NonNull Plot plot, @Nullable Runnable whenDone, @NonNull PlotManager manager, @Nullable PlotPlayer<?> actor) Only called whenRegionManager.notifyClear(PlotManager)returns true in specific PlotManagersvoidSchematicHandler.paste(Schematic schematic, Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, PlotPlayer<?> actor, RunnableVal<Boolean> whenDone) Paste a schematic.Upload a plot and retrieve a result.voidWorldUtil.upload(@NonNull Plot plot, @Nullable UUID uuid, @Nullable String file, @NonNull RunnableVal<URL> whenDone) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in com.plotsquared.core.util with type arguments of type PlotModifier and TypeMethodDescriptionEventDispatcher.callAutoPlotsChosen(PlotPlayer<?> player, List<Plot> plots) booleanSchematicHandler.exportAll(Collection<Plot> collection, File outputDir, String namingScheme, Runnable ifSuccess) -
Uses of Plot in com.plotsquared.core.util.placeholders
Methods in com.plotsquared.core.util.placeholders with parameters of type PlotModifier and TypeMethodDescriptionPlotFlagPlaceholder.getValue(@NonNull PlotPlayer<?> player, @NonNull Plot plot) PlotSpecificPlaceholder.getValue(@NonNull PlotPlayer<?> player, @NonNull Plot plot) Method parameters in com.plotsquared.core.util.placeholders with type arguments of type PlotModifier and TypeMethodDescriptionvoidPlaceholderRegistry.createPlaceholder(@NonNull String key, @NonNull BiFunction<PlotPlayer<?>, Plot, String> placeholderFunction) Create a functional placeholder -
Uses of Plot in com.plotsquared.core.util.query
Methods in com.plotsquared.core.util.query that return types with arguments of type PlotModifier and TypeMethodDescriptionPlotQuery.asCollection()Get all plots that match the given criteriaPlotQuery.asList()Get all plots that match the given criteriaPlotQuery.asSet()Get all plots that match the given criteriaPlotQuery.asStream()Get all plots that match the given criteriaPaginatedPlotResult.getPage(int page) Get the plots belonging to a certain page.PlotQuery.iterator()Methods in com.plotsquared.core.util.query with parameters of type PlotModifier and TypeMethodDescriptionQuery with a pre-defined resultMethod parameters in com.plotsquared.core.util.query with type arguments of type Plot -
Uses of Plot in com.plotsquared.core.util.task
Constructors in com.plotsquared.core.util.task with parameters of type PlotModifierConstructorDescriptionAutoClaimFinishTask(PlotPlayer<?> player, Plot plot, PlotArea area, String schematic, EventDispatcher eventDispatcher)
PlotArea.getPlots(UUID)