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.void
PlotPlatform.unregister
(@NonNull PlotPlayer<?> player) Unregisters aPlotPlayer
from cache e.g. -
Uses of PlotPlayer in com.plotsquared.core.backup
Methods in com.plotsquared.core.backup with parameters of type PlotPlayerModifier and TypeMethodDescriptionvoid
BackupManager.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.void
NullBackupManager.automaticBackup
(@Nullable PlotPlayer<?> plotPlayer, @NonNull Plot plot, @NonNull Runnable whenDone) void
SimpleBackupManager.automaticBackup
(@Nullable PlotPlayer<?> player, @NonNull Plot plot, @NonNull Runnable whenDone) static void
BackupManager.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 TypeMethodDescriptionvoid
FlagCommand.add
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static void
CmdConfirm.addPending
(PlotPlayer<?> player, String commandStr, Runnable runnable) boolean
Command.canExecute
(PlotPlayer<?> player, boolean message) boolean
Help.canExecute
(PlotPlayer<?> player, boolean message) boolean
MainCommand.canExecute
(PlotPlayer<?> player, boolean message) void
Toggle.chat
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
Toggle.chatspy
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static boolean
Auto.checkAllowedPlots
(PlotPlayer<?> player, PlotArea plotarea, @Nullable Integer allowedPlots, int sizeX, int sizeZ) boolean
Command.checkArgs
(PlotPlayer<?> player, String[] args) void
Toggle.clearConfirmation
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
Toggle.debug
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
Inbox.displayComments
(PlotPlayer<?> player, List<PlotComment> oldComments, int page) void
Setup.displayGenerators
(PlotPlayer<?> player) Help.displayHelp
(PlotPlayer<?> player, String catRaw, int page) void
ListCmd.displayPlots
(PlotPlayer<?> player, List<Plot> plots, int pageSize, int page, String[] args) void
Load.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) int
Command.getMatch
(String[] args, Command cmd, PlotPlayer<?> player) static @Nullable CmdInstance
CmdConfirm.getPending
(PlotPlayer<?> player) protected boolean
Like.handleLike
(PlotPlayer<?> player, String[] args, boolean like) void
FlagCommand.info
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static void
DatabaseCommand.insertPlots
(SQLManager manager, List<Plot> plots, PlotPlayer<?> player) void
Backup.list
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
FlagCommand.list
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
Backup.load
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
ListCmd.noArgs
(PlotPlayer<?> player) boolean
Set.noArgs
(PlotPlayer<?> player) boolean
Alias.onCommand
(PlotPlayer<?> player, String[] args) boolean
Area.onCommand
(PlotPlayer<?> player, String[] args) boolean
Auto.onCommand
(PlotPlayer<?> player, String[] args) boolean
Caps.onCommand
(PlotPlayer<?> player, String[] args) boolean
Chat.onCommand
(PlotPlayer<?> player, String[] args) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Claim.onCommand
(PlotPlayer<?> player, String[] args) boolean
Cluster.onCommand
(PlotPlayer<?> player, String[] args) boolean
Comment.onCommand
(PlotPlayer<?> player, String[] args) boolean
Condense.onCommand
(PlotPlayer<?> player, String[] args) boolean
Confirm.onCommand
(PlotPlayer<?> player, String[] args) boolean
Continue.onCommand
(PlotPlayer<?> player, String[] args) boolean
Copy.onCommand
(PlotPlayer<?> player, String[] args) boolean
CreateRoadSchematic.onCommand
(PlotPlayer<?> player, String[] args) boolean
DatabaseCommand.onCommand
(PlotPlayer<?> player, String[] args) boolean
Debug.onCommand
(PlotPlayer<?> player, String[] args) boolean
DebugAllowUnsafe.onCommand
(PlotPlayer<?> player, String[] args) boolean
DebugExec.onCommand
(PlotPlayer<?> player, String[] args) boolean
DebugLoadTest.onCommand
(PlotPlayer<?> player, String[] args) boolean
DebugPaste.onCommand
(PlotPlayer<?> player, String[] args) boolean
DebugRoadRegen.onCommand
(PlotPlayer<?> player, String[] args) boolean
DebugSaveTest.onCommand
(PlotPlayer<?> player, String[] args) boolean
Delete.onCommand
(PlotPlayer<?> player, String[] args) boolean
Deny.onCommand
(PlotPlayer<?> player, String[] args) boolean
Dislike.onCommand
(PlotPlayer<?> player, String[] args) boolean
Done.onCommand
(PlotPlayer<?> player, String[] args) boolean
Download.onCommand
(PlotPlayer<?> player, String[] args) boolean
Inbox.onCommand
(PlotPlayer<?> player, String[] args) boolean
Info.onCommand
(PlotPlayer<?> player, String[] args) boolean
Kick.onCommand
(PlotPlayer<?> player, String[] args) boolean
Like.onCommand
(PlotPlayer<?> player, String[] args) boolean
ListCmd.onCommand
(PlotPlayer<?> player, String[] args) boolean
Load.onCommand
(PlotPlayer<?> player, String[] args) static boolean
MainCommand.onCommand
(PlotPlayer<?> player, String... args) boolean
Merge.onCommand
(PlotPlayer<?> player, String[] args) boolean
Middle.onCommand
(PlotPlayer<?> player, String[] arguments) boolean
Move.onCommand
(PlotPlayer<?> player, String[] args) boolean
Music.onCommand
(PlotPlayer<?> player, String[] args) boolean
PluginCmd.onCommand
(PlotPlayer<?> player, String[] args) boolean
Purge.onCommand
(PlotPlayer<?> player, String[] args) boolean
Rate.onCommand
(PlotPlayer<?> player, String[] args) boolean
RegenAllRoads.onCommand
(PlotPlayer<?> player, String[] args) boolean
Reload.onCommand
(PlotPlayer<?> player, String[] args) boolean
Remove.onCommand
(PlotPlayer<?> player, String[] args) boolean
Save.onCommand
(PlotPlayer<?> player, String[] args) Deprecated, for removal: This API element is subject to removal in a future version.boolean
SchematicCmd.onCommand
(PlotPlayer<?> player, String[] args) boolean
Set.onCommand
(PlotPlayer<?> player, String[] args) boolean
SetCommand.onCommand
(PlotPlayer<?> player, String[] args) boolean
Setup.onCommand
(PlotPlayer<?> player, String[] args) abstract boolean
SubCommand.onCommand
(PlotPlayer<?> player, String[] args) Deprecated.boolean
Swap.onCommand
(PlotPlayer<?> player, String[] args) boolean
Target.onCommand
(PlotPlayer<?> player, String[] args) boolean
Template.onCommand
(PlotPlayer<?> player, String[] args) boolean
Trim.onCommand
(PlotPlayer<?> player, String[] args) boolean
Unlink.onCommand
(PlotPlayer<?> player, String[] args) <T> void
Command.paginate
(PlotPlayer<?> player, List<T> c, int size, int page, RunnableVal3<Integer, T, CaptionHolder> add, String baseCommand, Caption header) void
Command.CommandException.perform
(@Nullable PlotPlayer<?> player) boolean
DebugRoadRegen.regenPlot
(PlotPlayer<?> player) boolean
DebugRoadRegen.regenRegion
(PlotPlayer<?> player, String[] args) void
FlagCommand.remove
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) static void
CmdConfirm.removePending
(PlotPlayer<?> player) void
Backup.save
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
Command.sendUsage
(PlotPlayer<?> player) boolean
Biome.set
(PlotPlayer<?> player, Plot plot, String value) boolean
Desc.set
(PlotPlayer<?> player, Plot plot, String desc) void
FlagCommand.set
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) boolean
Owner.set
(PlotPlayer<?> player, Plot plot, String value) abstract boolean
SetCommand.set
(PlotPlayer<?> player, Plot plot, String value) boolean
SetHome.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) void
Toggle.time
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) void
Toggle.titles
(Command command, PlotPlayer<?> player, String[] args, RunnableVal3<Command, Runnable, Runnable> confirm, RunnableVal2<Command, Command.CommandResult> whenDone) boolean
Toggle.toggle
(PlotPlayer<?> player, String key) void
Toggle.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.boolean
ComponentCommand.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 String
CaptionUtility.format
(@Nullable PlotPlayer<?> recipient, @NonNull String message) Format a chat messagestatic String
CaptionUtility.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 TypeMethodDescriptionboolean
HybridPlotManager.clearPlot
(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) boolean
SquarePlotManager.clearPlot
(@NonNull Plot plot, @Nullable Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) boolean
ClassicPlotManager.setAir
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot air region.boolean
ClassicPlotManager.setAll
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot main, floor and air areas.boolean
ClassicPlotManager.setComponent
(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) boolean
ClassicPlotManager.setFloor
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the plot floorboolean
ClassicPlotManager.setMain
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Sets the plot main blocks.boolean
ClassicPlotManager.setOutline
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a plot's outlineboolean
ClassicPlotManager.setWall
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set a plot's wall top block onlyboolean
ClassicPlotManager.setWallFilling
(@NonNull PlotId plotId, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the wall filling for a 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 TypeMethodDescriptionboolean
PlotListener.plotEntry
(PlotPlayer<?> player, Plot plot) boolean
PlotListener.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 TypeMethodDescriptionboolean
ConsolePlayer.canSee
(PlotPlayer<?> other) abstract boolean
PlotPlayer.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 TypeMethodDescriptionboolean
PlotModificationManager.autoMerge
(@NonNull Direction dir, int max, @NonNull UUID uuid, @Nullable PlotPlayer<?> actor, boolean removeRoads) Auto merge a plot in a specific direction.boolean
Plot.canClaim
(@NonNull PlotPlayer<?> player) Check if a plot can be claimed by the provided player.boolean
Plot.claim
(@NonNull PlotPlayer<?> player, boolean teleport, String schematic) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Plot.claim
(@NonNull PlotPlayer<?> player, boolean teleport, String schematic, boolean updateDB) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Plot.claim
(@NonNull PlotPlayer<?> player, boolean teleport, String schematic, boolean updateDB, boolean auto) Claim the plotboolean
PlotModificationManager.clear
(boolean checkRunning, boolean isDelete, @Nullable PlotPlayer<?> actor, @Nullable Runnable whenDone) Clear the plotabstract boolean
PlotManager.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 settingsboolean
PlotModificationManager.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 PlotInventory
PlotInventory.getOpenPlotInventory
(@NonNull PlotPlayer<?> plotPlayer) int
PlotArea.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 boolean
PlotInventory.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.boolean
PlotArea.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 void
PlotInventory.removePlotInventoryOpen
(@NonNull PlotPlayer<?> plotPlayer) abstract boolean
PlotManager.setComponent
(@NonNull PlotId plotId, @NonNull String component, @NonNull Pattern blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Set the specified components to the specified Pattern on the specified plot.boolean
PlotModificationManager.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.boolean
PlotModificationManager.setComponent
(String component, String blocks, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) Deprecated.boolean
Plot.setOwner
(UUID owner, PlotPlayer<?> initiator) Sets the plot owner (and update the database)static void
PlotInventory.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 dimensionsvoid
Plot.teleportPlayer
(PlotPlayer<?> player, TeleportCause cause, Consumer<Boolean> resultConsumer) Teleport a player to a plot and send them the teleport message.void
Plot.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 TypeMethodDescriptionboolean
CommentInbox.canModify
(Plot plot, PlotPlayer<?> player) boolean
CommentInbox.canRead
(Plot plot, PlotPlayer<?> player) boolean
CommentInbox.canWrite
(Plot plot, PlotPlayer<?> player) static long
CommentManager.getTimestamp
(PlotPlayer<?> player, String inbox) static void
CommentManager.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 TypeMethodDescriptionvoid
ExpireManager.confirmExpiry
(PlotPlayer<?> pp) void
ExpireManager.handleEntry
(PlotPlayer<?> pp, Plot plot) void
ExpireManager.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 boolean
DenyTeleportFlag.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 TypeMethodDescriptionboolean
SinglePlotManager.clearPlot
(@NonNull Plot plot, Runnable whenDone, @Nullable PlotPlayer<?> actor, @Nullable QueueCoordinator queue) boolean
SinglePlotManager.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 TypeMethodDescriptionvoid
CommonSetupSteps.announce
(PlotPlayer<?> plotPlayer) void
SettingsNodeStep.announce
(PlotPlayer<?> plotPlayer) void
SetupStep.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) void
SetupProcess.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 TypeClassDescriptionclass
PlayerManager<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) boolean
EventDispatcher.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.boolean
RegionManager.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 void
EconHandler.depositMoney
(PlotPlayer<?> player, double amount) void
EventDispatcher.doJoinTask
(PlotPlayer<?> player) void
EventDispatcher.doRespawnTask
(PlotPlayer<?> player) abstract double
EconHandler.getBalance
(PlotPlayer<?> player) abstract @org.checkerframework.checker.index.qual.NonNegative int
WorldUtil.getFoodLevel
(@NonNull PlotPlayer<?> player) Get the player food levelabstract @org.checkerframework.checker.index.qual.NonNegative double
WorldUtil.getHealth
(@NonNull PlotPlayer<?> player) Get the player healthabstract PlotItemStack[]
InventoryUtil.getItems
(PlotPlayer<?> player) static HashSet<CuboidRegion>
WEManager.getMask
(PlotPlayer<?> player) double
EconHandler.getMoney
(PlotPlayer<?> player) abstract boolean
RegionManager.handleClear
(@NonNull Plot plot, @Nullable Runnable whenDone, @NonNull PlotManager manager, @Nullable PlotPlayer<?> actor) Only called whenRegionManager.notifyClear(PlotManager)
returns true in specific PlotManagersstatic boolean
Permissions.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 boolean
Permissions.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 int
Permissions.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 int
Permissions.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 Pattern
PatternUtil.parse
(PlotPlayer<?> plotPlayer, String input) static Pattern
PatternUtil.parse
(PlotPlayer<?> plotPlayer, String input, boolean allowLegacy) void
SchematicHandler.paste
(Schematic schematic, Plot plot, int xOffset, int yOffset, int zOffset, boolean autoHeight, PlotPlayer<?> actor, RunnableVal<Boolean> whenDone) Paste a schematic.void
PlayerManager.removePlayer
(@NonNull PlotPlayer<?> plotPlayer) Remove a player from the player mapboolean
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.abstract void
WorldUtil.setFoodLevel
(@NonNull PlotPlayer<?> player, @org.checkerframework.checker.index.qual.NonNegative int foodLevel) Set the player food levelabstract void
WorldUtil.setHealth
(@NonNull PlotPlayer<?> player, @org.checkerframework.checker.index.qual.NonNegative double health) Set the player healthvoid
RegionManager.swap
(Location pos1, Location pos2, Location swapPos, @Nullable PlotPlayer<?> actor, Runnable whenDone) Swap two regions within the same worldabstract void
EconHandler.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 TypeMethodDescriptionvoid
PlaceholderRegistry.createPlaceholder
(@NonNull String key, @NonNull com.google.common.base.Function<PlotPlayer<?>, String> placeholderFunction) Create a functional placeholdervoid
PlaceholderRegistry.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)
.