A simple discord/telegram/slack bot that can be hosted on a free service to monitor your game servers and players in style. 😎
A simple discord/telegram/slack bot that can be hosted on a free service to monitor your game servers and players in style. 😎
Refer to the wiki on how to acquire tokens for:
GSW Control Panel requires one port for http traffic.
(It can be any port.)
Port | default |
---|---|
Web | 8081 |
Name | Tag |
---|---|
Node.js 20 | ghcr.io/ptero-eggs/yolks:nodejs_20 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
SECRET | Admin secret | SECRET | Yes | Yes | |
DATA_PATH | Writable folder for data storage | DATA_PATH | ./data/ | Yes | Yes |
REFRESH_TIME_MINUTES | Game server info refresh interval in minutes | REFRESH_TIME_MINUTES | 2 | Yes | Yes |
DISCORD_BOT_TOKEN | Discord bot token | DISCORD_BOT_TOKEN | Yes | Yes | |
TELEGRAM_BOT_TOKEN | Telegram bot token | TELEGRAM_BOT_TOKEN | Yes | Yes | |
STEAM_WEB_API_KEY | Steam web API key | STEAM_WEB_API_KEY | Yes | Yes | |
Debug Mode | Enable or disable debug mode. | DBG | 0 | Yes | Yes |
SLACK_BOT_TOKEN | Slack bot token | SLACK_BOT_TOKEN | Yes | Yes | |
SLACK_APP_TOKEN | Slack app token | SLACK_APP_TOKEN | Yes | Yes |
#!/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 "-----------------------------------------"