Skip to content

vaughnw128/mc-status-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mc-status-rs

This is a minimal discord bot for an SMP server that I play on with my friends. It lets us check the server status in Discord to see how many players are on, what the ping is, what the IP is, etc.

The program is written in Rust and Dockerized via Github Actions to run on my Kubernetes cluster and deployed with ArgoCD.

Three values need to be provided to the environment:

DISCORD_TOKEN=<Discord token>
MC_SERVER_IP=<Minecraft server IP>
MAPS_ADDRESS=<Address to bluemaps webserver> # Optional

Afterwards, the bot can be run inside of the docker image:

docker run -d ghcr.io/vaughnw128/mc-status-rs:<release-number>