Uses of Class
com.plotsquared.core.player.PlotPlayer
Packages that use PlotPlayer
Package
Description
Contains events which are fired after specific actions are completed.
-
Uses of PlotPlayer in com.plotsquared.core
Methods in com.plotsquared.core that return PlotPlayerModifier and TypeMethodDescriptionPlotAPI.wrapPlayer(@NonNull String player) Gets the PlotPlayer for a username.PlotAPI.wrapPlayer(@NonNull UUID uuid) Gets the PlotPlayer for a UUID.Methods in com.plotsquared.core that return types with arguments of type PlotPlayerModifier and TypeMethodDescriptiondefault @NonNull PlayerManager<? extends PlotPlayer<P>,? extends P> PlotPlatform.playerManager()Get the player manager implementation for the platformMethods in com.plotsquared.core with parameters of type PlotPlayerModifier and TypeMethodDescriptionPlotAPI.getPlayerPlots(@NonNull PlotPlayer<?> player) Gets all plots for a player.voidPlotPlatform.unregister(@NonNull PlotPlayer<?> player) Unregisters aPlotPlayerfrom cache e.g. -
Uses of PlotPlayer in com.plotsquared.core.backup
Methods in com.plotsquared.core.backup with parameters of type PlotPlayerModifier 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.BackupProfile.restoreBackup(@NonNull Backup backup, @Nullable PlotPlayer<?> player) Restore a backupNullBackupProfile.restoreBackup(@NonNull Backup backup, @Nullable PlotPlayer<?> player) PlayerBackupProfile.restoreBackup(@NonNull Backup backup, @Nullable PlotPlayer<?> player) -
Uses of PlotPlayer in com.plotsquared.core.command
Methods in com.plotsquared.core.command with parameters of type PlotPlayerModifier and TypeMethodDescriptionvoidFlagCommand.add(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static voidCmdConfirm.addPending(PlotPlayer<?> player, String commandStr, Runnable runnable) booleanCommand.canExecute(PlotPlayer<?> player, boolean message) booleanHelp.canExecute(PlotPlayer<?> player, boolean message) booleanMainCommand.canExecute(PlotPlayer<?> player, boolean message) voidToggle.chat(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidToggle.chatspy(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static booleanAuto.checkAllowedPlots(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) booleanCommand.checkArgs(PlotPlayer<?> player, String[] args) voidToggle.clearConfirmation(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidToggle.debug(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidInbox.displayComments(PlotPlayer<?> player, List<PlotComment> oldComments, int page) voidSetup.displayGenerators(PlotPlayer<?> player) Help.displayHelp(PlotPlayer<?> player, String catRaw, int page) voidListCmd.displayPlots(PlotPlayer<?> player, List<Plot> plots, int pageSize, int page, String[] args) voidLoad.displaySaves(PlotPlayer<?> player) Add.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Backup.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Buy.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Clear.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Command.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) DebugImportWorlds.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) FlagCommand.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Grant.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Help.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) HomeCommand.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Leave.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) MainCommand.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Move.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Near.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) SubCommand.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Deprecated.Swap.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Trust.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Visit.execute(PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) Command.getCommands(CommandCategory category, PlotPlayer<?> player) Command.getCommands(PlotPlayer<?> player) intCommand.getMatch(String[] args, Command cmd, PlotPlayer<?> player) static @Nullable CmdInstanceCmdConfirm.getPending(PlotPlayer<?> player) protected booleanLike.handleLike(PlotPlayer<?> player, String[] args, boolean like) voidFlagCommand.info(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static voidDatabaseCommand.insertPlots(SQLManager manager, List<Plot> plots, PlotPlayer<?> player) voidBackup.list(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidFlagCommand.list(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidBackup.load(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidListCmd.noArgs(PlotPlayer<?> player) booleanSet.noArgs(PlotPlayer<?> player) booleanAlias.onCommand(PlotPlayer<?> player, String[] args) booleanArea.onCommand(PlotPlayer<?> player, String[] args) booleanAuto.onCommand(PlotPlayer<?> player, String[] args) booleanCaps.onCommand(PlotPlayer<?> player, String[] args) booleanChat.onCommand(PlotPlayer<?> player, String[] args) Deprecated, for removal: This API element is subject to removal in a future version.booleanClaim.onCommand(PlotPlayer<?> player, String[] args) booleanCluster.onCommand(PlotPlayer<?> player, String[] args) booleanComment.onCommand(PlotPlayer<?> player, String[] args) booleanCondense.onCommand(PlotPlayer<?> player, String[] args) booleanConfirm.onCommand(PlotPlayer<?> player, String[] args) booleanContinue.onCommand(PlotPlayer<?> player, String[] args) booleanCopy.onCommand(PlotPlayer<?> player, String[] args) booleanCreateRoadSchematic.onCommand(PlotPlayer<?> player, String[] args) booleanDatabaseCommand.onCommand(PlotPlayer<?> player, String[] args) booleanDebug.onCommand(PlotPlayer<?> player, String[] args) booleanDebugAllowUnsafe.onCommand(PlotPlayer<?> player, String[] args) booleanDebugExec.onCommand(PlotPlayer<?> player, String[] args) booleanDebugLoadTest.onCommand(PlotPlayer<?> player, String[] args) booleanDebugPaste.onCommand(PlotPlayer<?> player, String[] args) booleanDebugRoadRegen.onCommand(PlotPlayer<?> player, String[] args) booleanDebugSaveTest.onCommand(PlotPlayer<?> player, String[] args) booleanDelete.onCommand(PlotPlayer<?> player, String[] args) booleanDeny.onCommand(PlotPlayer<?> player, String[] args) booleanDislike.onCommand(PlotPlayer<?> player, String[] args) booleanDone.onCommand(PlotPlayer<?> player, String[] args) booleanDownload.onCommand(PlotPlayer<?> player, String[] args) booleanInbox.onCommand(PlotPlayer<?> player, String[] args) booleanInfo.onCommand(PlotPlayer<?> player, String[] args) booleanKick.onCommand(PlotPlayer<?> player, String[] args) booleanLike.onCommand(PlotPlayer<?> player, String[] args) booleanListCmd.onCommand(PlotPlayer<?> player, String[] args) booleanLoad.onCommand(PlotPlayer<?> player, String[] args) static booleanMainCommand.onCommand(PlotPlayer<?> player, String... args) booleanMerge.onCommand(PlotPlayer<?> player, String[] args) booleanMiddle.onCommand(PlotPlayer<?> player, String[] arguments) booleanMove.onCommand(PlotPlayer<?> player, String[] args) booleanMusic.onCommand(PlotPlayer<?> player, String[] args) booleanPluginCmd.onCommand(PlotPlayer<?> player, String[] args) booleanPurge.onCommand(PlotPlayer<?> player, String[] args) booleanRate.onCommand(PlotPlayer<?> player, String[] args) booleanRegenAllRoads.onCommand(PlotPlayer<?> player, String[] args) booleanReload.onCommand(PlotPlayer<?> player, String[] args) booleanRemove.onCommand(PlotPlayer<?> player, String[] args) booleanSave.onCommand(PlotPlayer<?> player, String[] args) Deprecated, for removal: This API element is subject to removal in a future version.booleanSchematicCmd.onCommand(PlotPlayer<?> player, String[] args) booleanSet.onCommand(PlotPlayer<?> player, String[] args) booleanSetCommand.onCommand(PlotPlayer<?> player, String[] args) booleanSetup.onCommand(PlotPlayer<?> player, String[] args) abstract booleanSubCommand.onCommand(PlotPlayer<?> player, String[] args) Deprecated.booleanSwap.onCommand(PlotPlayer<?> player, String[] args) booleanTarget.onCommand(PlotPlayer<?> player, String[] args) booleanTemplate.onCommand(PlotPlayer<?> player, String[] args) booleanTrim.onCommand(PlotPlayer<?> player, String[] args) booleanUnlink.onCommand(PlotPlayer<?> player, String[] args) <T> voidCommand.paginate(PlotPlayer<?> player, List<T> c, int size, int page, RunnableVal3<Integer, T, CaptionHolder> add, String baseCommand, Caption header) voidCommand.CommandException.perform(@Nullable PlotPlayer<?> player) booleanDebugRoadRegen.regenPlot(PlotPlayer<?> player) booleanDebugRoadRegen.regenRegion(PlotPlayer<?> player, String[] args) voidFlagCommand.remove(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static voidCmdConfirm.removePending(PlotPlayer<?> player) voidBackup.save(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidCommand.sendUsage(PlotPlayer<?> player) booleanBiome.set(PlotPlayer<?> player, Plot plot, String value) booleanDesc.set(PlotPlayer<?> player, Plot plot, String desc) voidFlagCommand.set(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) 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) Add.tab(PlotPlayer<?> player, String[] args, boolean space) Alias.tab(PlotPlayer<?> player, String[] args, boolean space) Area.tab(PlotPlayer<?> player, String[] args, boolean space) Backup.tab(PlotPlayer<?> player, String[] args, boolean space) Biome.tab(PlotPlayer<?> player, String[] args, boolean space) Cluster.tab(PlotPlayer<?> player, String[] args, boolean space) Command.tab(PlotPlayer<?> player, String[] args, boolean space) Debug.tab(PlotPlayer<?> player, String[] args, boolean space) DebugExec.tab(PlotPlayer<?> player, String[] args, boolean space) DebugRoadRegen.tab(PlotPlayer<?> player, String[] args, boolean space) Deny.tab(PlotPlayer<?> player, String[] args, boolean space) Dislike.tab(PlotPlayer<?> player, String[] args, boolean space) Download.tab(PlotPlayer<?> player, String[] args, boolean space) FlagCommand.tab(PlotPlayer<?> player, String[] args, boolean space) Grant.tab(PlotPlayer<?> player, String[] args, boolean space) Help.tab(PlotPlayer<?> player, String[] args, boolean space) HomeCommand.tab(PlotPlayer<?> player, String[] args, boolean space) Inbox.tab(PlotPlayer<?> player, String[] args, boolean space) Info.tab(PlotPlayer<?> player, String[] args, boolean space) Kick.tab(PlotPlayer<?> player, String[] args, boolean space) Like.tab(PlotPlayer<?> player, String[] args, boolean space) ListCmd.tab(PlotPlayer<?> player, String[] args, boolean space) Owner.tab(PlotPlayer<?> player, String[] args, boolean space) Rate.tab(PlotPlayer<?> player, String[] args, boolean space) Remove.tab(PlotPlayer<?> player, String[] args, boolean space) SchematicCmd.tab(PlotPlayer<?> player, String[] args, boolean space) Set.tab(PlotPlayer<?> player, String[] args, boolean space) Setup.tab(PlotPlayer<?> player, String[] args, boolean space) Target.tab(PlotPlayer<?> player, String[] args, boolean space) Template.tab(PlotPlayer<?> player, String[] args, boolean space) Trust.tab(PlotPlayer<?> player, String[] args, boolean space) Visit.tab(PlotPlayer<?> player, String[] args, boolean space) Command.tabOf(PlotPlayer<?> player, String[] input, boolean space, String... args) voidToggle.time(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) voidToggle.titles(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) booleanToggle.toggle(PlotPlayer<?> player, String key) voidToggle.worldedit(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) -
Uses of PlotPlayer in com.plotsquared.core.components
Methods in com.plotsquared.core.components with parameters of type PlotPlayerModifier and TypeMethodDescriptionComponentPresetManager.buildInventory(PlotPlayer<?> player) Build the component inventory for a player.booleanComponentCommand.onCommand(PlotPlayer<?> player, String[] args) -
Uses of PlotPlayer in com.plotsquared.core.configuration.caption
Methods in com.plotsquared.core.configuration.caption that return PlotPlayerModifier and TypeMethodDescriptionChatFormatter.ChatContext.getRecipient()Get the message recipientMethods in com.plotsquared.core.configuration.caption with parameters of type PlotPlayerModifier and TypeMethodDescriptionstatic StringCaptionUtility.format(@Nullable PlotPlayer<?> recipient, @NonNull String message) Format a chat messagestatic StringCaptionUtility.formatRaw(PlotPlayer<?> recipient, String message) Format a chat message but keep the formatting keysConstructors in com.plotsquared.core.configuration.caption with parameters of type PlotPlayerModifierConstructorDescriptionChatContext(@Nullable PlotPlayer<?> recipient, @NonNull String message, boolean rawOutput) Create a new chat context -
Uses of PlotPlayer in com.plotsquared.core.events
Methods in com.plotsquared.core.events that return PlotPlayerModifier and TypeMethodDescriptionPlotPlayer<?>PlayerPlotDeniedEvent.getInitiator()The player initiating the action.PlotPlayer<?>PlayerPlotHelperEvent.getInitiator()The player initiating the actionPlotPlayer<?>PlayerPlotTrustedEvent.getInitiator()The player initiating the actionPlotPlayer<?>PlotChangeOwnerEvent.getInitiator()Get the change-owner initiatorPlotPlayer<?>PlayerAutoPlotEvent.getPlayer()PlotPlayer<?>PlotMergeEvent.getPlayer()PlotPlayer<?>PlotPlayerEvent.getPlotPlayer()PlotPlayer<?>PlotRateEvent.getRater()Constructors in com.plotsquared.core.events with parameters of type PlotPlayerModifierConstructorDescriptionPlayerAutoPlotEvent(PlotPlayer<?> player, PlotArea plotArea, @Nullable String schematic, int sizeX, int sizeZ) PlayerAutoPlotEvent: called when a player attempts to auto claim a plot.PlayerAutoPlotsChosenEvent(PlotPlayer<?> player, List<Plot> plots) PlayerAutoPlotsChosenEvent: Called when one or more plots are chosen for a /plot autoPlayerClaimPlotEvent(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) Deprecated, for removal: This API element is subject to removal in a future version.PlayerTeleportToPlotEvent(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause) PlayerTeleportToPlotEvent: Called when a player teleports to a plotPlotChangeOwnerEvent(PlotPlayer<?> initiator, Plot plot, @Nullable UUID oldOwner, @Nullable UUID newOwner, boolean hasOldOwner) PlotChangeOwnerEvent: Called when a plot's owner is change.PlotMergeEvent(@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 plot -
Uses of PlotPlayer in com.plotsquared.core.events.post
Constructors in com.plotsquared.core.events.post with parameters of type PlotPlayerModifierConstructorDescriptionPostPlayerAutoPlotEvent(PlotPlayer<?> plotPlayer, Plot plot) Instantiate a new PlayerAutoPlotPostEvent.PostPlotChangeOwnerEvent(PlotPlayer<?> initiator, Plot plot, @Nullable UUID oldOwner) Instantiate a new PlotChangedOwnerEvent.PostPlotMergeEvent(PlotPlayer<?> plotPlayer, Plot plot) Instantiate a new PlotMergedEvent. -
Uses of PlotPlayer in com.plotsquared.core.generator
Methods in com.plotsquared.core.generator with parameters of type PlotPlayerModifier and TypeMethodDescriptionbooleanHybridPlotManager.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.setAir(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot air region.booleanClassicPlotManager.setAll(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot main, floor and air areas.booleanClassicPlotManager.setComponent(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) booleanClassicPlotManager.setFloor(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the plot floorbooleanClassicPlotManager.setMain(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot main blocks.booleanClassicPlotManager.setOutline(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a plot's outlinebooleanClassicPlotManager.setWall(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a plot's wall top block onlybooleanClassicPlotManager.setWallFilling(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the wall filling for a plot -
Uses of PlotPlayer in com.plotsquared.core.inject.factory
Methods in com.plotsquared.core.inject.factory with parameters of type PlotPlayerModifier and TypeMethodDescriptionProgressSubscriberFactory.createFull(PlotPlayer<?> actor, long interval, long wait, Caption caption) ProgressSubscriberFactory.createWithActor(PlotPlayer<?> actor) -
Uses of PlotPlayer in com.plotsquared.core.listener
Methods in com.plotsquared.core.listener with parameters of type PlotPlayerModifier and TypeMethodDescriptionbooleanPlotListener.plotEntry(PlotPlayer<?> player, Plot plot) booleanPlotListener.plotExit(PlotPlayer<?> player, Plot plot) -
Uses of PlotPlayer in com.plotsquared.core.permissions
Methods in com.plotsquared.core.permissions with parameters of type PlotPlayerModifier and TypeMethodDescriptionPermissionHandler.getPermissionProfile(@NonNull PlotPlayer<?> playerPlotPlayer) Attempt to construct a permission profile for a plot player -
Uses of PlotPlayer in com.plotsquared.core.player
Subclasses of PlotPlayer in com.plotsquared.core.playerMethods in com.plotsquared.core.player that return PlotPlayerModifier and TypeMethodDescriptionPlotPlayer<?>PlotPlayer.PlotPlayerConverter.convert(BaseObject object) static <T> PlotPlayer<T>MetaDataAccess.getPlayer()Get the owner of the meta dataMethods in com.plotsquared.core.player that return types with arguments of type PlotPlayerModifier and TypeMethodDescriptionstatic Collection<PlotPlayer<?>>PlotPlayer.getDebugModePlayers()static Collection<PlotPlayer<?>>PlotPlayer.getDebugModePlayersInPlot(@NonNull Plot plot) Methods in com.plotsquared.core.player with parameters of type PlotPlayerModifier and TypeMethodDescriptionbooleanConsolePlayer.canSee(PlotPlayer<?> other) abstract booleanPlotPlayer.canSee(PlotPlayer<?> other) Check if the player is able to see the other player. -
Uses of PlotPlayer in com.plotsquared.core.plot
Methods in com.plotsquared.core.plot that return PlotPlayerMethods in com.plotsquared.core.plot that return types with arguments of type PlotPlayerModifier and TypeMethodDescription@NonNull List<PlotPlayer<?>>Plot.getPlayersInPlot()Efficiently get the players currently inside this plot
- Will return an empty list if no players are in the plot
- Remember, you can cast a PlotPlayer to its respective implementation (BukkitPlayer, SpongePlayer) to obtain the player objectMethods in com.plotsquared.core.plot with parameters of type PlotPlayerModifier and TypeMethodDescriptionbooleanPlotModificationManager.autoMerge(@NonNull Direction dir, int max, @NonNull UUID uuid, @Nullable PlotPlayer<?> actor, boolean removeRoads) Auto merge a plot in a specific direction.booleanPlot.canClaim(@NonNull PlotPlayer<?> player) Check if a plot can be claimed by the provided player.booleanPlot.claim(@NonNull PlotPlayer<?> player, boolean teleport, String schematic) Deprecated, for removal: This API element is subject to removal in a future version.booleanPlot.claim(@NonNull PlotPlayer<?> player, boolean teleport, String schematic, boolean updateDB) Deprecated, for removal: This API element is subject to removal in a future version.booleanPlot.claim(@NonNull PlotPlayer<?> player, boolean teleport, String schematic, boolean updateDB, boolean auto) Claim the plotbooleanPlotModificationManager.clear(boolean checkRunning, boolean isDelete, @Nullable PlotPlayer<?> actor, @Nullable Runnable whenDone) Clear the plotabstract 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 settingsbooleanPlotModificationManager.deletePlot(@Nullable PlotPlayer<?> actor, Runnable whenDone) Delete a plot (use null for the runnable if you don't need to be notified on completion)Plot.format(Caption iInfo, PlotPlayer<?> player, boolean full) PlotArea.getNextFreePlot(PlotPlayer<?> player, @Nullable PlotId start) static PlotInventoryPlotInventory.getOpenPlotInventory(@NonNull PlotPlayer<?> plotPlayer) intPlotArea.getPlotCount(@Nullable PlotPlayer<?> player) Plot.getPlotFromString(@Nullable PlotPlayer<?> player, @Nullable String arg, boolean message) Get the plot from a string.PlotArea.getPlots(@NonNull PlotPlayer<?> player) Deprecated.static booleanPlotInventory.hasPlotInventoryOpen(@NonNull PlotPlayer<?> plotPlayer) 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.booleanPlotArea.notifyIfOutsideBuildArea(PlotPlayer<?> player, int y) Utility method to check if the player is attempting to place blocks outside the build area, and notify of this if the player does not have permissions.static voidPlotInventory.removePlotInventoryOpen(@NonNull PlotPlayer<?> plotPlayer) abstract booleanPlotManager.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.booleanPlotModificationManager.setComponent(@NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets a component for a plot to the provided blocks
- E.g.booleanPlotModificationManager.setComponent(String component, String blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Deprecated.booleanPlot.setOwner(UUID owner, PlotPlayer<?> initiator) Sets the plot owner (and update the database)static voidPlotInventory.setPlotInventoryOpen(@NonNull PlotPlayer<?> plotPlayer, @NonNull PlotInventory plotInventory) 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 dimensionsvoidPlot.teleportPlayer(PlotPlayer<?> player, TeleportCause cause, Consumer<Boolean> resultConsumer) Teleport a player to a plot and send them the teleport message.voidPlot.teleportPlayer(PlotPlayer<?> player, Consumer<Boolean> result) Teleport a player to a plot and send them the teleport message.Constructors in com.plotsquared.core.plot with parameters of type PlotPlayerModifierConstructorDescriptionPlotInventory(@NonNull InventoryUtil inventoryUtil, PlotPlayer<?> player, int lines, String name) -
Uses of PlotPlayer in com.plotsquared.core.plot.comment
Methods in com.plotsquared.core.plot.comment with parameters of type PlotPlayerModifier and TypeMethodDescriptionbooleanCommentInbox.canModify(Plot plot, PlotPlayer<?> player) booleanCommentInbox.canRead(Plot plot, PlotPlayer<?> player) booleanCommentInbox.canWrite(Plot plot, PlotPlayer<?> player) static longCommentManager.getTimestamp(PlotPlayer<?> player, String inbox) static voidCommentManager.sendTitle(PlotPlayer<?> player, Plot plot) -
Uses of PlotPlayer in com.plotsquared.core.plot.expiration
Methods in com.plotsquared.core.plot.expiration with parameters of type PlotPlayerModifier and TypeMethodDescriptionvoidExpireManager.confirmExpiry(PlotPlayer<?> pp) voidExpireManager.handleEntry(PlotPlayer<?> pp, Plot plot) voidExpireManager.handleJoin(PlotPlayer<?> pp) -
Uses of PlotPlayer in com.plotsquared.core.plot.flag.implementations
Methods in com.plotsquared.core.plot.flag.implementations with parameters of type PlotPlayerModifier and TypeMethodDescriptionstatic booleanDenyTeleportFlag.allowsTeleport(PlotPlayer<?> player, Plot plot) -
Uses of PlotPlayer in com.plotsquared.core.plot.world
Methods in com.plotsquared.core.plot.world with parameters of type PlotPlayerModifier and TypeMethodDescriptionbooleanSinglePlotManager.clearPlot(@NonNull Plot plot, Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) booleanSinglePlotManager.setComponent(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) -
Uses of PlotPlayer in com.plotsquared.core.queue.subscriber
Constructors in com.plotsquared.core.queue.subscriber with parameters of type PlotPlayerModifierConstructorDescriptionDefaultProgressSubscriber(PlotPlayer<?> actor) DefaultProgressSubscriber(PlotPlayer<?> actor, long interval, long wait, Caption caption) -
Uses of PlotPlayer in com.plotsquared.core.services.plots
Methods in com.plotsquared.core.services.plots that return PlotPlayerModifier and TypeMethodDescriptionAutoService.AutoQuery.getPlayer()Get the player that the plots are meant forConstructors in com.plotsquared.core.services.plots with parameters of type PlotPlayer -
Uses of PlotPlayer in com.plotsquared.core.setup
Methods in com.plotsquared.core.setup with parameters of type PlotPlayerModifier and TypeMethodDescriptionvoidCommonSetupSteps.announce(PlotPlayer<?> plotPlayer) voidSettingsNodeStep.announce(PlotPlayer<?> plotPlayer) voidSetupStep.announce(PlotPlayer<?> plotPlayer) Announces this step to the player.SettingsNodeStep.createSuggestions(PlotPlayer<?> plotPlayer, String argument) default Collection<Command>SetupStep.createSuggestions(PlotPlayer<?> plotPlayer, String argument) Creates a collection of suggestions for the current input.SettingsNodeStep.handleInput(PlotPlayer<?> plotPlayer, PlotAreaBuilder builder, String argument) voidSetupProcess.handleInput(PlotPlayer<?> plotPlayer, String argument) SetupStep.handleInput(PlotPlayer<?> plotPlayer, PlotAreaBuilder builder, String argument) Handles the input for this setup step. -
Uses of PlotPlayer in com.plotsquared.core.util
Classes in com.plotsquared.core.util with type parameters of type PlotPlayerModifier and TypeClassDescriptionclassPlayerManager<P extends PlotPlayer<? extends T>,T> Manages player instancesMethods in com.plotsquared.core.util with parameters of type PlotPlayerModifier and TypeMethodDescriptionEventDispatcher.callAuto(PlotPlayer<?> player, PlotArea area, String schematic, int size_x, int size_z) EventDispatcher.callAutoPlotsChosen(PlotPlayer<?> player, List<Plot> plots) EventDispatcher.callClaim(PlotPlayer<?> player, Plot plot, String schematic) EventDispatcher.callDenied(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) EventDispatcher.callEntry(PlotPlayer<?> player, 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.callPostAuto(PlotPlayer<?> player, Plot plot) EventDispatcher.callPostMerge(PlotPlayer<?> player, Plot plot) EventDispatcher.callPostOwnerChange(PlotPlayer<?> player, Plot plot, @Nullable UUID oldOwner) 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) booleanEventDispatcher.checkPlayerBlockEvent(PlotPlayer<?> player, @NonNull PlayerBlockEventType type, Location location, BlockType blockType, boolean notifyPerms) 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.completePlayers(@NonNull PlotPlayer<?> issuer, @NonNull String input, @NonNull List<String> existing) Get a list of tab completions corresponding to player names.booleanRegionManager.copyRegion(@NonNull Location pos1, @NonNull Location pos2, @NonNull Location newPos, @Nullable PlotPlayer<?> actor, @NonNull Runnable whenDone) Copy a region to a new location (in the same world)abstract voidEconHandler.depositMoney(PlotPlayer<?> player, double amount) voidEventDispatcher.doJoinTask(PlotPlayer<?> player) voidEventDispatcher.doRespawnTask(PlotPlayer<?> player) abstract doubleEconHandler.getBalance(PlotPlayer<?> player) abstract @org.checkerframework.checker.index.qual.NonNegative intWorldUtil.getFoodLevel(@NonNull PlotPlayer<?> player) Get the player food levelabstract @org.checkerframework.checker.index.qual.NonNegative doubleWorldUtil.getHealth(@NonNull PlotPlayer<?> player) Get the player healthabstract PlotItemStack[]InventoryUtil.getItems(PlotPlayer<?> player) static HashSet<CuboidRegion>WEManager.getMask(PlotPlayer<?> player) doubleEconHandler.getMoney(PlotPlayer<?> player) abstract booleanRegionManager.handleClear(@NonNull Plot plot, @Nullable Runnable whenDone, @NonNull PlotManager manager, @Nullable PlotPlayer<?> actor) Only called whenRegionManager.notifyClear(PlotManager)returns true in specific PlotManagersstatic booleanPermissions.hasPermission(PlotPlayer<?> player, Permission permission, boolean notify) Deprecated, for removal: This API element is subject to removal in a future version.all logic that may once have been in the class lives elsewhere.static booleanPermissions.hasPermission(PlotPlayer<?> player, String permission, boolean notify) Deprecated, for removal: This API element is subject to removal in a future version.all logic that may once have been in the class lives elsewhere.static intPermissions.hasPermissionRange(PlotPlayer<?> player, Permission Permission, int range) Deprecated, for removal: This API element is subject to removal in a future version.all logic that may once have been in the class lives elsewhere.static intPermissions.hasPermissionRange(PlotPlayer<?> player, String stub, int range) Deprecated, for removal: This API element is subject to removal in a future version.all logic that may once have been in the class lives elsewhere.static PatternPatternUtil.parse(PlotPlayer<?> plotPlayer, String input) static PatternPatternUtil.parse(PlotPlayer<?> plotPlayer, String input, boolean allowLegacy) voidSchematicHandler.paste(Schematic schematic, Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, PlotPlayer<?> actor, RunnableVal<Boolean> whenDone) Paste a schematic.voidPlayerManager.removePlayer(@NonNull PlotPlayer<?> plotPlayer) Remove a player from the player mapbooleanRegionManager.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.abstract voidWorldUtil.setFoodLevel(@NonNull PlotPlayer<?> player, @org.checkerframework.checker.index.qual.NonNegative int foodLevel) Set the player food levelabstract voidWorldUtil.setHealth(@NonNull PlotPlayer<?> player, @org.checkerframework.checker.index.qual.NonNegative double health) Set the player healthvoidRegionManager.swap(Location pos1, Location pos2, Location swapPos, @Nullable PlotPlayer<?> actor, Runnable whenDone) Swap two regions within the same worldabstract voidEconHandler.withdrawMoney(PlotPlayer<?> player, double amount) -
Uses of PlotPlayer in com.plotsquared.core.util.placeholders
Methods in com.plotsquared.core.util.placeholders with parameters of type PlotPlayerModifier and TypeMethodDescriptionPlaceholderRegistry.getPlaceholderValue(@NonNull String key, @NonNull PlotPlayer<?> player) Get the placeholder value evaluated for a player, and catch and deal with any problems occurring while doing soPlaceholder.getValue(@NonNull PlotPlayer<?> player) Get the value of the placeholder for a particular playerPlotFlagPlaceholder.getValue(@NonNull PlotPlayer<?> player, @NonNull Plot plot) PlotSpecificPlaceholder.getValue(@NonNull PlotPlayer<?> player) PlotSpecificPlaceholder.getValue(@NonNull PlotPlayer<?> player, @NonNull Plot plot) Method parameters in com.plotsquared.core.util.placeholders with type arguments of type PlotPlayerModifier and TypeMethodDescriptionvoidPlaceholderRegistry.createPlaceholder(@NonNull String key, @NonNull com.google.common.base.Function<PlotPlayer<?>, String> placeholderFunction) Create a functional placeholdervoidPlaceholderRegistry.createPlaceholder(@NonNull String key, @NonNull BiFunction<PlotPlayer<?>, Plot, String> placeholderFunction) Create a functional placeholder -
Uses of PlotPlayer in com.plotsquared.core.util.query
Methods in com.plotsquared.core.util.query with parameters of type PlotPlayerModifier and TypeMethodDescriptionPlotQuery.ownedBy(@NonNull PlotPlayer<?> owner) Query for plots owned by a specific playerPlotQuery.ownersInclude(@NonNull PlotPlayer<?> owner) Query for base plots where one of the merged plots is owned by a specific player -
Uses of PlotPlayer in com.plotsquared.core.util.task
Constructors in com.plotsquared.core.util.task with parameters of type PlotPlayerModifierConstructorDescriptionAutoClaimFinishTask(PlotPlayer<?> player, Plot plot, PlotArea area, String schematic, EventDispatcher eventDispatcher)
PlayerTeleportToPlotEvent(PlotPlayer, Location, Plot, TeleportCause).