Class: Player
# Class: Player
# Hierarchy
Method
↳ Player
# API Methods
# uuid
▸ uuid(uuid
: string): Promise<Player & { meta
: Omit<$200, player> & DefaultMeta }>
Returns a player's data, such as game stats.
example
const player = await client.player.uuid("20934ef9488c465180a78f861586b4cf");
console.log(player);
1
2
2
# Parameters:
Name | Type |
---|---|
uuid | string |
Returns: Promise<Player & { meta
: Omit<$200, player> & DefaultMeta }>
Defined in: methods/player.ts:15 (opens new window)