getPlayerById

abstract fun getPlayerById(playerId: UUID): McServerPlayer?

Gets a player by their unique identifier.

Return

The player if found, otherwise null.

Parameters

playerId

The unique identifier of the player.