XenoTokensXenoTokens
events.yml
Per-currency earning rules powered by the XenoTokens event engine.
currencies/<id>/events.yml defines how a specific currency is earned.
Typical entry shape
| Field | Purpose |
|---|---|
enabled | Turns one earning rule on or off |
events | One or more event expressions handled by the event engine |
amount | Amount to grant when the rule triggers |
partial-excessive | Whether partial progress may count for oversized batches |
apply.on-creative | Whether creative mode can trigger the reward |
apply.permission | Optional permission gate for the rule |
Example patterns from the default files
KILL_MOB:TYPE_EXACT=ZOMBIESMELT[16]:ITEM=IRON_INGOTMOVE[60]TIMED_EXP[300]
The important idea is that earning rules belong to a currency context, not to the whole plugin globally.
currency.yml
Per-currency rules for names, formatting, payments, representation ranges, and transactions.
gui.yml
Per-currency shop GUI layout, buttons, pages, items, and reward actions.
Last updated on