Skip to content

Velyn-N/Minecraft-Server-Activity-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Server Activity Monitor

Poll Minecraft Servers for their online player count

Features

  • Monitor the player activity of multiple Minecraft Servers using mcstatus.io API
  • Supports multiple Storage Backends: CSV, Databases coming soon
  • Highly configurable with Environment Variables
  • Web UI for Server Management and rudimentary Data Viewing
  • Fully documented REST API to be integrated into your stack
  • Easy Deployment using Docker

Deployment

Run the Application using Docker:

docker run -d \
  --name mc-monitor \
  --restart unless-stopped \
  -p 8080:8080 \
  -e TZ=Europe/Berlin \
  -v $(pwd)/data:/app \
  ghcr.io/velyn-n/minecraft-server-activity-monitor:latest

Or Docker-Compose:

services:
  mc-monitor:
    image: ghcr.io/velyn-n/minecraft-server-activity-monitor:latest
    restart: unless-stopped
    ports:
      - "8080:8080"
    environment:
      - TZ=Europe/Berlin
    volumes:
      - "./data:/app"

Ensure the Files in /app are writable by the container

!!! Always remember to set the Timezone !!!

Configuration

The following Configuration Properties can be used to configure the application:

Property Environment Variable Default Value
storage.file.servers STORAGE_FILE_SERVERS /app/servers.csv
storage.file.activity.records STORAGE_FILE_ACTIVITY_RECORDS /app/activity-records.csv
scheduler.server.check.cron SCHEDULER_SERVER_CHECK_CRON 0 * * * * ?

API Documentation

OpenAPI and Swagger UI are included and available at runtime:

Further Information

Usage with Dashboards

About

Poll Minecraft Servers for their online player count

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors