[Release] FiveM Bot - Monitor your FiveM Server Easily

FiveM Discord Bot - Monitor your FiveM Server easily.

Status Upvotes Servers Owner
Discord Bots Discord Bots Discord Bots Discord Bots

All New FiveM Monitor Functionality - it tells you when your FiveM Server goes online/offline!

FiveMP

No Advanced Setup Required!

FiveM Bot is a discord bot by Zua that makes monitoring your FiveM server easily.

Set-Up

  1. Invite the bot

  2. In any channel, type $set <serverAddress:Port> (example: $set 82.252.125.20:30120)

  3. The Bot is now setup, do $help to see all the commands


Commands

$help Sends Help Embed

$set <serverAddress:withPort> - Sets the IP of the FiveM Server for the bot

$players - Gets the current player list of a server

$info - Gets all information of a server

$hide - Enables/disables (toggles) server IP address from being shown in bot messages

$find <username> - Finds a user that is on the server via Username

$id <id> - Finds a user that is on the server via Server ID

$status - Checks the current status of the server

$status - Checks if the server is online

$stats - Checks bot statistics

$forum - Checks the current categories on https://forum.fivem.net/

$forum <category> - Displays the latest topics in the respective category on https://forum.fivem.net/

$forum search <search terms> - Searches terms on https://forum.fivem.net/

$forum user <username> - Displays user’s profile info on https://forum.fivem.net/

$save-log <person's server id> - Saves a player’s information

$get-log - Gets a player’s information (per guild)

$monitor set <#channel> - Sets a channel to send updates about the status of your FiveM Server in real-time

$monitor - Sends monitor help information.

$monitor toggle - Enables/disables (toggles) real-time updates being sent to the specified channel

$monitor mode update - Change monitor mode to update - where the bot will send you updates every 13 minutes. Demonstration

$monitor mode default - Change monitor mode to default - where the bot will send you updates whenever your server goes offline/online (state change). Demonstration

$rcon help - Sends RCON help information.

$rcon set <rcon_pwd> - Sets the guild’s RCON server password

$rcon <query_commands> - Executes an RCON Command remotely to your FiveM Server.


Tutorial/Demonstration

Tutorial

or Click Here

Note this is a bit out of date.


Discord Bots

Optional Installation (Advanced Users)

This bot is ran by node.js using the discord.js library.

Make sure you have NodeJS installed.

  1. Download Here.
  2. Run setup.cmd and follow the prompts
  • If you aren’t able to execute bat files then cd into the directory of the bot and type:
npm i
# then after that is done, type:
npm run build
  1. Run the run.bat file or do (in the cmd line):
node fivem.js

FAQ

Error Solution Example
Error: Invalid URI Set the FiveM server URL correctly: No <> symbols and no spaces between the port and No http:// $set 69.20.156.100:30120
FetchError: invalid json response body [...] reason: Unexpected token in JSON Please use your direct IP address, not the cfx.re shortened URL DO NOT: $set cfx.re/join/wjhe2g:30120 ← that is not your IP, INSTEAD DO: $set 69.20.156.100:30120 ← using your own IP
26 Likes

kewl, just so you know, latest commits enabled you to use discord.js directly on the server, it could allow you to do something even cooler :smiley:

2 Likes

Neat implementation.

This is being used on HighLife roleplay and should help out staff massively, if I can think of anything, I’ll be sure to let you know

:+1:

1 Like

Oh nice, What was the update?

I recommend removing the ip identifier, this is can be used to ddos someone else by putting the server ip and search for the guy if he is online

Very nice release ill give it a go :slight_smile:

1 Like

All that data is public and anyone can find it.

and youre doing the job for them LOL

its a great bot but the ip identifier shouldnt be there

I mean, you are correct. It does make it easier to see all the person’s info, but its still fairly easy to do that w/o the bot
http://<serverIP:withport>/players.json

aint hard to remove it? if you say if it is easy to add, shouldnt be hard to remove

and Im not sure, but in EU, you cant share that type of information just like that, NOT SURE


Some people may not have steam:ids and all it would create complications (other words im a lazy kid)

think like this, you have a popular server, always full, and someone creates a discord bot, that can config your server ip into the bot and get your personal information, would you like, in the middle of a stream, with your server full, YOU getting ddos?!

Then make sure the server owner enabled endpoint privacy. Simple as that.

4 Likes

This is a great release. Keep up the good work.

1 Like

Another lit release, keep it up Zua!

1 Like

Is there a possible way to remove a server after you have set it to a discord?

It doesn’t remove, but it replaces the guild FiveM Server when you do #set

OK, so you can only set one server at a time?