public interface NucleusPlayerMetadataService
User
Modifier and Type | Interface and Description |
---|---|
static interface |
NucleusPlayerMetadataService.Result
Represents the metadata for a player.
|
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<NucleusPlayerMetadataService.Result> |
getUserData(org.spongepowered.api.entity.living.player.User user)
Gets the user metadata for a player with the specified
User . |
java.util.Optional<NucleusPlayerMetadataService.Result> |
getUserData(java.util.UUID uuid)
Gets the user metadata for a player with the specified UUID.
|
java.util.Optional<NucleusPlayerMetadataService.Result> getUserData(java.util.UUID uuid)
uuid
- The UUID of the user.NucleusPlayerMetadataService.Result
if the user exists.default java.util.Optional<NucleusPlayerMetadataService.Result> getUserData(org.spongepowered.api.entity.living.player.User user)
User
.user
- The User
.NucleusPlayerMetadataService.Result
if the user exists.