BitAspire Wiki
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

FieldPurpose
enabledTurns one earning rule on or off
eventsOne or more event expressions handled by the event engine
amountAmount to grant when the rule triggers
partial-excessiveWhether partial progress may count for oversized batches
apply.on-creativeWhether creative mode can trigger the reward
apply.permissionOptional permission gate for the rule

Example patterns from the default files

  • KILL_MOB:TYPE_EXACT=ZOMBIE
  • SMELT[16]:ITEM=IRON_INGOT
  • MOVE[60]
  • TIMED_EXP[300]

The important idea is that earning rules belong to a currency context, not to the whole plugin globally.

Last updated on

On this page