getPlayerByName

fun getPlayerByName(name: String): PlayerMP?

Gets a player by their username, must be in the currently loaded chunks!

Return

the player with said username, or null if they don't exist.

Parameters

name

the username

Sources

Link copied to clipboard