public interface User extends DataHolder, Identifiable, ArmorEquipable, Tamer, DataSerializable, Subject, Carrier
Modifier and Type | Method and Description |
---|---|
AchievementData |
getAchievementData()
Gets a copy of the
AchievementData for this user. |
BanData |
getBanData()
Gets a copy of the current
BanData for this user. |
String |
getName()
Gets the player's last known username.
|
Optional<Player> |
getPlayer()
Gets the related online
Player if the player is
in fact online. |
GameProfile |
getProfile()
Gets the associated
GameProfile of this player. |
StatisticData |
getStatisticData()
Gets a copy of the
StatisticData for this user. |
boolean |
isOnline()
Checks if this user is online or not.
|
getProperties, getProperty, setRawData, validateRawData
toContainer
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getBoots, getChestplate, getHelmet, getItemInHand, getLeggings, setBoots, setChestplate, setHelmet, setItemInHand, setLeggings
canEquip, canEquip, equip, getEquipped
getUniqueId
getInventory
getActiveContexts, getCommandSource, getContainingCollection, getIdentifier, getParents, getParents, getPermissionValue, getSubjectData, getTransientSubjectData, hasPermission, hasPermission, isChildOf, isChildOf
GameProfile getProfile()
GameProfile
of this player.String getName()
boolean isOnline()
Optional<Player> getPlayer()
Player
if the player is
in fact online.AchievementData getAchievementData()
AchievementData
for this user.StatisticData getStatisticData()
StatisticData
for this user.