Skip to content
Connor Slade edited this page Jul 23, 2022 · 4 revisions

Classes

player

Player Object

Functions

getNameAtDate(player_string, date) β‡’ Promise.<String>

Get the name of the player at a given date. Due to API limitations anything before the first name change will be the accounts original name.

getNameHistory(player_string) β‡’ Promise.<Object>

Gets Player name History

getSkin(uuid_player) β‡’ Promise.<Object>

Get player skin Url from UUID

isServerBlocked(server) β‡’ Promise.<Boolean>

Checks if a minecraft server url / ip is blocked

nameToUuid(player_string) β‡’ Promise.<Object>

Get the UUID from a minecraft player name

uuidToName(player_string) β‡’ Promise.<Object>

Get the Player Name from a minecraft player UUID

player

Player Object

Kind: global class

new player(name_uuid)

Param Description
name_uuid A Player Name or Player Uuid

player.uuid β‡’ Promise.<string>

Get the Uuid for a player

Kind: instance property of player

player.name β‡’ Promise.<string>

Get the Name for a Player

Kind: instance property of player

getNameAtDate(player_string, date) β‡’ Promise.<String>

Due to API limitations anything before the first name change will be the accounts original name.

Kind: global function Returns: Promise.<String> - The name in plain Text

Param Type Description
player_string Object Player Object or a Uuid as a string
date Date The Date to get the name at

getNameHistory(player_string) β‡’ Promise.<Object>

Gets Player name History

Kind: global function Returns: Promise.<Object> - An Object containing names and the date they were set

Param Type Description
player_string Object Player Object or a Uuid as a string

getSkin(uuid_player) β‡’ Promise.<Object>

Get player skin Url from UUID

Kind: global function Returns: Promise.<Object> - {skin, cape}

Param Type Description
uuid_player Object Player Object or a Uuid as a string

isServerBlocked(server) β‡’ Promise.<Boolean>

Checks if a minecraft server url / ip is blocked

Kind: global function Returns: Promise.<Boolean> - True / False

Param Type Description
server String Server Url / Ip

nameToUuid(player_string) β‡’ Promise.<Object>

Get the UUID from a minecraft player name

Kind: global function Returns: Promise.<Object> - {name, uuid}

Param Type Description
player_string Object Player Object or a Uuid as a string

uuidToName(player_string) β‡’ Promise.<Object>

Get the Player Name from a minecraft player UUID

Kind: global function Returns: Promise.<Object> - {name, uuid}

Param Type Description
player_string Object Player Object or a Uuid as a string