Repository navigation
Level Up Effects
Three moments get their own feedback, all in config.yml → effects: a level-up, a tier-up (the set moved to the next tier) and max-level (the last level of the last tier). Each has the same six parts, every one with its own enabled:
| Part | Keys | Default state |
|---|---|---|
message |
enabled, text
|
on |
title |
enabled, title, subtitle, fade-in, stay, fade-out (seconds) |
off |
sound |
enabled, sound, volume, pitch
|
on |
actionbar |
enabled, text
|
off |
broadcast |
enabled, text — sent to every online player |
on for tier-up and max-level |
particles |
enabled, particle, count — spawned around the player |
on for tier-up and max-level |
When a single gain crosses several levels or tiers (a bomb, an area enchant, /armorsadmin addxp) one effect plays: max-level if the cap was reached, otherwise tier-up if a tier changed, otherwise level-up — never a stack of messages.
%tier_name% %tier_id% %level% %max_level% %next_tier% %previous_tier% %previous_level% %levels_gained% %player% %xp% %xp_required% %xp_bar% %xp_percent% %boost_lines% (the new boosts, one per line) %boost_summary% (the largest currency boost in percent)
effects:
level-up:
message:
enabled: true
text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <green>Your armor reached %tier_name% <white>Lv %level%<dark_gray>/<white>%max_level%<green>!"
title:
enabled: false
title: "<green><bold>LEVEL UP"
subtitle: "<white>%tier_name% <gray>Lv <white>%level%"
fade-in: 0
stay: 2
fade-out: 1
sound:
enabled: true
sound: ENTITY_EXPERIENCE_ORB_PICKUP
volume: 1.0
pitch: 1.4
actionbar:
enabled: false
text: ""
tier-up:
message:
enabled: true
text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <gold>Your armor ascended to %tier_name%<gold>! <gray>Its boosts grow with every level."
title:
enabled: false
title: "%tier_name%"
subtitle: "<white>Armor tier unlocked"
fade-in: 0
stay: 3
fade-out: 1
sound:
enabled: true
sound: UI_TOAST_CHALLENGE_COMPLETE
volume: 1.0
pitch: 1.0
broadcast:
enabled: true
text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <yellow>%player% <gray>ascended their armor to %tier_name%<gray>!"
particles:
enabled: true
particle: TOTEM_OF_UNDYING
count: 30
max-level:
... same shape, "fully upgraded" wording, 60 particlesSound names are looked up through XSeries, so either the Bukkit enum name (ENTITY_PLAYER_LEVELUP) or a namespaced key works across versions. Particle names are Bukkit Particle names.
Separate from the effects: armors.yml → xp.actionbar shows a throttled progress bar while mining (enabled: false by default):
actionbar:
enabled: false
throttle-ticks: 20
format: "<gray>%tier_name% <white>Lv %level% <dark_gray>| %xp_bar% <dark_gray>| <yellow>%xp_percent%"