Class FileUuidCache
java.lang.Object
me.lucko.luckperms.common.storage.implementation.file.FileUuidCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.luckperms.api.model.PlayerSaveResultaddMapping(UUID uuid, String username) Adds a mapping to the cachevoidlookupUsername(UUID uuid) Gets the most recent username used by a given uuid@Nullable UUIDlookupUuid(String username) Gets the most recent uuid which connected with the given username, or nullvoidremoveMapping(UUID uuid) Removes a mapping from the cachevoid
-
Constructor Details
-
FileUuidCache
public FileUuidCache()
-
-
Method Details
-
addMapping
-
removeMapping
Removes a mapping from the cache- Parameters:
uuid- the uuid of the player to remove
-
lookupUuid
-
lookupUsername
-
load
-
save
-