Uses of Interface
org.bukkit.OfflinePlayer
-
Packages that use OfflinePlayer Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.block Classes used to manipulate the voxels in aworld
, including special states.org.bukkit.configuration Classes dedicated to handling a plugin's runtime configuration.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld
, including all players, monsters, projectiles, etc.org.bukkit.inventory.meta The interfaces used when manipulating extra data can can be stored insideitem stacks
.org.bukkit.scoreboard Interfaces used to manage the client side score display system. -
-
Uses of OfflinePlayer in org.bukkit
Methods in org.bukkit that return OfflinePlayer Modifier and Type Method Description static @NotNull OfflinePlayer
Bukkit. getOfflinePlayer(@NotNull String name)
Deprecated.Persistent storage of users should be by UUID as names are no longer unique past a single session.static @NotNull OfflinePlayer
Bukkit. getOfflinePlayer(@NotNull UUID id)
Gets the player by the given UUID, regardless if they are offline or online.@NotNull OfflinePlayer
Server. getOfflinePlayer(@NotNull String name)
Deprecated.Persistent storage of users should be by UUID as names are no longer unique past a single session.@NotNull OfflinePlayer
Server. getOfflinePlayer(@NotNull UUID id)
Gets the player by the given UUID, regardless if they are offline or online.static @NotNull OfflinePlayer[]
Bukkit. getOfflinePlayers()
Gets every player that has ever played on this server.@NotNull OfflinePlayer[]
Server. getOfflinePlayers()
Gets every player that has ever played on this server.Methods in org.bukkit that return types with arguments of type OfflinePlayer Modifier and Type Method Description static @NotNull Set<OfflinePlayer>
Bukkit. getBannedPlayers()
Gets a set containing all banned players.@NotNull Set<OfflinePlayer>
Server. getBannedPlayers()
Gets a set containing all banned players.static @NotNull Set<OfflinePlayer>
Bukkit. getOperators()
Gets a set containing all player operators.@NotNull Set<OfflinePlayer>
Server. getOperators()
Gets a set containing all player operators.static @NotNull Set<OfflinePlayer>
Bukkit. getWhitelistedPlayers()
Gets a list of whitelisted players.@NotNull Set<OfflinePlayer>
Server. getWhitelistedPlayers()
Gets a list of whitelisted players. -
Uses of OfflinePlayer in org.bukkit.block
Methods in org.bukkit.block that return OfflinePlayer Modifier and Type Method Description @Nullable OfflinePlayer
Skull. getOwningPlayer()
Get the player which owns the skull.Methods in org.bukkit.block with parameters of type OfflinePlayer Modifier and Type Method Description void
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 OfflinePlayer Modifier and Type Method Description @Nullable OfflinePlayer
ConfigurationSection. getOfflinePlayer(@NotNull String path)
Gets the requested OfflinePlayer by path.@Nullable OfflinePlayer
ConfigurationSection. getOfflinePlayer(@NotNull String path, @Nullable OfflinePlayer def)
Gets the requestedOfflinePlayer
by path, returning a default value if not found.@Nullable OfflinePlayer
MemorySection. getOfflinePlayer(@NotNull String path)
@Nullable OfflinePlayer
MemorySection. getOfflinePlayer(@NotNull String path, @Nullable OfflinePlayer def)
Methods in org.bukkit.configuration with parameters of type OfflinePlayer Modifier and Type Method Description @Nullable OfflinePlayer
ConfigurationSection. getOfflinePlayer(@NotNull String path, @Nullable OfflinePlayer def)
Gets the requestedOfflinePlayer
by path, returning a default value if not found.@Nullable OfflinePlayer
MemorySection. getOfflinePlayer(@NotNull String path, @Nullable OfflinePlayer def)
-
Uses of OfflinePlayer in org.bukkit.entity
Subinterfaces of OfflinePlayer in org.bukkit.entity Modifier and Type Interface Description interface
Player
Represents a player, connected or notMethods in org.bukkit.entity that return OfflinePlayer Modifier and Type Method Description @Nullable OfflinePlayer
ZombieVillager. getConversionPlayer()
Gets the player who initiated the conversion.Methods in org.bukkit.entity with parameters of type OfflinePlayer Modifier and Type Method Description void
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 OfflinePlayer Modifier and Type Method Description @Nullable OfflinePlayer
SkullMeta. getOwningPlayer()
Gets the owner of the skull.Methods in org.bukkit.inventory.meta with parameters of type OfflinePlayer Modifier and Type Method Description boolean
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 OfflinePlayer Modifier and Type Method Description @NotNull OfflinePlayer
Score. getPlayer()
Deprecated.Scoreboards can contain entries that aren't playersMethods in org.bukkit.scoreboard that return types with arguments of type OfflinePlayer Modifier and Type Method Description @NotNull Set<OfflinePlayer>
Scoreboard. getPlayers()
Deprecated.Scoreboards can contain entries that aren't players@NotNull Set<OfflinePlayer>
Team. getPlayers()
Deprecated.Teams can contain entries that aren't playersMethods in org.bukkit.scoreboard with parameters of type OfflinePlayer Modifier and Type Method Description void
Team. addPlayer(@NotNull OfflinePlayer player)
Deprecated.Teams can contain entries that aren't players@Nullable Team
Scoreboard. getPlayerTeam(@NotNull OfflinePlayer player)
Deprecated.Scoreboards can contain entries that aren't players@NotNull Score
Objective. getScore(@NotNull OfflinePlayer player)
Deprecated.Scoreboards can contain entries that aren't players@NotNull Set<Score>
Scoreboard. getScores(@NotNull OfflinePlayer player)
Deprecated.Scoreboards can contain entries that aren't playersboolean
Team. hasPlayer(@NotNull OfflinePlayer player)
Deprecated.Teams can contain entries that aren't playersboolean
Team. removePlayer(@NotNull OfflinePlayer player)
Deprecated.Teams can contain entries that aren't playersvoid
Scoreboard. resetScores(@NotNull OfflinePlayer player)
Deprecated.Scoreboards can contain entries that aren't players
-