Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.configuration |
Classes dedicated to handling a plugin's runtime configuration.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.scoreboard |
Interfaces used to manage the client side score display system.
|
Modifier and Type | Method and Description |
---|---|
OfflinePlayer |
Server.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(String name)
Deprecated.
Persistent storage of users should be by UUID as names are no longer
unique past a single session.
|
OfflinePlayer |
Server.getOfflinePlayer(UUID id)
Gets the player by the given UUID, regardless if they are offline or
online.
|
static OfflinePlayer |
Bukkit.getOfflinePlayer(UUID id)
Gets the player by the given UUID, regardless if they are offline or
online.
|
OfflinePlayer[] |
Server.getOfflinePlayers()
Gets every player that has ever played on this server.
|
static OfflinePlayer[] |
Bukkit.getOfflinePlayers()
Gets every player that has ever played on this server.
|
Modifier and Type | Method and Description |
---|---|
Set<OfflinePlayer> |
Server.getBannedPlayers()
Gets a set containing all banned players.
|
static Set<OfflinePlayer> |
Bukkit.getBannedPlayers()
Gets a set containing all banned players.
|
Set<OfflinePlayer> |
Server.getOperators()
Gets a set containing all player operators.
|
static Set<OfflinePlayer> |
Bukkit.getOperators()
Gets a set containing all player operators.
|
Set<OfflinePlayer> |
Server.getWhitelistedPlayers()
Gets a list of whitelisted players.
|
static Set<OfflinePlayer> |
Bukkit.getWhitelistedPlayers()
Gets a list of whitelisted players.
|
Modifier and Type | Method and Description |
---|---|
OfflinePlayer |
ConfigurationSection.getOfflinePlayer(String path)
Gets the requested OfflinePlayer by path.
|
OfflinePlayer |
MemorySection.getOfflinePlayer(String path) |
OfflinePlayer |
ConfigurationSection.getOfflinePlayer(String path,
OfflinePlayer def)
Gets the requested
OfflinePlayer by path, returning a default
value if not found. |
OfflinePlayer |
MemorySection.getOfflinePlayer(String path,
OfflinePlayer def) |
Modifier and Type | Method and Description |
---|---|
OfflinePlayer |
ConfigurationSection.getOfflinePlayer(String path,
OfflinePlayer def)
Gets the requested
OfflinePlayer by path, returning a default
value if not found. |
OfflinePlayer |
MemorySection.getOfflinePlayer(String path,
OfflinePlayer def) |
Modifier and Type | Interface and Description |
---|---|
interface |
Player
Represents a player, connected or not
|
Modifier and Type | Method and Description |
---|---|
OfflinePlayer |
Score.getPlayer()
Deprecated.
Scoreboards can contain entries that aren't players
|
Modifier and Type | Method and Description |
---|---|
Set<OfflinePlayer> |
Team.getPlayers()
Deprecated.
Teams can contain entries that aren't players
|
Set<OfflinePlayer> |
Scoreboard.getPlayers()
Deprecated.
Scoreboards can contain entries that aren't players
|
Modifier and Type | Method and Description |
---|---|
void |
Team.addPlayer(OfflinePlayer player)
Deprecated.
Teams can contain entries that aren't players
|
Team |
Scoreboard.getPlayerTeam(OfflinePlayer player)
Deprecated.
Scoreboards can contain entries that aren't players
|
Score |
Objective.getScore(OfflinePlayer player)
Deprecated.
Scoreboards can contain entries that aren't players
|
Set<Score> |
Scoreboard.getScores(OfflinePlayer player)
Deprecated.
Scoreboards can contain entries that aren't players
|
boolean |
Team.hasPlayer(OfflinePlayer player)
Deprecated.
Teams can contain entries that aren't players
|
boolean |
Team.removePlayer(OfflinePlayer player)
Deprecated.
Teams can contain entries that aren't players
|
void |
Scoreboard.resetScores(OfflinePlayer player)
Deprecated.
Scoreboards can contain entries that aren't players
|
Copyright © 2015. All rights reserved.