discord-js-bot
discord-js-bot copied to clipboard
Related to CFX Stats
Please Add CFX stats in presence.js using cfx-api like
client.user.setActivity({
name:`Players: ${liveServer.playersCount}/${liveServer.maxPlayers}`, type: 'WATCHING'
});```
Make a request where you get the json info from <fivem-server-ip>:30120/info.json
and then get the max and player count from their.
Maybe i share my cfx command code
@Anonghost720 sure thanks
so far is looking like this https://i.imgur.com/jkTmosU.png
@Anonghost720 can you send me the code or Api
Is not an api i just coded it using parsing whatever server json files
I can show u what i did if need it
@Anonghost720 yes plz send it to me
I can show u what i did if need it
yes please
I will, sorry i been busy, i also need your help with something, what's your discord?
I will, sorry i been busy, i also need your help with something, what's your discord?
What's up?