Releases: kennethrisa/discord-rustserverstatus
v1.2.0 - discordjs api v14 and nodejs v16.x
Breaking change
Node version ^16.9 and discordjs version 14.x
If using RCON - The bot requireds to allow "Message content intent" - You will find this in discord developer portal -> Applications -> Bot Name -> Message Content Intent
- Updated Dockerfile to use image node:16.
- Replaced sourcequery to gamedig (Thanks AustrixDev for PR).
- Updated discordjs to v14 api.
v1.1.1 - hotfix rcon
Hotfix for rcon not working correctly
v1.1.0 - Added support for statusType "WATCHING"
- Added support for statusType like "WATCHING"
Add this to your config to change from "Playing" to "Watching"
"statusType" : "WATCHING"
If you have anything else or "empty" like this: it will have "Playing" as status.
"statusType" : ""
v1.0.1 - Allow all games on battlemetrics
- Allow all games on battlemetrics that has no queue in rest api.
Thanks for the PR from pridit
v1.0.0 multiple bot support
Release log
v1.0.0 09.05.2020:
BREAKING CHANGES:
- Requires node >= 12
- New config setup (Config are now stored in config/serverX.json) where X = number of server 1-10
- Support up 10 discord bots
- Updated Docker file to node 12-slim
Upgrade from v0.2.0:
Download latest zip file from here
Backup your config.json file.
copy your config.json to a new folder config/server1.json
Overwrite the existing files with the files from the download zip file.
run npm start
Remember to have upgraded to the latest nodejs version 12!
start your application running:
npm install
npm start
To create multiple bot, you copy your config server1.json to server2.json
Example tree of config:
discord-rustserverstatus
└───config
│ │ server1.json
│ │ server2.json
│ │ server3.json
│ │ server5.json
│ │ server6.json
│ │ server7.json
│ │ server8.json
│ │ server9.json
│ │ server10.json
If you are running docker, it will start as normal.
if you want to use more than 1 bot on docker, you will need to provide volume to docker.
Create the alle the config files you need, see example_config.json
- ./config:/usr/src/app/config
v0.2.0 - Sourcequery added
- Added sourcequery (#26) by wallopthecat
- Added Azure CI pipelines
v0.1.0 - added support for BM que
Thanks for pull request for BM Que.
If BM shows that you have que, it will now also show it on bot.