A simple web app that provides a web frontend for the
mcstatusapi API.
(which it wraps the
mc-utils' pinging functionality in a simple API)
All it does is do the ping (using the mc-utils implementation) and handle the internet-facing part of the job. Namely:
- Do the ping if necessary, or use the cache
- Cache the response if its not
- Rate-limit each client
It's available at https://mcstatus.texturawasd.net/, try it.
It's also available at https://api.texturawasd.net/v1/mcstatus/.
Give it a ?server=host[:port] and it'll reply.
For example, with ?server=mc.hypixel.net, the reply is:
{
"server": "mc.hypixel.net",
"online": true,
"host": "mc.hypixel.net",
"port": 25565,
"version": "Requires MC 1.8 / 1.21",
"protocol": 47,
"players": {
"online": 22315,
"max": 200000
},
"motd": "§f §aHypixel Network §c[1.8/26.3]\n§f §6§lSKYBLOCK 0.27.1 TORRHUS ? SAFARI",
"motd_clean": " Hypixel Network [1.8/26.3]\n SKYBLOCK 0.27.1 TORRHUS ? SAFARI",
"latency_ms": 173,
"cached": false
}