Arma server monitor discord botby
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.
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
Installation / Usage:
For usage instructions and information of how to use the Arma server monitor discord bot please refer to the included documentation and/or example mission.
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.
This bot requires node.js and a discord bot
None at this time, I'm open to feature requests but I'm not guaranteeing that I'll have time to do them.
Please report bugs here or on the issue section of the above linked gitlab.
License / Disclaimer:
This work is licensed under Apache License 2.0, full license included.
updated outdated config
- discord bot
- BI forums