BitAspire Wiki
CyberTokensCyberTokens

events.yml

Global CyberTokens earning rules powered by the base Event Catalog.

events.yml defines how players earn the single CyberTokens currency from gameplay events.

Typical entry shape

FieldPurpose
enabledTurns one earning rule on or off
eventsOne or more event expressions from the base Event Catalog
amountAmount to grant when the rule triggers; fixed values and ranges are supported
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 CTK Event Catalog for plugin-specific behavior and the shared Event Catalog for the canonical expression syntax.

Example patterns

  • KILL_MONSTER:TYPE_EXACT=ZOMBIE
  • BREAK_BLOCK:TYPE_EXACT=IRON_ORE
  • MOVE[60]
  • TIMED_EXP[300]:PERMISSION=cybertokens.events.timed

The important idea is that CyberTokens has one global currency, so event rules are global instead of per-currency.

Last updated on

On this page