Discordbot that showing the player count

You can use fetch. FiveM Server has api with player list and server data.

URL’s:

http://ip:port/dynamic.json - this json returning minimal data (server name, players, max players etc.)
http://ip:port/players.json - this json returning players with info (nick, ping, identifiers etc.)
http://ip:port/info.json - this json returning server data from fivem list (tags, logo etc.)

1 Like

Did you ever figure this out? Im currently trying to make this happen as well.