Skip to content
Jan Kluka edited this page Nov 1, 2026 · 8 revisions

Armors

Full documentation lives in the X-Prison Armors wiki — setup, the tier ladder, skins, menus, level-up effects, placeholders, the developer API and the 1.x upgrade guide. This page is a summary.

👉 Buy X-Prison Armors on BuiltByBit 👈

XPrisonArmors (2.0+) gives every player one armor set that levels up by mining. The set starts on the first tier (Common) and climbs to the last (Insanity); every level grows its boosts to money, tokens, gems, pickaxe XP and enchant proc chance. Maxing a tier converts the whole set in place to the next tier's look. Permission-based skins change how a set looks and speed up its progression.

It is a standalone plugin (not an X-Prison addon jar) and requires X-Prison 2026.3.8.7+ and helper. With X-Prison 2026.3.15.1+ (Armors 2.2.0) everything players read follows their language. Optional: PlaceholderAPI, NBTAPI (only to convert 1.x armor items), the Events addon 1.0.3+ for the Armor Training event.


Overview

Feature Details
Progression One set per player; tier + level + XP live on the four pieces and always move together
Armor XP Every block the player breaks with their own pickaxe swing (xp.source: MANUAL; ALL counts enchant and bomb blocks too) x xp.per-block x skin multiplier x Events
Ladder Unlimited tiers and levels; bundled 7 tiers x 10 levels, ~5,000,000 blocks to max
Boosts Currency (any X-Prison currency), pickaxe XP, enchant proc chance - configured per tier, interpolated per level
Bundled max Insanity Lv 10 = +200 % (3.0x) on everything
Wearing Boosts and XP need the full set worn (both configurable) - mixed sets earn nothing
Soulbound Pieces cannot be dropped, stored, traded or taken out of the armor slots (all three rules configurable), and survive death
Skins Look override per piece + armor-XP multiplier + optional extra boosts, unlocked by permission
Menus /armors tier catalog (maxed / current / locked, stats as multipliers) and /armors skins picker - fully configurable in gui.yml
Feedback Level-up / tier-up / max-level messages, titles, sounds, action bar, broadcasts, particles
Storage The items themselves (no database)

How it plays

  1. A player joins and receives a Common Lv 1 set, auto-equipped (first-join).
  2. Mining earns armor XP (an optional action-bar progress bar can be enabled in armors.yml). XP is banked in memory and written to the pieces every 5 seconds, on level-up, on inventory changes and on logout - there are no item writes on the mining hot path.
  3. Every level-up plays the configured effect and raises the boosts a little. Finishing the last level of a tier plays the tier-up effect (with an optional broadcast) and the four pieces become the next tier's armor.
  4. /armors shows every tier as its chestplate: maxed tiers, the current one (glowing, with level, boost increase per level and next-level XP) and the locked ones, plus the Armor Skins button.

The boosts stack multiplicatively with X-Prison's own multipliers (rank, global, personal) and with other addons.


Bundled ladder

armors.yml ships with xp.per-block: 1.0, ten levels per tier, level costs of base x 1.2^(level-1) and a tier base that triples per tier:

Tier Look Lv 1 -> Lv 10 boosts (everything) Blocks to finish the tier Cumulative
Common leather, grey +1 % -> +10 % 4,542 4.5k
Uncommon leather, green +11 % -> +25 % 13,628 18.2k
Rare chainmail +27 % -> +45 % 40,886 59.1k
Epic iron +48 % -> +75 % 122,656 181.7k
Legendary gold +79 % -> +115 % 367,964 549.7k
Mythic diamond +120 % -> +160 % 1,103,894 1.65M
Insanity netherite +165 % -> +200 % 3,311,679 4.97M

tools/ladder.py in the plugin repository prints this table for any armors.yml. Both setup bundles keep this ladder at per-block: 1.0 because only manual swings count; if you switch to xp.source: ALL on an OP server, lower per-block (area enchants break blocks by the million).


Configuration

armors.yml - XP, boosts and the ladder

xp:
  source: MANUAL             # MANUAL = only the player's own pickaxe swings; ALL = every block X-Prison counts
  per-block: 1.0             # armor XP per raw block (decimals allowed)
  require-full-set: true     # XP only while all four pieces are worn
  flush-interval-ticks: 100  # banked XP is written to the items every 5 s
  actionbar: { enabled: false, throttle-ticks: 20, format: "<gray>%tier_name% <white>Lv %level% <dark_gray>| %xp_bar% <dark_gray>| <yellow>%xp_percent%" }
  bar: { length: 20, filled: "<green>|", empty: "<dark_gray>|" }
bonuses:
  require-full-set: true     # false = each worn piece grants 25 % of the set value
  currency-causes: [MINING, MINING_OTHERS]
  pickaxe-xp-sources: [MANUAL, AREA_ENCHANTS, AUTOMINER]
boost-line-format:           # how boosts render in item lore; %multiplier% = 1.32x, %value% = percent
  currency: "<gold>| <white>%currency% Boost: <gold>%multiplier%"
  pickaxe-xp: "<gold>| <white>Pickaxe XP Boost: <gold>%multiplier%"
  enchant-proc: "<gold>| <white>Enchant Proc Boost: <gold>%multiplier%"
currency-icons: { money: "$", tokens: "⛃", gems: "💠" }
lore-texts:                  # piece names/descriptions, skin line, soulbound line, MAXED text,
                             # multiplier-format ("%.2fx") and percent-format ("%.1f%%")
tiers:
  common:
    display-name: "<gradient:#bdbdbd:#8c8c8c><bold>Common</bold></gradient>"
    color: "#8C7B6B"         # tier accent and default leather colour
    levels: 10
    xp: { base: 175, growth: 1.2 }      # or levels-xp: [175, 210, ...] with one entry per level
    boosts:                  # full-set values in percent, interpolated from Lv 1 (`from`) to max level (`to`)
      currency: { money: { from: 1, to: 10 }, tokens: { from: 1, to: 10 }, gems: { from: 1, to: 10 } }
      pickaxe-xp: { from: 1, to: 10 }
      enchant-proc: { from: 1, to: 10 }
    set:
      base: LEATHER          # LEATHER | CHAINMAIL | IRON | GOLDEN | DIAMOND | NETHERITE -> <BASE>_HELMET ...
      glow: false
      unbreakable: true
      enchants: { PROTECTION: 1 }
      name: "%tier_name% <gold>Armor"
      lore: [ ... ]          # Stats block: level, boosts, next-level XP - see placeholders below
      helmet: { material: LEATHER_HELMET, color: "#8C7B6B", custom-model-data: 0 }   # per-piece overrides, all optional

YAML order is the progression order. Add, remove or rename tiers freely; each needs a unique id, levels, an xp block (or levels-xp), boosts and a set.

Item name / lore placeholders: %tier_name% %tier_id% %tier_color% %piece_name% %piece_description% %level% %max_level% %next_level% %next_tier% %xp% %xp_required% %xp_bar% %xp_percent% %skin_name% %skin_xp%. A lore line that is exactly %boost_lines%, %skin_line% or %soulbound_line% expands to the boost lines, the skin line or the soulbound tag (and disappears when there is nothing to show).

skins.yml - permission skins

skins:
  auto-apply-best: true      # new sets get the highest-priority skin the player may use
  entries:
    mythical:
      display-name: "<gradient:#d17bff:#9b00ff><bold>Mythical</bold></gradient>"
      permission: "xprisonarmor.mythical"
      priority: 40
      xp-multiplier: 1.25    # +25 % armor XP
      color: "#9B00FF"       # shown as "Color:" in the skins menu (defaults to the chestplate colour)
      description: [ "<gray>Netherite forged for the elite - the biggest", "<gray>permanent boost to all <white>major currencies<gray>." ]
      boosts: { currency: { money: 50, tokens: 50, gems: 50 } }   # optional extra percent on top of the tier
      icon: { material: NETHERITE_CHESTPLATE }
      pieces:                # look override; leather colour, material, custom-model-data, name, lore
        helmet: { material: NETHERITE_HELMET }
        chestplate: { material: NETHERITE_CHESTPLATE }
        leggings: { material: NETHERITE_LEGGINGS }
        boots: { material: NETHERITE_BOOTS }
      per-tier:              # optional, keyed by tier id, on top of `pieces`
        insanity: { helmet: { custom-model-data: 7 } }

The four bundled skins (common, rare, legendary, mythical) mirror the XPrisonArmors 1.x tiers and keep their permission nodes, so existing LuckPerms setups keep working. Players pick a skin in /armors skins; the plugin re-checks the permission whenever the boosts are computed, so a revoked permission stops the skin's boosts immediately.

config.yml - behaviour and feedback

Key Default Meaning
first-join.give-set / auto-equip true / true Players who own no set receive a Common Lv 1 set on join, straight into the armor slots
claim.enabled / cooldown-seconds true / 0 /armors claim and the menu button return missing pieces of the current set (or a fresh set when nothing is owned)
soulbound.enabled true No dropping, storing in containers, armor stands or trading
soulbound.lock-in-slots true Pieces cannot leave the armor slots (clicks, shift-clicks, hotkeys, drags, right-click swaps)
soulbound.keep-on-death true Pieces are kept on death and restored on respawn
legacy.convert-old-items / tier-to-skin true 1.x armor items become a Common Lv 1 set wearing the mapped skin (needs NBTAPI)
sounds.* Menu open/click, success, error, skin applied
effects.level-up / tier-up / max-level message, title, sound, actionbar, broadcast, particles - each with its own enabled; titles and the mining action bar ship disabled

Effect placeholders: %tier_name% %level% %max_level% %next_tier% %previous_tier% %previous_level% %levels_gained% %player% %xp_bar% %xp_percent% %boost_lines%. When one gain jumps several levels at once only one effect plays.

gui.yml - menus

Two menus. main (/armors) places every tier as its rendered chestplate into tier-slots and picks the lore by status - tier-item.lore-completed ("Maxed Out Armor" + stats at max level), lore-current (level, stats, %boost_step% per level, next-level XP), lore-locked and lore-unowned (the first tier while a player owns no set); boost-format renders each stat as a multiplier (%multiplier% = 1.32x) or percent (%value%). buttons.skins (a smithing template by default) opens skins, buttons.claim only appears when pieces are missing. skins (/armors skins) lists every skin as its chestplate with Color, %description%, Boosts and a status-line ((( This skin is equipped )) ...), plus info, none (default look) and back. Every item takes slot, material, name, lore, glow, custom_model_data; menus take title, rows, filler and optional decorations.

messages.yml

Every message the plugin sends, with a shared prefix inserted through %prefix%. A message may be one line or a list of lines (the help / admin-help screens are lists).


Commands & permissions

Command Permission Default Description
/armors xprisonarmors.use Everyone Open the armor menu
/armors tiers / skins xprisonarmors.use Everyone Open the tier catalog / skin picker
/armors claim xprisonarmors.use Everyone Re-claim missing pieces
/armorsadmin give <player> <tier> [level] [piece] xprisonarmors.admin Operators Give a set (or one piece)
/armorsadmin set <player> <tier> [level] xprisonarmors.admin Operators Set the worn set's tier and level
/armorsadmin addxp <player> <amount> xprisonarmors.admin Operators Add armor XP (plays the level-up effects)
`/armorsadmin skin <skin none>` xprisonarmors.admin Operators
/armorsadmin info <player> xprisonarmors.admin Operators Show tier, level, XP, skin, worn pieces and boosts
/armorsadmin reload xprisonarmors.admin Operators Reload every config

Skin permissions are whatever each skin's permission says (bundled: xprisonarmor.<skin>); xprisonarmors.skin.* is declared for convenience.


Placeholders (PlaceholderAPI)

%xprisonarmors_tier%, _tier_display, _level, _max_level, _xp, _xp_required, _xp_percent, _xp_bar, _skin, _skin_display, _next_tier, _maxed, _equipped (full set worn), _worn (pieces worn), _boost_<currency> (e.g. _boost_money), _boost_pickaxe_xp, _boost_enchant_proc (all boosts in percent).


Events addon - Armor Training

X-Prison-Events 1.0.3 ships events/armor-training.yml: a 30-minute event that doubles armor XP through the PROGRESSION_XP_MULTIPLIER effect (progressions: [xprisonarmors:armor]). It needs X-Prison 2026.3.8.7+, which added the generic PlayerProgressionXpGainEvent. See Events.


Developer API

XPrisonArmorsAPI api = XPrisonArmorsAPI.get();
Optional<ArmorSetState> state = api.getSetState(player);   // tier, level, xp, skin (includes unflushed XP)
SetBoosts boosts = api.getBoosts(player);                   // percent per currency, pickaxe XP, enchant proc

Events: ArmorLevelUpEvent (after a gain that levelled the set), ArmorTierUpEvent (after a tier change), ArmorSkinApplyEvent (cancellable, before a skin is applied). The plugin also fires X-Prison's PlayerProgressionXpGainEvent with the key xprisonarmors:armor for every XP gain, so any plugin can scale or cancel armor XP without depending on XPrisonArmors.


Upgrading from 1.x

  • Your old armors.yml, messages.yml, config.yml and granted-armors.yml are renamed to *.v1.yml on the first start and the 2.0 defaults are written.
  • The old permission tiers live on as the four bundled skins with the same permission nodes.
  • Armor items from 1.x are converted on join into a Common Lv 1 set wearing the mapped skin - keep NBTAPI installed until every player has logged in once; afterwards it can be removed.
  • The old %xprisonarmor_player_tier% placeholders are replaced by the %xprisonarmors_*% family above.

XPrison Logo

General

Modules

Default Configs

Enchant Configs — Passive

Enchant Configs — Currency Rewards

Enchant Configs — Key & Item Rewards

Enchant Configs — Area of Effect

Enchant Configs — Multipliers

Enchant Configs — Templates

Enchant Configs — Addons

Addons

Support

For Developers

Others

Clone this wiki locally