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 Optional<NucleusPlayerMetadataService.Result> |
getUserData(org.spongepowered.api.entity.living.player.User user)
Gets the user metadata for a player with the specified
User . |
Optional<NucleusPlayerMetadataService.Result> |
getUserData(UUID uuid)
Gets the user metadata for a player with the specified UUID.
|
Optional<NucleusPlayerMetadataService.Result> getUserData(UUID uuid)
uuid
- The UUID of the user.NucleusPlayerMetadataService.Result
if the user exists.default Optional<NucleusPlayerMetadataService.Result> getUserData(org.spongepowered.api.entity.living.player.User user)
User
.user
- The User
.NucleusPlayerMetadataService.Result
if the user exists.