
noblox.js Home
About noblox.js is an open-source Roblox API wrapper written in JavaScript (with TypeScript compatibility) as a fork from sentanos's roblox-js module.
noblox.js Global
Example const noblox = require ("noblox.js") // Login using your cookie noblox.acceptFriendRequest (123456)
noblox.js Authentication
To use your cookie with noblox, you will have to use the setCookie method. This will use your cookie in all requests sent to Roblox to perform actions on your bot's behalf. You should store your cookie …
noblox.js Promises
For example, if we want to get a user's rank, we want to wait for Roblox to reply with their rank before continuing the execution of our code. How do you use Promises?
noblox.js Event Emitters
You can use an EventEmitter created by noblox by calling a function that returns an EventEmitter, and calling .on (event, callback). 3 events used by noblox are "data", "connect", and "close".
noblox.js lib/client/setCookie.js
* @example const noblox = require("noblox.js") * noblox.setCookie("cookie").then(function() { * //your code here * }) **/ exports.func = async function (args) { // verify it if …
noblox.js VPS Authentication
From now on, you MUST be connected through the SSH Tunnel to access the Roblox account. Failing to do so will violate the IP check and invalidate your cookie.
noblox.js lib/asset/uploadItem.js
* @example const noblox = require("noblox.js") * const fs = require("fs") * // Login using your cookie * await noblox.uploadItem("A cool decal.", 13, fs.createReadStream("./Image.png")) **/ // Define …
noblox.js lib/users/getIdFromUsername.js
* @returns {Promise<number> | Promise<number[]>} * @example const noblox = require("noblox.js") * let ids = await noblox.getIdFromUsername(["ROBLOX", "Qxest", "builderman"]) **/ // Define function …
noblox.js lib/util/getCurrentUser.js
DEPRECATION_WARNING: '[DEPRECATED]: noblox.getCurrentUser() is deprecated; use getAuthenticatedUser(), getPremium(), getThumbnails(), or getUserFunds() instead!'