๐Ÿ•ต๏ธโ€โ™‚๏ธPlayers

rolimons.players

.getPlayer(<int> ID)

Gets info about the player (must be registered on Rolimons)

Example usage

// Get Player Example
const rolimons = require("rolimons")

rolimons.players.getPlayer(540074852).then(function(player) {
    console.log(player.name + "'s last location was " + player.last_location)
})

// Output: SHlAWASE's last location was Website

success <boolean>

If operation is successful returns true, returns false if the player doesn't exist in their database.

name <string>

User's name

value <int>

User's value

rank <int>

User's leaderboard rank, returns null if they're not ranked

premium <boolean>

Is user premium (?)

privacy_enabled <boolean>

Is private inventory

terminated <boolean>

Is terminated

stats_updated <id> <UNIX TIMESTAMP>

Last time stats were updated

last_scan <id> <UNIX TIMESTAMP>

Last inventory scan

last_online <id> <UNIX TIMESTAMP>

Last online

last_location <string>

Last location

rolibadges <array>

Array of the user's rolibadges

.getLeaderboard(<int> page>

Returns an entire page of the leaderboard

Example Usage

Returned Value
Description

id <id>

User's ID

name <string>

User's name

rank <string>

User's rank

value <string>

User's value

rap <string>

User's RAP

Last updated