getPlayerByName

abstract fun getPlayerByName(playerName: String): McServerPlayer?

Gets a player by their name.

Return

The player if found, otherwise null.

Parameters

playerName

The name of the player.