Repository navigation
Website
Design stage. Nothing here is implemented.
Served by Caddy over HTTPS. Static pages plus a small read-only API on loopback.
A version selector across the top — 26.1, 26.2, 26.3 — and for the selected version:
- The mod list: name, category, and a link to the original mod page.
- Server state: running, starting, or down.
- Latency: the visitor's measured round-trip time to the host.
The visual treatment carries over the glass design from the previous site. The stylesheet survives at Server App/caddy/site/public/assets/site-theme.css on the archive/v1 tag, along with the hero imagery, so it can be lifted rather than rebuilt.
The list is rendered from the deployed modset, not from the sheet. The sheet says what someone wants; the modset says what is actually loaded. A visitor asking "what's on this server" deserves the second answer.
Categories come from the provider's own taxonomy — Modrinth and CurseForge both expose them — with the sheet's Category column winning when set.
| State | Shown as |
|---|---|
running |
Player count and uptime |
starting |
Restarting after a deployment |
down |
Not answering — crashed, or stopped for maintenance |
Status is read by querying each Minecraft server directly over the Server List Ping protocol on loopback. One query returns liveness, player count, maximum players and the MOTD, and it exercises the same path a real client uses.
This matters more than it looks. A manager reporting its own server's health fails exactly when the thing you want to detect has gone wrong; a server hung in a way that still satisfies an internal health check will still fail an actual ping. The status shown to visitors should come from the same channel a player would use.
A browser cannot ping a Minecraft port. It has no ICMP and no raw sockets. Any page claiming to display true Minecraft latency is measuring something else and labelling it wrongly.
What is genuinely measurable is round-trip time to the same host over HTTPS. Since the web server and the Minecraft server are the same machine, it is the same network path and a good proxy — typically within a millisecond or two.
Mechanism:
-
GET /api/pingreturns204 No Content,Cache-Control: no-store, and aServer-Timingheader carrying the server's own processing time. - The page takes about seven samples with
performance.now(). - The first sample is discarded — it pays for TCP and TLS setup.
- The server-reported processing time is subtracted from each remaining sample.
- The median is displayed, not the mean; a single scheduling hiccup should not move the number.
Label it "your latency to the server host", not "ping to the Minecraft server". The measurement is good; the claim should match what was measured.
Read-only, no authentication, no client writes. Everything it exposes is already public information.
| Endpoint | Returns |
|---|---|
GET /api/versions |
The three Minecraft versions with state, player count, uptime |
GET /api/versions/{v}/mods |
Deployed mod list with name, category, source URL |
GET /api/ping |
204, with Server-Timing
|
v1 had an authentication asymmetry — client endpoints required a bearer token while control endpoints did not — which contradicted its own written contract. Keeping this API strictly read-only and unauthenticated avoids reintroducing that class of problem: there is no privileged operation to accidentally leave unguarded.
Any future operator actions belong on a separate, authenticated surface, not bolted onto this one.
Design stage — not implemented
Design
Validation
Trust
Interfaces
Operations
Project
Reference