MinecraftPlayer

Functions

Link copied to clipboard
@JsPromise
@JvmAsync
@JvmBlocking
suspend fun getProfile(player: String): PlayerProfile

Retrieves a player's profile by name or UUID.

Link copied to clipboard
@JsPromise
@JvmAsync
@JvmBlocking
suspend fun getUuid(playerName: String): String

Retrieves the player's UUID by their name.