Modifier and Type | Method and Description |
---|---|
GlowPlayerProfile |
GlowServer.createProfile(String name) |
GlowPlayerProfile |
GlowServer.createProfile(UUID id) |
GlowPlayerProfile |
GlowServer.createProfile(UUID id,
String name) |
GlowPlayerProfile |
GlowServer.createProfile(UUID uuid,
String name,
boolean asyncLookup)
Creates a player profile.
|
GlowPlayerProfile |
GlowOfflinePlayer.getProfile() |
Modifier and Type | Method and Description |
---|---|
org.bukkit.OfflinePlayer |
GlowServer.getOfflinePlayer(GlowPlayerProfile profile)
Creates a new
GlowOfflinePlayer instance for the given GlowPlayerProfile . |
Constructor and Description |
---|
GlowOfflinePlayer(GlowServer server,
GlowPlayerProfile profile)
Create a new offline player for the given name.
|
Modifier and Type | Method and Description |
---|---|
GlowPlayerProfile |
SkullEntity.getOwner() |
Modifier and Type | Method and Description |
---|---|
void |
SkullEntity.setOwner(GlowPlayerProfile owner) |
Modifier and Type | Method and Description |
---|---|
GlowPlayerProfile |
GlowHumanEntity.getProfile()
The player profile with name and UUID information.
|
Constructor and Description |
---|
GlowHumanEntity(org.bukkit.Location location,
GlowPlayerProfile profile)
Creates a human within the specified world and with the specified name.
|
GlowPlayer(GlowSession session,
GlowPlayerProfile profile,
PlayerDataService.PlayerReader reader)
Creates a new player and adds it to the world.
|
Modifier and Type | Method and Description |
---|---|
static GlowPlayerProfile |
GlowPlayerProfile.fromJson(org.json.simple.JSONObject json)
Reads a GlowPlayerProfile from a JSON object.
|
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<GlowPlayerProfile> |
GlowPlayerProfile.fromNbt(CompoundTag tag)
Get the profile from a NBT tag (e.g.
|
static CompletableFuture<GlowPlayerProfile> |
GlowPlayerProfile.getProfile(String name)
Get the profile for a username.
|
static CompletableFuture<GlowPlayerProfile> |
ProfileCache.getProfile(UUID uuid)
Look up the GlowPlayerProfile for a given UUID.
|
Modifier and Type | Method and Description |
---|---|
GlowPlayerProfile |
ProxyData.getProfile(String name)
Get a spoofed profile to use with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
GlowSession.setPlayer(GlowPlayerProfile profile)
Sets the player associated with this session.
|
Modifier and Type | Field and Description |
---|---|
GlowPlayerProfile |
UserListItemMessage.Entry.profile |
Modifier and Type | Method and Description |
---|---|
GlowPlayerProfile |
UserListItemMessage.Entry.getProfile() |
Modifier and Type | Method and Description |
---|---|
static UserListItemMessage.Entry |
UserListItemMessage.add(GlowPlayerProfile profile) |
static UserListItemMessage.Entry |
UserListItemMessage.add(GlowPlayerProfile profile,
int gameMode,
int ping,
TextMessage displayName)
Adds a player to this message.
|
static UserListItemMessage |
UserListItemMessage.addOne(GlowPlayerProfile profile) |
Constructor and Description |
---|
Entry(UUID uuid,
GlowPlayerProfile profile,
int gameMode,
int ping,
TextMessage displayName,
UserListItemMessage.Action action) |
Modifier and Type | Method and Description |
---|---|
List<GlowPlayerProfile> |
UuidListFile.getProfiles()
Returns a
GlowPlayerProfile for each player whose UUID is in the list file. |
Modifier and Type | Method and Description |
---|---|
boolean |
UuidListFile.containsProfile(GlowPlayerProfile profile)
Checks whether the player with a given UUID is in this list.
|
void |
UuidListFile.remove(GlowPlayerProfile profile)
If the given player is on this list, removes that player and saves the change to disk.
|
Copyright © 2021. All rights reserved.