XenoLevels

rewards.yml

Define milestone payouts for each leveling system.

rewards.yml controls what happens when a player reaches specific levels. Leave the file empty if you do not want automatic rewards.

Structure

FieldDescription
rewards.<level>.commandsCommands executed from console. Supports {player} and other placeholders.
rewards.<level>.messagesChat messages sent to the player.
rewards.<level>.soundOptional sound effect (SOUND:volume:pitch).
rewards.<level>.titlesTitle, subtitle, and animation timings.
rewards.<level>.actionbarOptional action bar text.
rewards.pattern-<id>.levelsList of levels that share a reward definition.
rewards.pattern-<id>.prestigeRestrict the pattern to specific prestiges.

Example snippet

rewards:
  5:
    commands:
      - "give {player} diamond 1"
      - "eco give {player} 100"
    messages:
      - "&aYou received &e1 Diamond&a and &e$100&a for reaching level 5!"
    sound: "ENTITY_PLAYER_LEVELUP:1.0:1.0"

Claiming rewards

Players use /xlv rewards <system> or the GUI buttons defined in gui.yml to collect any unclaimed milestones.

Last updated on