XenoLevels

exp-events.yml

Map gameplay events to EXP rewards.

exp-events.yml lists the gameplay triggers that award EXP for a system. Each section contains one or more expressions, an EXP range, and optional application rules.

Section layout

exp-events:
  custom-section:
    enabled: true
    events:
      - 'KILL_MOB:NATURE=HOSTILE'
      - 'TIMED_EXP[300]'
    exp: '5, 10'
    partial-excessive: true
    apply:
      on-creative: false
      permission: ''
  • enabled – Toggle the section on or off.
  • events – One or more expressions described in the Event Catalog; revisit Experience Design for planning tips.
  • exp – Single value or range that determines how much EXP is awarded.
  • partial-excessive – Allow partial payouts for events that follow the EXCESSIVE policy.
  • apply.on-creative – Decide whether creative mode players qualify.
  • apply.permission – Require a specific permission node to receive EXP.

Pro tip

Test new sections with /xlv reload and monitor the console for syntax errors. Invalid expressions are ignored and logged so they do not break other sections.

Last updated on

On this page