A Web Service that monitors multiplayer game data from Battlezone II: Combat Commander, curated specifically for VSR games hosted by the BZ2 Vet Strat Discord community. Inspired by bz2vsr.com.
Relies on the MultiplayerSessionList API by Nielk1 (Github | Twitter).
- Uses Discord Webhooks for communication
- Polls the BZ2 multiplayer API at configurable intervals
- Maintains session history for accurate status tracking
- Handles both Steam and GOG player identifiers
- Includes enhanced VSR map data
- Python 3.7+
- python-dotenv
- aiohttp
- watchdog
WARNING: add your .env file to .gitignore to avoid exposing your webhook URL. Anyone with your webhook URL can post to your channel.
- Clone or download this repository.
- Install dependencies with
pip install -r requirements.txt - Create a file called
.envin the root directory and add this lineDISCORD_WEBHOOK_URL=<your_webhook_url> - Configure the
NOTIFICATION_TAGandMONITORED_STEAM_IDSvariables inconfig.pyto fit your needs. - Run the bot
python main.py
NOTE: run.py runs main.py in a wrapper that will automatically reload the bot if any changes are made to the code. This is useful for local development, and may also be useful in production depending on your server setup.
