Jump to content
stanhope

Arma server monitor discord bot

Recommended Posts

Arma server monitor discord bot

I recently made a discord bot that is able to monitor arma server to check if they go down.  Additionally it also allows user to check the amount of players on server etc.  There are other noteworthy features that are mentioned bellow.  In this post I'm providing the source code for this bot so you can host your own bot doing this.

 

Features

  • Support for an unlimited amount of arma and teamspeak servers
  • Pings admins if one of those servers goes down
  • The ability to turn those pings of for servers dynamically
  • Logging for the number of players on those servers (can be turned on or off for every individual server)
  • The ability to change how often the status of those servers should be checked
  • The ability for users with certain roles to launch certain queries to those servers
  • The ability for users with certain roles to execute admin level commands (change if a server will ping if it goes down, add/remove yourself from the list of users that will be pinged, ...)
  • The ability to alter the config without having to restart the bot
  • The ability to mute all down pings between 2 given hours (for scheduled restarts)
  • The bot is restricted to 1 channel
  • A timeout between pings for the same server being down

 

Usage

This is simply source code, this is not a bot you can add to your server.  You need to create your own bot and host this code.  To create a bot I suggest googling 'how to create a discord bot', at the time of writing there are several very good tutorials available.  To host the code; download the source from the link provided bellow,  open the readme and read through it carefully, edit the config.json in the \src\config directory (there is a configExplenation.txt available in the same directory with some extra explanation on what each value is/does) and finally start the bot up using the commands provided in the readme.

 

Requirements

This bot requires node.js and a discord bot

 

License

This work is licensed under Apache License 2.0, full license included on the gitlab.

 

Download

You can download the source code here

 

Bugs

Please report bugs here or on the issue section of the above linked gitlab

 

Planned features

None at this time, I'm open to feature requests but I'm not guaranteeing that I'll have time to do them. 

 

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×