TDX LeaderboardsConfiguration
general
Update interval, leaderboard size, storage backend selector, debug toggle.
The general block is the smallest section in config.yml but the one
that decides how the rest of the plugin behaves at runtime.
Quick example
general:
storage: sqlite # sqlite | mysql
update-interval: 60 # seconds between board refreshes
top-n: 10 # rows shown in every board GUI
debug: falseThat's the entire block on a default install. For most servers, the defaults are correct.
Reference
| Key | Type | Default | What it does |
|---|---|---|---|
storage | string | sqlite | Storage backend selector. sqlite or mysql. Reload does not switch. |
update-interval | int | 60 | Seconds between board refreshes. Lower = more current, higher = lighter. |
top-n | int | 10 | How many rows each board GUI shows. Affects every board. |
debug | boolean | false | Verbose logging to latest.log and per-day file under logs/. |
Tuning notes
update-intervaltrades freshness for CPU. On a 100-player server, 60 seconds is invisible. Below 10 seconds you'll start to see the update task in/timings.top-naffects the GUI layout and the per-board cache. Bumping it from 10 to 25 is fine; bumping it past 50 starts to chew memory and slow down the click handlers.debugis safe to leave on temporarily. It does not spam chat — output goes to the log only.
Switching storage from sqlite to mysql (or back) is not
reload-safe and does not migrate data. See the
Storage page for the migration
procedure.