1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-08-26 15:54:22 +02:00

Implement the basis for deleting player uuid data from storage

This commit is contained in:
Luck
2020-09-07 17:22:42 +01:00
parent 84e7fd4d09
commit 198b86d7c3
9 changed files with 59 additions and 0 deletions

View File

@@ -147,6 +147,17 @@ public interface UserManager {
*/
@NonNull CompletableFuture<PlayerSaveResult> savePlayerData(@NonNull UUID uniqueId, @NonNull String username);
/**
* Deletes any data about a given player from the uuid caching system.
*
* <p>Note that this method does not affect any saved user/permissions data.</p>
*
* @param uniqueId the users mojang unique id
* @return a future encapsulating the result of the operation
* @since 5.2
*/
@NonNull CompletableFuture<Void> deletePlayerData(@NonNull UUID uniqueId);
/**
* Gets a set all "unique" user UUIDs.
*