murka Posted August 10, 2019 Share Posted August 10, 2019 (edited) Install: npm npm i @ragemp-tools/online@beta const { peak, online, servers } = require('@ragemp-tools/online') peak().then(console.log) // output: peak online online().then(console.log) // output: online now servers().then(console.log) // output: servers // Definition; async Function(): Promise<any> Edited August 10, 2019 by murka add npm i 1 Link to comment Share on other sites More sharing options...
murka Posted August 10, 2019 Author Share Posted August 10, 2019 Install: npm npm i @ragemp-tools/server@beta const { server } = require('@ragemp-tools/server') server('1.1.1.1:11111').then(console.log) // output: // { // name: 'Test Server', // gamemode: 'testplay', // url: 'mur.cx', // lang: 'ru', // players: 1109, // peak: 1109, // maxplayers: 1109 // } // Definition; async Function(): Promise<any> 1 Link to comment Share on other sites More sharing options...
Chainksain Posted May 6, 2020 Share Posted May 6, 2020 (edited) what is this? Edited May 6, 2020 by Chainksain Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now