UuidInfo

data class UuidInfo(val id: UUID, val username: String, val retrievedAt: Instant)

A UuidInfo is the response to the request of the UUID and canonical username of a specific player. The result includes the moment when this information was freshly retrieved from Mojang and may be stale or outdated, if Xenos is configured to return those values. The canonical name may differ from the requested name in its capitalization but is guaranteed to be equal, ignoring the case.

Constructors

Link copied to clipboard
constructor(id: UUID, username: String, retrievedAt: Instant)

Properties

Link copied to clipboard
val id: UUID

The unique identifier that belongs to the requested username and that unambiguously identifies the player.

Link copied to clipboard

The moment when this data was originally fetched from the MojangAPI and when it was considered fresh.

Link copied to clipboard

The canonical username of the requested player with the rectified capitalization as specified in the profile.