Verdansk Game Bot image

Verdansk Game Bot

Project Overview

A cross-platform Discord bot for monitoring game server status, utilizing Node.js gamedig library to query servers and Discord.NET for bot interactions. Supports multiple game types with real-time status updates in Discord channels.

Skills Used

C# / .NET Discord.NET (REST & WebSocket) Entity Framework Core / SQL Node.js (gamedig integration) Background services / monitoring

Overview

Verdansk Game Bot is a self-hosted Discord bot designed to monitor game server status and report it directly in Discord text channels. Built with .NET for cross-platform compatibility, it leverages the node-gamedig library to query game servers and Discord.NET for seamless Discord integration. Game servers are stored in an SQL database using Entity Framework Core, enabling persistent watch lists and multi-threaded monitoring.

The bot supports slash commands for adding, listing, changing, and removing game servers from the watch list. It periodically checks server status (online/offline, player count, etc.) and updates the message embed in Discord.


Features

  • Multi-Game Support: As supported by gamedig (e.g., Project Zomboid, Valve games, etc.)
  • Real-Time Monitoring: Configurable update intervals for checking game server status
  • Interactive Embeds: game server details, player counts, join links
  • Persistent Storage: SQL database for storing game servers list
  • Cross-Platform: Windows, Linux (Service-mode), and macOS
VerdanskGameBot Mini Dataset Detectron2 Results

Technical Implementation

Architecture

The bot consists of several key components:

  • CommandService: Slash commands and modal interactions
  • GameServerWatcher: Periodic game server queries and status updates
  • GameServerModel: Entity Framework model for database operations
  • EF Core Migrations: For managing SQL database schema changes

Key Technologies

  • Discord.NET: Discord API
  • Entity Framework Core: ORM for SQL database
  • Node.js gamedig: Game server querying via NodeJS interop
Detectron2 Results Detectron2 Results


This description is written with help of AI tools, but the project IS NOT. You can verify the source codes via the provided links where available.