1.5.0 • Published 4 years ago
fivem-server-stats v1.5.0
fivem-server-stats
A package to get the stats of a fivem server (like player count)
Examples
1. getPlayerLength()
const fivem = require("fivem-server-stats")
fivem.getPlayerLength('ip:port').then((data) => console.log(data))
2. getPlayers()
const fivem = require("fivem-server-stats")
fivem.getPlayers('ip:port').then((data) => console.log(data))
3. getInfo()
const fivem = require("fivem-server-stats")
fivem.getInfo('ip:port').then((data) => console.log(data))