mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2025-12-24 17:39:25 +00:00
2.3.0.7
This commit is contained in:
@@ -41,6 +41,13 @@ public interface DataStorageInterface {
|
||||
*/
|
||||
StorageType getStorageType();
|
||||
|
||||
/**
|
||||
* Get a player's data by uuid
|
||||
* This player can be an offline one
|
||||
*
|
||||
* @param uuid uuid
|
||||
* @return player data
|
||||
*/
|
||||
CompletableFuture<Optional<PlayerData>> getPlayerData(UUID uuid);
|
||||
|
||||
CompletableFuture<Boolean> updatePlayerData(UUID uuid, PlayerData playerData);
|
||||
|
||||
Reference in New Issue
Block a user