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 |
---|---|
static OfflinePlayer |
Bukkit.getOfflinePlayer(String name) |
OfflinePlayer |
Server.getOfflinePlayer(String name)
Gets the player by the given name, regardless if they are offline or
online.
|
static OfflinePlayer[] |
Bukkit.getOfflinePlayers() |
OfflinePlayer[] |
Server.getOfflinePlayers()
Gets every player that has ever played on this server.
|
Modifier and Type | Method and Description |
---|---|
static Set<OfflinePlayer> |
Bukkit.getBannedPlayers() |
Set<OfflinePlayer> |
Server.getBannedPlayers()
Gets a set containing all banned players
|
static Set<OfflinePlayer> |
Bukkit.getOperators() |
Set<OfflinePlayer> |
Server.getOperators()
Gets a set containing all player operators
|
static Set<OfflinePlayer> |
Bukkit.getWhitelistedPlayers() |
Set<OfflinePlayer> |
Server.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()
Gets the OfflinePlayer being tracked by this Score
|
Modifier and Type | Method and Description |
---|---|
Set<OfflinePlayer> |
Team.getPlayers()
Gets the Set of players on the team
|
Set<OfflinePlayer> |
Scoreboard.getPlayers()
Gets all players tracked by this Scoreboard
|
Modifier and Type | Method and Description |
---|---|
void |
Team.addPlayer(OfflinePlayer player)
This puts the specified player onto this team for the scoreboard.
|
Team |
Scoreboard.getPlayerTeam(OfflinePlayer player)
Gets a player's Team on this Scoreboard
|
Score |
Objective.getScore(OfflinePlayer player)
Gets a player's Score for an Objective on this Scoreboard
|
Set<Score> |
Scoreboard.getScores(OfflinePlayer player)
Gets all scores for a player on this Scoreboard
|
boolean |
Team.hasPlayer(OfflinePlayer player)
Checks to see if the specified player is a member of this team.
|
boolean |
Team.removePlayer(OfflinePlayer player)
Removes the player from this team.
|
void |
Scoreboard.resetScores(OfflinePlayer player)
Removes all scores for a player on this Scoreboard
|
Copyright © 2014. All rights reserved.