Package | Description |
---|---|
com.destroystokyo.paper.event.profile | |
com.destroystokyo.paper.event.server | |
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player | |
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
Modifier and Type | Method and Description |
---|---|
PlayerProfile |
PreFillProfileEvent.getPlayerProfile() |
PlayerProfile |
ProfileWhitelistVerifyEvent.getPlayerProfile() |
PlayerProfile |
LookupProfileEvent.getPlayerProfile() |
PlayerProfile |
FillProfileEvent.getPlayerProfile() |
Constructor and Description |
---|
FillProfileEvent(PlayerProfile profile) |
LookupProfileEvent(PlayerProfile profile) |
PreFillProfileEvent(PlayerProfile profile) |
ProfileWhitelistVerifyEvent(PlayerProfile profile,
boolean whitelistEnabled,
boolean whitelisted,
boolean isOp,
String kickMessage) |
Modifier and Type | Method and Description |
---|---|
List<PlayerProfile> |
PaperServerListPingEvent.getPlayerSample()
Returns a mutable list of
PlayerProfile that will be displayed
as online players on the client. |
Modifier and Type | Method and Description |
---|---|
static PlayerProfile |
Bukkit.createProfile(String name)
Creates a PlayerProfile for the specified name, with UUID as null
|
PlayerProfile |
Server.createProfile(String name)
Creates a PlayerProfile for the specified name, with UUID as null
|
static PlayerProfile |
Bukkit.createProfile(UUID uuid)
Creates a PlayerProfile for the specified uuid, with name as null
|
PlayerProfile |
Server.createProfile(UUID uuid)
Creates a PlayerProfile for the specified uuid, with name as null
|
static PlayerProfile |
Bukkit.createProfile(UUID uuid,
String name)
Creates a PlayerProfile for the specified name/uuid
Both UUID and Name can not be null at same time.
|
PlayerProfile |
Server.createProfile(UUID uuid,
String name)
Creates a PlayerProfile for the specified name/uuid
Both UUID and Name can not be null at same time.
|
Modifier and Type | Method and Description |
---|---|
PlayerProfile |
Player.getPlayerProfile()
Gets a copy of this players profile
|
Modifier and Type | Method and Description |
---|---|
void |
Player.setPlayerProfile(PlayerProfile profile)
Changes the PlayerProfile for this player.
|
Modifier and Type | Method and Description |
---|---|
PlayerProfile |
AsyncPlayerPreLoginEvent.getPlayerProfile()
Gets the PlayerProfile of the player logging in
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncPlayerPreLoginEvent.setPlayerProfile(PlayerProfile profile)
Changes the PlayerProfile the player will login as
|
Constructor and Description |
---|
AsyncPlayerPreLoginEvent(String name,
InetAddress ipAddress,
UUID uniqueId,
PlayerProfile profile) |
Modifier and Type | Method and Description |
---|---|
PlayerProfile |
SkullMeta.getPlayerProfile()
If the skull has an owner, per
SkullMeta.hasOwner() , return the owners PlayerProfile |
Modifier and Type | Method and Description |
---|---|
void |
SkullMeta.setPlayerProfile(PlayerProfile profile)
Sets this skull to use the supplied Player Profile, which can include textures already prefilled.
|
Copyright © 2021. All rights reserved.