getPlayer

open fun getPlayer(target: String): OfflinePlayer(source)

Retrieve a player object from their name.

Return

the player object for the specified name

Parameters

target

the name of the player


open fun getPlayer(uuid: UUID): OfflinePlayer(source)

Retrieve a player object from their UUID.

Return

the player object for the specified UUID

Parameters

uuid

the UUID of the player