Package dev.aurelium.auraskills.api.user
Interface UserManager
public interface UserManager
-
Method Summary
Modifier and TypeMethodDescriptionGets an online player's user data from the player's UUID.
-
Method Details
-
getUser
Gets an online player's user data from the player's UUID. Since only online players are loaded in memory, calling this method with an offline player's UUID will return an emptySkillsUser
object that returns default values for get methods and cannot be updated. If you don't know whether the uuid is an online player, useSkillsUser.isLoaded()
to check if the returned user is loaded.- Parameters:
playerId
- the UUID of the player- Returns:
- the SkillsUser object
-