Queries a Minecraft server instance and sends the playercount as metric to Instatus to visualize your server's playercount on your Instatus page.
As seen on MCC's status page.
A Docker image is available at ghcr.io/noxcrew/instatus-minecraft:latest. Configure it with the environment variables below.
- INSTATUS_PAGE_ID: The unique identifier for the Instatus status page.
- INSTATUS_METRIC_ID: The unique identifier for the metric to update on Instatus.
- INSTATUS_TOKEN: The authentication token used to access the Instatus API.
- MC_SERVER_IP: The IP address of the Minecraft server to monitor. Defaults to "play.mccisland.net".
- QUERY_INTERVAL: The interval (in seconds) between server status queries. Defaults to "30".