PlayerProfile

data class PlayerProfile(val id: String, val name: String, val legacy: Boolean = false, val skinUrl: String?, val capeUrl: String?, val skinModel: SkinModel)

Represents a player's profile as retrieved from the Mojang session servers.

Constructors

Link copied to clipboard
constructor(id: String, name: String, legacy: Boolean = false, skinUrl: String?, capeUrl: String?, skinModel: SkinModel)

Properties

Link copied to clipboard

The URL to the player's cape texture.

Link copied to clipboard
val id: String

The UUID of the player.

Link copied to clipboard
val legacy: Boolean = false

Uh, I don't want to explain this, check wiki, please.

Link copied to clipboard

The username of the player.

Link copied to clipboard

The model type of the player's skin, either CLASSIC (Steve) or SLIM (Alex).

Link copied to clipboard

The URL to the player's skin texture.