getProfile

suspend fun getProfile(uuid: String): PlayerProfile

Retrieves the player's profile from the Mojang session server based on the provided UUID.

Return

PlayerProfile containing detailed player information including id, name, skin, cape, and model type.

Parameters

uuid

The player's uuid.