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
| Field | Description |
|---|---|
rewards.<level>.commands | Commands executed from console. Supports {player} and other placeholders. |
rewards.<level>.messages | Chat messages sent to the player. |
rewards.<level>.sound | Optional sound effect (SOUND:volume:pitch). |
rewards.<level>.titles | Title, subtitle, and animation timings. |
rewards.<level>.actionbar | Optional action bar text. |
rewards.pattern-<id>.levels | List of levels that share a reward definition. |
rewards.pattern-<id>.prestige | Restrict 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