A single-file Flask web application to query and show Java Minecraft servers status.
- Check if a Minecraft Java server is online
- Show server MOTD
- Show player count
- Show server version
- Show server icon
- Show ping latency
- Python 3
- Flask
Run the app:
python minecraft_server_status.pyThen open this URL in your browser:
http://127.0.0.1:5000
You can also use the API directly:
/api/status?server=example.org
Example response:
{
"ok": true,
"address": "example.org:25565",
"latency_ms": 42,
"description": "A Minecraft Server",
"version_name": "1.20.4",
"players_online": 5,
"players_max": 20
}MIT