Egg Repository

Pterodactyl Community Egg Repository

Game Server Watcher

A simple discord/telegram/slack bot that can be hosted on a free service to monitor your game servers and players in style. 😎

Read Me

Game Server Watcher

From Github

A simple discord/telegram/slack bot that can be hosted on a free service to monitor your game servers and players in style. 😎

Screenshots

Running the bot

Refer to the wiki on how to acquire tokens for:

Server Ports

GSW Control Panel requires one port for http traffic.
(It can be any port.)

Port default
Web 8081
Yolks
NameTag
Node.js 20ghcr.io/ptero-eggs/yolks:nodejs_20
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
SECRETAdmin secretSECRETYesYes
DATA_PATHWritable folder for data storageDATA_PATH./data/YesYes
REFRESH_TIME_MINUTESGame server info refresh interval in minutesREFRESH_TIME_MINUTES2YesYes
DISCORD_BOT_TOKENDiscord bot tokenDISCORD_BOT_TOKENYesYes
TELEGRAM_BOT_TOKENTelegram bot tokenTELEGRAM_BOT_TOKENYesYes
STEAM_WEB_API_KEYSteam web API keySTEAM_WEB_API_KEYYesYes
Debug ModeEnable or disable debug mode.DBG0YesYes
SLACK_BOT_TOKENSlack bot tokenSLACK_BOT_TOKENYesYes
SLACK_APP_TOKENSlack app tokenSLACK_APP_TOKENYesYes
Install Script
#!/bin/bash

apt-get update && apt-get install ca-certificates git -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages


cd /mnt/server

git config --global --add safe.directory /mnt/server
git clone https://github.com/a-sync/game-server-watcher.git . || git pull


npm install --no-save && npm update gamedig && npm run build
npm prune --omit=dev


## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"