A personal fork of skTrace by Kalpe. skTrace is a Skript aware profiler that surfaces which scripts, triggers, and events are eating tick time. The original work and idea are his.
Support the official plugin: https://sktrace.kal.pe/
This fork exists for our own server's needs and adds some experimental pieces on top of skTrace:
- Long term storage. Profiler deltas drain into an embedded SQLite database every few seconds so history survives restarts and can be queried by time window, instead of holding everything in memory or writing one large report file. Old rows are rolled up to coarser resolution over time, then purged, so the database stays bounded. The SQLite driver is downloaded on first start rather than bundled, keeping the jar small.
- Mergeable latency histograms per bucket, so percentiles (p95/p99) stay correct when old data is downsampled.
/skr quickstatsfor a quick now / 5m / 15m glance, and/skr healthreportfor a deeper store backed view with a health verdict and the worst triggers over a window.
If you want the maintained, supported version, use the official skTrace. This repository is provided as is.
build.ps1 compiles against the Paper and Skript versions the server runs and writes the jar to
target/. It bumps the patch version on each run (use -NoBump to rebuild the same version).
skTrace and its original source are by Kalpe: https://sktrace.kal.pe/
This is an extension of an already well made plugin, not a successor or a reimplementation.
Kalpe is free to take any of the work in this fork into skTrace. Anything here not already owned by Kalpe is theirs to use, with no permission or attribution needed.