Little Flask-ui for small Minecraft teams, allowing time and weather changes, and teleporting players to each other, using only rcon.
Everything for minecraft of coarse. we're using mc server container and docker-compose
# stop any previous compose service
docker compose down
# launch the compose service
docker compose up -d
# install python requirements
pip3 install mcrcon flask apscheduler requests
# add as service
sudo systemctl enable --now ${PWD}/McServerCompanion.service
# verify py RCon
import socket
from mcrcon import MCRcon
mcr = MCRcon( socket.gethostname(), "changeme_iam_a_password")
mcr.connect()
print(mcr.command("say hi"))
print(mcr.command("list uuids"))