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

Use the XTK Event Catalog for plugin-specific behavior and the shared Event Catalog for the canonical expression syntax.

Example patterns

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

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

Last updated on

On this page