XenoLevels
levels.yml
Configure level formulas, requirements, and caps for each system.
levels.yml defines how players progress through a system. Use it to set starting values, max levels, EXP formulas, and optional requirements for individual milestones.
Key sections
| Path | Default | Description |
|---|---|---|
levels.starting.level | 1 | Level assigned when a player joins the system for the first time. |
levels.starting.exp | 0.0 | Starting EXP. |
levels.min.level | 1 | Minimum level allowed. |
levels.max.enabled | true | Toggle the level cap. |
levels.max.level | 200 | Highest level before prestiging or overflow. |
levels.max.exp-overflow.enabled | false | Allow storing EXP beyond the cap. |
levels.max.exp-overflow.maximum | '5000 * {level}' | Formula for the overflow limit. |
levels.general.exp | "100 * {level}" | Baseline EXP requirement per level. |
levels.general.placeholder | "&7{level}" | Default placeholder text for GUIs and lists. |
levels.specific.<level>.exp | Overrides | Custom EXP requirement for a level. |
levels.specific.<level>.requirements | List | Optional list of EXP expressions that must be met. |
levels.specific.<level>.placeholder | String | Custom placeholder text for a specific level. |
Example overrides
levels:
specific:
25:
exp: 5000
requirements:
- "KILL_MOB[50]:TYPE_CONTAINS=MONSTER"
- "BREAK_BLOCK[10]:DIAMOND_ORE"
placeholder: "&b{level}"
100:
exp: 40000
requirements:
- "KILL_MOB[500]:TYPE_CONTAINS=MONSTER"Tip
Use the general formula for most levels and only override milestones that need unique requirements or placeholder colours.
Last updated on