Uses of Interface
org.bukkit.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 org.bukkit
Modifier and TypeMethodDescriptionstatic OfflinePlayer
Bukkit.getOfflinePlayer
(String name) Deprecated.Persistent storage of users should be by UUID as names are no longer unique past a single session.static OfflinePlayer
Bukkit.getOfflinePlayer
(UUID id) Gets the player by the given UUID, regardless if they are offline or online.Server.getOfflinePlayer
(String name) Deprecated.Persistent storage of users should be by UUID as names are no longer unique past a single session.Server.getOfflinePlayer
(UUID id) Gets the player by the given UUID, regardless if they are offline or online.static 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.Modifier and TypeMethodDescriptionstatic Set<OfflinePlayer>
Bukkit.getBannedPlayers()
Gets a set containing all banned players.Server.getBannedPlayers()
Gets a set containing all banned players.static Set<OfflinePlayer>
Bukkit.getOperators()
Gets a set containing all player operators.Server.getOperators()
Gets a set containing all player operators.static 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
Modifier and TypeMethodDescriptionvoid
Skull.setOwningPlayer
(OfflinePlayer player) Set the player which owns the skull. -
Uses of OfflinePlayer in org.bukkit.configuration
Modifier and TypeMethodDescriptionConfigurationSection.getOfflinePlayer
(String path) Gets the requested OfflinePlayer by path.ConfigurationSection.getOfflinePlayer
(String path, OfflinePlayer def) Gets the requestedOfflinePlayer
by path, returning a default value if not found.MemorySection.getOfflinePlayer
(String path) MemorySection.getOfflinePlayer
(String path, OfflinePlayer def) Modifier and TypeMethodDescriptionConfigurationSection.getOfflinePlayer
(String path, OfflinePlayer def) Gets the requestedOfflinePlayer
by path, returning a default value if not found.MemorySection.getOfflinePlayer
(String path, OfflinePlayer def) -
Uses of OfflinePlayer in org.bukkit.entity
Modifier and TypeMethodDescriptionZombieVillager.getConversionPlayer()
Gets the player who initiated the conversion.Interaction.PreviousInteraction.getPlayer()
Get the previous interacting player.Modifier and TypeMethodDescriptionvoid
ZombieVillager.setConversionPlayer
(OfflinePlayer conversionPlayer) Sets the player who initiated the conversion. -
Uses of OfflinePlayer in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionboolean
SkullMeta.setOwningPlayer
(OfflinePlayer owner) Sets the owner of the skull. -
Uses of OfflinePlayer in org.bukkit.scoreboard
Modifier and TypeMethodDescriptionScore.getPlayer()
Deprecated.Scoreboards can contain entries that aren't playersModifier and TypeMethodDescriptionScoreboard.getPlayers()
Deprecated.Scoreboards can contain entries that aren't playersTeam.getPlayers()
Deprecated.Teams can contain entries that aren't playersModifier and TypeMethodDescriptionvoid
Team.addPlayer
(OfflinePlayer player) Deprecated.Teams can contain entries that aren't playersScoreboard.getPlayerTeam
(OfflinePlayer player) Deprecated.Scoreboards can contain entries that aren't playersObjective.getScore
(OfflinePlayer player) Deprecated.Scoreboards can contain entries that aren't playersScoreboard.getScores
(OfflinePlayer player) Deprecated.Scoreboards can contain entries that aren't playersboolean
Team.hasPlayer
(OfflinePlayer player) Deprecated.Teams can contain entries that aren't playersboolean
Team.removePlayer
(OfflinePlayer player) Deprecated.Teams can contain entries that aren't playersvoid
Scoreboard.resetScores
(OfflinePlayer player) Deprecated.Scoreboards can contain entries that aren't players