Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a player in a leaderboard from the API

Hierarchy

  • LeaderboardPlayer

Index

Constructors

Properties

class?: ClassType

The ClassType that earns the player their spot on the leaderboard

Only set if the requested scope was SOLO
.
kills?: number

The nether kills of the player

Only set if the type of the request was PVP
.
level?: number

The respective level of the player

Only set if the type of the request wasn't PVP.
name: string

The account name of the player

playtime: number

The playtime of the player

rank: RankData

The rank information of the player

The displayTag and veteran properties are currently always false, unless both are true.
uuid: string

The UUID of the player

readonly
xp?: number

The additional XP the player has gathered beyond their current level

Only set if the type of the request wasn't PVP.

Methods

  • Fetches the player stats of the player

    This method causes API requests.

    Parameters

    Returns Promise<Player>

Generated using TypeDoc