All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.aurelium.auraskills.api.user.UserManager Maven / Gradle / Ivy

There is a newer version: 2.2.3
Show newest version
package dev.aurelium.auraskills.api.user;

import java.util.UUID;

public interface UserManager {

    /**
     * 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 empty {@link SkillsUser} object
     * that returns default values for get methods and cannot be updated.
     * If you don't know whether the uuid is an online player,
     * use {@link SkillsUser#isLoaded()} to check if the returned user is loaded.
     *
     * @param playerId the UUID of the player
     * @return the SkillsUser object
     */
    SkillsUser getUser(UUID playerId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy