Skip to content

kennethrisa/discord-rustserverstatus

Repository files navigation

Discord bot that displayes online players

Docker Automated build Docker Pulls Docker Build Status Build Status

Discord-bot

Bot

Updates activity status on discord bot and displays how many players are connected to your game server that support gamedig / rest api sites and webrcon.

This was first created for the game Rust, but it also now support any games that support gamedig or from rest api from the sites below.

Written in nodejs and requires npm and nodejs version ^18.09.

You can run it on windows, macOS, linux or docker, se the installation for more info.

  • gamedig (All games)
  • Supported api sites:
  • rust-servers.net
  • battlemetrics.com (All games)
  • Bot update status every 1 minutes (or configured x min in config)

Changelog

Changelog

Configuration

example_config.json

Location: config/serverX.json (default on first startup: config/server1.json)

{
  "debug": false,
  "token": "",
  "apiSite": "4",
  "apiUrl" : "https://full uri here",
  "serverIp": "",
  "serverPort": "28016,
  "queueMessage": "currently waiting in queue.",
  "updateInterval": "1"
}

Install - Check our wiki

Wiki

Create your discord-bot and invite it to your server:

About

Updates activity status on discord bot and displays how many players are connect to your rust server from rest api

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •