fivem-serverstatsbot
A discord bot that posts server status and player count to a designated channel.

Important
I have NO intention of providing support for this outside of bug fixes, and don’t have any plans on expanding on this bot/repo. I just figured I’d throw it on github incase anyone here actually want’s to use it as it stands, or expand upon it themselves.
Information
I played with the discord.js lib awhile ago, but never did much with it. I decided the other day to really take the time to learn the lib, and ended up making this bot yesterday as a way to play around with embeds.
I have listed all instructions inside the repo’s readme to get the bot up and going.
6 Likes
Difference between TxAdmin and this?
Tbh I didn’t even know txadmin had discord related features. 
I never really used it when I was still developing fivem things.
I guess nothing then. Aside from being able to expand on this maybe??
Would be top tier if you could add a job list to show that police are online, maybe not a number just a green circle to indicate jobs online, or even a check to see if x cops are online then bank robbery is green. Things like that would be epic.
There are only 2 viable ways to do this.
- Run the bot as a resource itself.
- Add an api to it that a resource could POST to.
Both ways require testing within FiveM itself, and not possible for me since I run linux.
I figured this would be more of an example to use to make your own bot with more flushed out features.