🕵️‍♂️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

// Get leaderboard example
const rolimons = require("rolimons")

rolimons.players.getLeaderboard(1).then(function(data) {
    // data[0] means the first, topmost user in that page
    console.log(data[0].name, "is the", data[0].rank, "rank")
})

// Output: Roblox is the #1 rank
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