
TickScope
Prometheus metrics for Paper servers in a lightweight plugin with zero runtime dependencies. Exact MSPT percentiles, per-world entity and chunk counts, JVM and CPU stats, ready for Grafana.
Список изменений
Wider version support
One jar now covers Paper 1.18.2 through 26.2. The build targets Java 17, which is Minecraft 1.18's own runtime requirement, so there is no version-specific code and no meaningful change in size.
Verified against real 1.18.2, 1.19.4, 1.20.6, 1.21.4 and 26.2 servers: identical metric families, identical label values, no startup warnings.
Optional bearer auth on the endpoint
auth-token in config.yml now requires Authorization: Bearer <token> on every scrape. It is empty by default, so nothing changes for an existing install. The comparison is constant-time and a refused scrape gets an empty body.
This is not confidentiality — the endpoint is plain HTTP. Put a TLS-terminating reverse proxy in front if the scrape path leaves a network you control.
Fixed
Entity type labels are now the Minecraft registry name rather than the Bukkit enum name. Bukkit realigned the enum with the registry in 1.20.5, so on older servers 18 of 114 entity types were labelled differently — including dropped_item, now item everywhere. No effect on 26.2, where the two already agree.
Upgrading
Drop the new jar in and restart. No configuration changes required.
