FiveM Discord Bot
The FiveM Discord Bot is a Discord bot which shows a playerlist and status for FiveM Servers.
How it Works
The bot runs off of a privately-hosted server and is build on a Node.JS framework running (you guessed it) Javascript.
Commands
-status
or -s
for short returns the full playerlist for the server. It also displays a link called connect which connects you to the server through a browser opening the FiveM application. Here you can see the command being used to check the playerlist of TXDPS-RP:
-id <player id>
can be used to get the status of individual players on the server. Information includes the Ping in milliseconds between the player and the server, and any linked profiles the user may have such as the Steam profile in the following example:
Conclusion
Although this was a fairly simple project, it is a useful one that I continue to use to this day. The current version of this project is not available on GitHub, but you can view the source of an older version of the bot back when it used to be hosted on Heroku: