Uses of Interface
org.bukkit.OfflinePlayer
Packages that use OfflinePlayer
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Classes dedicated to handling a plugin's runtime configuration.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.The interfaces used when manipulating extra data can can be stored inside
item stacks
.Interfaces used to manage the client side score display system.
-
Uses of OfflinePlayer in io.papermc.paper.event.server
Methods in io.papermc.paper.event.server that return OfflinePlayerModifier and TypeMethodDescriptionWhitelistStateUpdateEvent.getPlayer()
Gets the player whose whitelist status is being changed -
Uses of OfflinePlayer in org.bukkit
Methods in org.bukkit that return OfflinePlayerModifier and TypeMethodDescriptionstatic @NotNull OfflinePlayer
Bukkit.getOfflinePlayer
(@NotNull String name) Gets the player by the given name, regardless if they are offline or online.static @NotNull OfflinePlayer
Bukkit.getOfflinePlayer
(@NotNull UUID id) Gets the player by the given UUID, regardless if they are offline or online.Server.getOfflinePlayer
(@NotNull String name) Gets the player by the given name, regardless if they are offline or online.Server.getOfflinePlayer
(@NotNull UUID id) Gets the player by the given UUID, regardless if they are offline or online.static @Nullable OfflinePlayer
Bukkit.getOfflinePlayerIfCached
(@NotNull String name) Gets the player by the given name, regardless if they are offline or online.Server.getOfflinePlayerIfCached
(@NotNull String name) Gets the player by the given name, regardless if they are offline or online.static @NotNull OfflinePlayer[]
Bukkit.getOfflinePlayers()
Gets every player that has ever played on this server.Server.getOfflinePlayers()
Gets every player that has ever played on this server.Methods in org.bukkit that return types with arguments of type OfflinePlayerModifier and TypeMethodDescriptionstatic @NotNull Set<OfflinePlayer>
Bukkit.getBannedPlayers()
Gets a set containing all banned players.Server.getBannedPlayers()
Gets a set containing all banned players.static @NotNull Set<OfflinePlayer>
Bukkit.getOperators()
Gets a set containing all player operators.Server.getOperators()
Gets a set containing all player operators.static @NotNull Set<OfflinePlayer>
Bukkit.getWhitelistedPlayers()
Gets a list of whitelisted players.Server.getWhitelistedPlayers()
Gets a list of whitelisted players. -
Uses of OfflinePlayer in org.bukkit.block
Methods in org.bukkit.block that return OfflinePlayerMethods in org.bukkit.block with parameters of type OfflinePlayerModifier and TypeMethodDescriptionvoid
Skull.setOwningPlayer
(@NotNull OfflinePlayer player) Set the player which owns the skull. -
Uses of OfflinePlayer in org.bukkit.configuration
Methods in org.bukkit.configuration that return OfflinePlayerModifier and TypeMethodDescriptionConfigurationSection.getOfflinePlayer
(@NotNull String path) Gets the requested OfflinePlayer by path.ConfigurationSection.getOfflinePlayer
(@NotNull String path, @Nullable OfflinePlayer def) Gets the requestedOfflinePlayer
by path, returning a default value if not found.MemorySection.getOfflinePlayer
(@NotNull String path) MemorySection.getOfflinePlayer
(@NotNull String path, @Nullable OfflinePlayer def) Methods in org.bukkit.configuration with parameters of type OfflinePlayerModifier and TypeMethodDescriptionConfigurationSection.getOfflinePlayer
(@NotNull String path, @Nullable OfflinePlayer def) Gets the requestedOfflinePlayer
by path, returning a default value if not found.MemorySection.getOfflinePlayer
(@NotNull String path, @Nullable OfflinePlayer def) -
Uses of OfflinePlayer in org.bukkit.entity
Subinterfaces of OfflinePlayer in org.bukkit.entityMethods in org.bukkit.entity that return OfflinePlayerModifier and TypeMethodDescriptionZombieVillager.getConversionPlayer()
Gets the player who initiated the conversion.Interaction.PreviousInteraction.getPlayer()
Get the previous interacting player.Methods in org.bukkit.entity with parameters of type OfflinePlayerModifier and TypeMethodDescriptionvoid
ZombieVillager.setConversionPlayer
(@Nullable OfflinePlayer conversionPlayer) Sets the player who initiated the conversion. -
Uses of OfflinePlayer in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return OfflinePlayerMethods in org.bukkit.inventory.meta with parameters of type OfflinePlayerModifier and TypeMethodDescriptionboolean
SkullMeta.setOwningPlayer
(@Nullable OfflinePlayer owner) Sets the owner of the skull. -
Uses of OfflinePlayer in org.bukkit.scoreboard
Methods in org.bukkit.scoreboard that return OfflinePlayerModifier and TypeMethodDescriptionScore.getPlayer()
Deprecated.Scoreboards can contain entries that aren't playersMethods in org.bukkit.scoreboard that return types with arguments of type OfflinePlayerModifier and TypeMethodDescriptionScoreboard.getPlayers()
Deprecated.Scoreboards can contain entries that aren't playersTeam.getPlayers()
Deprecated.Teams can contain entries that aren't playersMethods in org.bukkit.scoreboard with parameters of type OfflinePlayerModifier and TypeMethodDescriptionvoid
Team.addPlayer
(@NotNull OfflinePlayer player) This puts the specified player onto this team for the scoreboard.Scoreboard.getPlayerTeam
(@NotNull OfflinePlayer player) Gets a player's Team on this ScoreboardObjective.getScore
(@NotNull OfflinePlayer player) Gets a player's Score for an Objective on this ScoreboardScoreboard.getScores
(@NotNull OfflinePlayer player) Gets all scores for a player on this Scoreboardboolean
Team.hasPlayer
(@NotNull OfflinePlayer player) Checks to see if the specified player is a member of this team.boolean
Team.removePlayer
(@NotNull OfflinePlayer player) Removes the player from this team.void
Scoreboard.resetScores
(@NotNull OfflinePlayer player) Removes all scores for a player on this Scoreboard