getGameProfile

abstract fun getGameProfile(playerId: UUID): McGameProfile?

Gets a cached game profile by player unique identifier.

Return

The game profile if found, otherwise null.

Parameters

playerId

The unique identifier of the player.


abstract fun getGameProfile(name: String): McGameProfile?

Gets a cached game profile by player name.

Return

The game profile if found, otherwise null.

Parameters

name

The name of the player.