Overview · Getting started · Commands · Configuration · Animations · Quest guidance · Java API
Source scope: Trails 1.6.6, reviewed 24 October 2026. Paper 1.20–26.2 and available Folia 1.20.1–26.2; Core API ≥0.6.18, <0.7.0. Java 21 on compatible older servers, Java 25 for 26.x. These are source targets; match the requirements of the actual downloaded build.
All Trails files live under plugins/RiddlesTrails/.
| File | Purpose | Apply changes |
|---|---|---|
config.yml |
Rendering, recording limits and quest mappings | /rt reload |
destinations.yml |
Saved waypoints, route points and teleport boundaries | Prefer in-game commands; reload after deliberate edits |
animations.yml |
Default animation and effect styles | /rt reload |
animation-preferences.yml |
Saved per-player selections and style overrides | Plugin-managed; restart after deliberate offline edits |
notifications.yml |
Delivery method and optional sounds | /rt reload |
languages/language.yml |
Locale policy | /rtl reload |
languages/en.yml, languages/es.yml |
Translated messages | /rtl reload |
Back up data before editing. Stop the server for manual changes to managed route/preference files. Core checks file revisions; an external edit can cause a later save to be rejected instead of overwritten. Invalid route data retains the previous route snapshot. Oversized files are reported, not truncated. Core’s small-file limit applies (default 2 MiB).
Reload is not a single transaction across all files. The implementation loads notifications, routes, animations and main settings in sequence. Earlier successful loads may have applied before a later failure. Correct the reported file and reload again; do not assume a failed reload rolled everything back. A fully successful /rt reload stops ordinary trails; quest assignments refresh their configuration. /rtl reload only reloads languages.
Key under render |
Default | Meaning / accepted bounds |
|---|---|---|
update-interval-ticks |
6 | Update every 6 ticks; clamped to 2–100. Lower is more frequent. |
particle-spacing |
0.8 | Route sampling spacing in blocks; 0.2–5. |
min-ahead |
2.0 | Near look-ahead setting; 0–20 blocks. |
max-ahead |
20.0 | Visible look-ahead, at least min-ahead + 1, at most 100 blocks. |
max-particles-per-update |
1200 | Per player per update, clamped to 6–6000. |
timeout-seconds |
180 | Ordinary trail lifetime; 5–3600 seconds. |
height-offset |
0.25 | Height above route positions; 0–3 blocks. |
arrival-radius |
2.0 | Ordinary arrival distance; 0.5–10 blocks. |
detail-version |
1 | Marks the one-time old default particle-budget upgrade. |
trail-duration-ticks |
40 | Legacy compatibility setting; current particle appearance uses animations.yml. |
Numeric settings are bounded in the source; an out-of-range number may be clamped rather than produce a validation error. Nonfinite floating-point values use a fallback. Enter intentional values instead of relying on clamping.
At 20 TPS, the default interval allows roughly 3.3 updates per second. The 1,200 budget is an upper bound per update, not a fixed number of particles always sent. Viewer count, shape detail, effect choice and interval all influence cost. Shorter intervals and higher budgets can increase server and client work. Tune on your server; no universal player-count capacity is established by this audit.
The one-time migration changes the old stock budget of 120 to 1,200 when the detail marker is absent; other custom budgets are retained. Do not remove the marker to reset ordinary settings.
Key under recording |
Default | Meaning |
|---|---|---|
point-spacing |
0.75 | Minimum sampling distance; 0.25 to the smaller of 10 or half max-step-distance. |
max-points |
5000 | Per-recording point limit; 2–20000. |
max-step-distance |
8.0 | Excessive non-teleport movement pauses recording; 1–100 blocks. |
Actual same-world teleports are recorded as transitions. Increasing max-step-distance does not turn a discontinuity into a safe walking route. Route saves publish after successful persistence; a failed save retains the recording for retry.
Key under quest-trails |
Default | Meaning |
|---|---|---|
connector-max-nodes |
768 | Total bounded local search budget; 96–3072. |
target-radius |
3.0 | Required proximity between route endpoint and target; 0.5–8 blocks. |
npc-routes |
{} | Citizens NPC ID → list of recorded route IDs. |
location-routes |
[] | Routes eligible for fixed-location guidance. |
restore-rules |
[] | Ordered BeautyQuests progress rules for login restoration. |
The old join-radius is ignored by the current connector. See quest setup for examples and limitations.
The default is chat with no sound. Keep text in language catalogs and configure delivery separately:
schema-version: 1
overrides:
trail.arrived:
delivery: action-bar
sound:
key: minecraft:entity.player.levelup
volume: 0.5
pitch: 1.0
Use existing language keys. Delivery can be chat, action-bar, title or silent; silent also suppresses sound. Titles support fade-in-ms, stay-ms and fade-out-ms. Reload with /rt reload. Invalid notification candidates retain accepted profiles; invalid startup profiles fall back to chat. Console replies remain text.
English and Spanish are bundled. Players can use /rtl en, /rtl es or /rtl auto. Edit translations without changing message keys or <var_name> placeholders, then use /rtl reload and /rtl status. Empty strings/lists can suppress a message. Invalid reloads keep the previous catalog; invalid startup language files can prevent enable.
Set server-locale: es for Spanish fallback. To force server language, set both use-client-locale: false and allow-player-override: false. Player preferences use Core player data and are not automatically synchronized across servers.
To add a locale, create e.g. languages/fr.yml with schema-version: 1 and a messages section, add fr to the policy’s locales list, and reload. Partial catalogs use fallback. Preserve variable names and valid formatting tags.
A legacy root language.yml moves into languages/ only when the target is absent. If both exist, both are kept and the root policy remains active. Managed editing notes get backups; put personal notes outside generated blocks.
Use /rl health riddlestrails for cached product health, /rl tasks riddlestrails for queues/tasks and /rtl status for translation coverage. A healthy quest service does not prove a particular NPC, route or quest ID exists.
Trails provides 26 aggregate metrics through Core. Optional telemetry requires the relevant Core consent switches; Trails bundles no separate SDK. To opt in, merge into Core’s existing config rather than replace other entries:
faststats:
enabled: true
plugins:
riddlestrails:
enabled: true
error-reporting: true
Restart after changing Core switches. Error reporting is a separate opt-in. Existing SDK/global opt-outs remain respected. Metrics include saved routes, active sessions, recordings, registered animations and bounded failure counters; they exclude player names/UUIDs, route/world names, coordinates and raw commands/logs. Counters reset on restart and can overlap. Local collection is not proof of remote delivery.
In the 1.6.6 changes, quest_available can be 1 on both Paper and Folia. Older 1.6.4 documentation saying it is always zero on Folia no longer describes this source.
| Symptom | Check |
|---|---|
| Trails refuses to enable | Core API ≥0.6.18 and <0.7.0, the Java version required by your server, and startup errors. |
| No particles | Correct world/destination, session timeout, client particle settings and any custom effect failure. |
| Line crosses a wall | A waypoint/ordinary joining segment is direct; record a suitable walking route. |
| Save rejected after manual edit | Back up and validate disk content; reload routes or restart for preferences. Do not delete data to bypass revision protection. |
| Recording will not resume | Same world, on foot, close to last recorded point and no pending save. |
| Wrong language policy | Check for both root and grouped policy files. |
| Quest status active but no trail | Assignment can be paused for NPC/world/route/terrain conditions; inspect quest guidance. |
Overview · Getting started · Commands · Configuration · Animations · Quest guidance · Java API
Source repository · Reviewed October 24, 2026.</var_name>