Package net.luckperms.api.event.player
Interface PlayerDataSaveEvent
- All Superinterfaces:
LuckPermsEvent
Called when player data is saved to the storage.
Data can be saved using UserManager.savePlayerData(UUID, String).
-
Method Summary
Modifier and TypeMethodDescriptionGets the result of the operation.Gets the unique ID that was saved.Gets the username that was saved.Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Method Details
-
getUniqueId
Gets the unique ID that was saved.- Returns:
- the uuid
-
getUsername
Gets the username that was saved.- Returns:
- the username
-
getResult
@NonNull PlayerSaveResult getResult()Gets the result of the operation.- Returns:
- the result
-