Repository navigation
Features
X-Prison Armors turns armor into a long-term mining progression. Everything below is configurable through five YAML files without touching a class file.
Every player wears one set. Its tier, level, XP and skin live on the four pieces themselves (no database) and always move together — the helmet can never be a level ahead of the boots. Maxing the last level of a tier converts all four pieces in place into the next tier's armor: new material, new colour, new name, same set.
- Bundled ladder: Common → Uncommon → Rare → Epic → Legendary → Mythic → Insanity, ten levels each
- Unlimited tiers and levels — add, remove, rename or reorder; YAML order is the progression order
- Fully upgraded Insanity out of the box: ~5,000,000 raw blocks, tuned with a single
xp.per-blockknob
Every block the player breaks with their own pickaxe swing earns armor XP — area enchants and bombs do not count, so progression rewards real mining time (xp.source: ALL counts every block X-Prison credits instead). XP is banked in memory and written to the pieces every five seconds, on level-up, on inventory changes and on logout, so the block-break hot path never writes an item.
-
xp.per-block(decimals allowed) scales the whole ladder to your economy - Optional throttled action-bar progress bar
- Skins multiply armor XP; the Events addon's Armor Training event doubles it
Each tier declares, per boost, a value at level 1 and at its max level; every level in between is interpolated. The bundled ladder runs from +1 % at Common Lv 1 to +200 % (3.0×) at Insanity Lv 10 with no flat spots at tier boundaries.
| Boost | Hook | Notes |
|---|---|---|
| Currency | X-Prison PlayerCurrencyReceiveEvent
|
Any X-Prison currency id; causes filtered by bonuses.currency-causes
|
| Pickaxe XP | X-Prison PlayerPickaxeExpGainEvent
|
Sources filtered by bonuses.pickaxe-xp-sources
|
| Enchant proc chance | X-Prison XPrisonEnchantPreTriggerEvent
|
Multiplies the roll, capped at 100 % |
Boosts require the full set worn (bonuses.require-full-set; false grants 25 % per worn piece). Pieces from different sets together are a mixed set that earns nothing.
By default pieces are soulbound (no dropping, storing, trading or armor stands), locked into the armor slots (no click, shift-click, hotkey, drag or right-click swap takes them off) and kept on death. All three are independent switches in config.yml. /armors claim returns the missing pieces of a player's current set — same tier, level and XP — or a fresh Common set if they own nothing.
The permission-based tiers of 1.x are now skins: a look override per piece (leather colour, material, custom model data, per tier if you like), an armor-XP multiplier and optional extra boosts on top of the tier. Sell them, tie them to ranks, hand them out for events. The four bundled skins keep the 1.x permission nodes.
-
/armors— every tier as its own chestplate; maxed tiers, the current one (glowing, with level, boost increase per level and next-level XP) and locked ones; an Armor Skins button and a Claim button that only appears when pieces are missing -
/armors skins— every skin with colour, description, boosts and equipped / available / locked state
Every slot, material, name, lore line and status text is in gui.yml.
Level-up, tier-up and max-level each play their own message, title, sound, action bar, broadcast and particles — every part switchable on its own, one effect per gain even when /armorsadmin addxp jumps several levels. Titles and the mining action bar ship disabled.
Item names and lore (with a Stats block and boost lines as multipliers or percentages), both menus, 40 messages with a shared prefix, sounds with volume and pitch, number formats, help screens — all raw MiniMessage rendered through X-Prison's text API, so gradients and hex colours work on Paper and downsample cleanly on Spigot.
- X-Prison 2026.3.8.7+ (required) — currencies, pickaxe XP, enchants, block counting, text rendering
- X-Prison Events 1.0.3+ — the Armor Training event
-
PlaceholderAPI —
%xprisonarmors_*%placeholders - NBTAPI — only to convert armor items from XPrisonArmors 1.x
-
Developer API —
XPrisonArmorsAPI,ArmorLevelUpEvent,ArmorTierUpEvent,ArmorSkinApplyEvent, and X-Prison'sPlayerProgressionXpGainEventfor every XP gain