ONLINE

statusbot

discord.py

just a bot which monitors gameservers and allows to query the gameserver via commands

Created By: msniveau# 0719

introduction

this bot just prints the server details of a lot of different games. for example arkse (pc, xbox, ps4), reign of kings, almost all steam games (css, csgo, arma2, arma3) and some other special cases like eco, battlefield, ...

for that I've build a little query service because i'm not allowed to publish the whole query code in some cases, this endpoint is public and you can find the documentation here. feel free to build your own bot or use that service for everything you want.

commands

prefix syntax example description
!nick !nick {somenick} !nick querybot sets the nickname of the bot
!servers !servers !servers print all available servers (tags)
!status !status {tag} !status mysrv prints the current server status (@formatting: status)
!status {tag} all !status mysrv all print all information about this gameserver
!print !print {tag} !print mysrv prints the current config of "mysrv"
!monitoring !monitoring {tag} {true/false} !monitoring mysrv true enables / disables the monitoring of this server stauts, changes will be reported to the channel this command was executed in
!format !format {type} {status} {format} !format status online servername: {server_name} further details below
!addserver !addserver {tag} [game] {ip} {port} !addserver myark arkse 123.123.213.123 27016 add a gameserver
!delserver !delserver {tag} !delserver myark deletes a gameserver

formatting

general information

the message formatting differs between monitoring/status and online/offline for setting the message format for monitoring + offline (server status changes from online to offline while monitoring is enabled) you can use a command like that:

!format monitoring offline general Oh my god, the gameserver {tag} is offline!

this would set the general monitoring formatting to the message defined. but you can also define specific formats for some games (because it may provides more information or something like that). for that you just need to replace "general" by the game you want. for example:

!format monitoring offline arkse Oh my god, the ark-gameserver {tag} is offline!

variables

there are a few variables possible. most of them are related to the query result. for getting available variables just use the command "!status [tag] all" command. this should result in something like that:

server_name = my fancy gameserver
map = de_dust2

you can just use the key as formatting variable. for example:

!format status online csgo The csgo named {server_name} is up and running on {map}!

if you don't know how it works exactly feel free to join my support discord, there are a few usage examples as well.