Repository navigation
Changelog
- Armors speak each player's own X-Prison language (needs X-Prison 2026.3.15.1). German, Spanish, French and Brazilian Portuguese are included for every message, menu, armor piece, tier name, skin name and description, level-up and tier-up alert and the XP action bar. See Setup.
- An armor piece is redrawn in its owner's language; tier-up broadcasts reach every player in their own language; currency names in boost lines follow the reader too.
- Your own edits always win. Override any line in
plugins/X-Prison/lang/addons/XPrisonArmors/<language>/<file>.yml. - Without X-Prison, or on an older X-Prison, everything stays exactly as written.
-
X-Prison is now a soft dependency. The plugin enables with helper alone. With X-Prison installed
nothing changes: boosts are applied through its currency, pickaxe-XP and enchant events, its
disabled-worldsare honoured, area enchants and bombs stay out of armor XP, andgui.ymlitem ids still resolve through it (ItemsAdder / Nexo / Oraxen). Without it the plugin runs standalone: armor XP comes from every block a player breaks with a pickaxe, and the boosts are computed, shown in the lore and exposed throughXPrisonArmorsAPIand the placeholders, but nothing applies them. -
xp.source: ALLneeds X-Prison's block events; standalone it counts pickaxe swings and says so on startup. - An X-Prison older than 2026.3.8.7, or one that failed to enable, is reported on startup and the plugin runs standalone instead of failing to load.
- Text is rendered by the plugin itself: MiniMessage through Adventure on Paper, downsampled to legacy
colour codes on Spigot. Action bars on Paper no longer inherit a stray
<bold>after a gradient (Adventure's legacy serializer bug) - they go through the same downsampler Spigot uses. - Startup log now states the text renderer and the X-Prison mode.
-
Armor XP now counts only the blocks a player breaks with their own pickaxe swings. Blocks broken by
area enchants (Explosive, Laser, Drill, packet-mine enchants ...) and by bombs no longer earn armor XP.
New
armors.ymlkeyxp.source-MANUAL(default) orALLto restore the 2.0.0 behaviour where every block X-Prison counts feeds the armor. - Both setup bundles ship
xp.source: MANUAL; the OP Prison bundle returns toxp.per-block: 1.0because manual swings no longer need to compensate for area-enchant volumes.
XPrisonArmors is no longer a permission-granted multiplier. Every player now wears one armor set that levels as a whole, from Common to Insanity, by mining.
-
Tier ladder (
armors.yml): seven bundled tiers x 10 levels, unlimited tiers/levels, XP per level (xp.base/xp.growthor an explicit list), boosts per level for every currency, pickaxe XP and enchant proc chance. Pre-tuned: a fully upgraded Insanity set takes ~5,000,000 blocks and boosts everything by 3x; boosts grow with every single level. - Armor XP comes from raw blocks (in 2.0.0: manual, enchant and bomb blocks - see 2.0.1), banked in memory and written to the items every 5 s - zero item writes on the mining hot path.
-
Set behaviour: the four pieces share one progression; maxing a tier converts the whole set in
place to the next tier's look. Pieces are soulbound and locked into the armor slots by default
(
soulbound.enabled,soulbound.lock-in-slots,soulbound.keep-on-death). Mixed sets earn nothing. -
Menus (
gui.yml):/armorsshows every tier as its chestplate - maxed, current (glowing, with level, boost-per-level and next-level XP) and locked - plus the Armor Skins button;/armors skinslists every skin with colour, description, boosts and equipped/locked state. Every slot, item and text is configurable (MiniMessage). -
Feedback (
config.ymleffects): level-up, tier-up and max-level each with message, title, sound, action bar, broadcast and particles - one effect per gain even when bombs jump several levels. Titles and the mining action bar are off by default; flipenabledto use them. -
Skins (
skins.yml): the old permission tiers become skins - appearance override per piece (leather colours, materials, custom model data), an armor-XP multiplier and optional extra boosts. The four bundled skins keep the 1.x permission nodes (xprisonarmor.common...). -
Events addon: X-Prison-Events 1.0.3 adds Armor Training (2x armor XP) through
X-Prison 2026.3.8.7's new
PlayerProgressionXpGainEvent. -
Commands:
/armors [tiers|skins|claim],/armorsadmin give|set|addxp|skin|info|reload. Permissionsxprisonarmors.use(default true),xprisonarmors.admin(op),xprisonarmors.skin.*. -
Placeholders:
%xprisonarmors_tier%,_tier_display,_level,_max_level,_xp,_xp_required,_xp_percent,_xp_bar,_skin,_equipped,_boost_<currency>,_boost_pickaxe_xp,_boost_enchant_proc,_next_tier,_maxed. -
Developer API:
XPrisonArmorsAPI.get()plusArmorLevelUpEvent,ArmorTierUpEventand the cancellableArmorSkinApplyEvent. -
Upgrading from 1.x: old
armors.yml/messages.yml/config.yml/granted-armors.ymlare kept as*.v1.yml, old armor items are converted on join (needs NBTAPI, now a soft dependency), andlegacy.tier-to-skinmaps each old tier to its skin. - Everything a player sees is a template: item lore and names, both menus (including the first tier's
"not claimed yet" state), help screens as line lists,
lore-texts.multiplier-format/percent-formatfor the numbers, and the fragments of/armorsadmin info. - Requires X-Prison 2026.3.8.7+ and helper. NBTAPI is no longer required.
Before: give-armor-on-join handed out a full set on every login. A player could take their
armor off, stash it in a chest and relog for another free set, repeating without limit.
After: Three independent changes close it:
- Each tier is now granted once per player. The grant history is stored in
granted-armors.ymland survives restarts. Setgive-armor-on-join-once: falseto restore the old repeating behaviour (not recommended). - The join grant hands out only the pieces the player does not already own — worn, in the inventory, in the off-hand or in the ender chest.
- Armor pieces now carry an
x-armors-slotNBT tag alongsidex-armors-tier, so a stashed piece is recognised as the same slot it was issued for.
Before: The join grant called setHelmet/setChestplate/… unconditionally, silently deleting
whatever the player was already wearing in that slot.
After: A piece is equipped only into an empty armor slot; otherwise it goes to the inventory.
Before: soulbound: true only cancelled PlayerDropItemEvent, which fires solely for a drop
made with the inventory screen closed. Shift-clicking into a chest, dragging across its slots,
hotbar-swapping into it, or pressing Q inside an inventory screen all bypassed it — so a
"soulbound" set could still be stashed and collected again.
After: A new inventory guard cancels every one of those paths. Tier armor can only be moved
within the player's own inventory, armor slots, off-hand and 2x2 grid; every other destination,
the ender chest included, is refused with the new soulbound-cannot-store message.
Before: /xarmors give and the join grant discarded pieces that did not fit.
After: Anything that does not fit is dropped at the player's feet.
Clears a player's join-grant history so they receive their set again on the next login — the recovery path when someone legitimately loses their armor.
You can now dye leather armor pieces any color directly from armors.yml using a standard hex color code.
Add the optional color field to any leather armor piece:
helmet:
material: LEATHER_HELMET
color: "#8C7B6B"- Works with any
#RRGGBBhex color value - Only applies to leather armor — safely ignored on iron, diamond, netherite, etc.
- The default Common tier now ships with a stone-grey leather color (
#8C7B6B)
Before: Wearing a full set of any tagged armor (even a mix of different tiers) would
incorrectly grant the multiplier of the highest tier loaded — meaning a player in full Common
armor could receive the Mythical multiplier.
After: The multiplier is only applied when all four pieces belong to the same tier.
Before: If a player had no armor tier equipped, the placeholder would throw an error
and could cause console spam or PlaceholderAPI issues.
After: Returns none when no tier is equipped, and 1.0 for the multiplier placeholder.
Before: The fade-in, stay, and fade-out values configured in messages.yml were
ignored when running Paper — titles always showed for a hardcoded 1s / 3s / 1s duration.
After: Config values are respected correctly on all server types.
Before: Placeholders (e.g. %player_name%) were not replaced when the plugin sent
messages that contained multiple lines.
After: Placeholders are now processed in all message types.
Before: If the messages: block was absent or removed from messages.yml, the plugin
would crash on load or reload.
After: A warning is logged and the plugin continues loading with no messages.
Before: When giving armor to a player, the plugin modified the original item templates
stored in memory. In rare cases this could cause unexpected item state between reloads.
After: Armor items are always cloned before being tagged and given to players.
Before: Configuring a material like NETHERITE_HELMET on a 1.13–1.15 server, or an
enchantment not available on the running version, would cause a silent failure or error.
After: The plugin logs a clear warning for the affected piece and skips it gracefully,
so the rest of the tier still loads correctly.
The plugin now explicitly supports the full range from Minecraft 1.13 through 26.1.2 (including Mojang's new year-based versioning scheme). Paper detection also works correctly across all Paper versions — the old detection method had stopped working on newer builds.
On enable, the plugin now prints a brief status block to the console showing:
Server: Paper 26.1.2
Text format: MiniMessage (Paper)
PlaceholderAPI: Enabled
X-Prison: Enabled
Debug mode: Disabled
Debug messages now include a [DEBUG] prefix, making them easy to filter in console or
log files. Enable debug mode in config.yml with enable-debug: true.
Running /xarmors reload now logs when the reload starts and when it completes, so you
can confirm it finished in the console.
After loading armors.yml, the plugin logs the number of tiers loaded and the multipliers
for each — making it easy to verify your configuration at a glance on startup.
| File | Change |
|---|---|
armors.yml |
New optional color field on armor pieces — accepts #RRGGBB hex. Only affects leather armor. |
No existing configuration keys were removed or renamed. All existing armors.yml,
config.yml, and messages.yml files are fully compatible with this update.
Initial releases.