Skip to content

Changelog

Jan Kluka edited this page Nov 1, 2026 · 4 revisions

X-Prison Armors Changelog


2.2.0 - Every player's language

  • 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.

2.1.0 - X-Prison is optional

  • 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-worlds are honoured, area enchants and bombs stay out of armor XP, and gui.yml item 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 through XPrisonArmorsAPI and the placeholders, but nothing applies them.
  • xp.source: ALL needs 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.

2.0.1 - raw blocks only

  • 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.yml key xp.source - MANUAL (default) or ALL to 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 to xp.per-block: 1.0 because manual swings no longer need to compensate for area-enchant volumes.

2.0.0 - armor progression

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.growth or 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): /armors shows 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 skins lists every skin with colour, description, boosts and equipped/locked state. Every slot, item and text is configurable (MiniMessage).
  • Feedback (config.yml effects): 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; flip enabled to 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. Permissions xprisonarmors.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() plus ArmorLevelUpEvent, ArmorTierUpEvent and the cancellable ArmorSkinApplyEvent.
  • Upgrading from 1.x: old armors.yml / messages.yml / config.yml / granted-armors.yml are kept as *.v1.yml, old armor items are converted on join (needs NBTAPI, now a soft dependency), and legacy.tier-to-skin maps 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-format for the numbers, and the fragments of /armorsadmin info.
  • Requires X-Prison 2026.3.8.7+ and helper. NBTAPI is no longer required.

XPrisonArmors — Changelog


[1.0.4] — 2026-08-07

🐛 Bug Fixes

Unlimited Armor via Relogging (Critical)

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.yml and survives restarts. Set give-armor-on-join-once: false to 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-slot NBT tag alongside x-armors-tier, so a stashed piece is recognised as the same slot it was issued for.

Worn Armor Destroyed by the Join Grant

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.

Soulbound Armor Could Still Be Stored or Dropped

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.

Armor Lost When the Inventory Is Full

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.

✨ New Features

/xarmors resetgrants <player>

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.


[1.0.3] — 2026-05-26

✨ New Features

Leather Armor Color Support

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 #RRGGBB hex 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)

🐛 Bug Fixes

Armor Multiplier Applied to Wrong Tier (Critical)

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.

PlaceholderAPI %xprisonarmor_player_tier% Crash

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.

Title Timings Ignored on Paper Servers

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.

PlaceholderAPI Not Processing Multi-Line Messages

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.

Plugin Crash on Missing messages: Section

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.

Armor Items Modified Unexpectedly in Memory

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.

Materials / Enchantments Unavailable on Older Server Versions

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.


⚙️ Improvements

Minecraft 1.13 – 26.1.2 Compatibility

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.

Startup Status Summary

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

Cleaner Debug Logging

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.

Reload Logging

Running /xarmors reload now logs when the reload starts and when it completes, so you can confirm it finished in the console.

Tier Load Summary

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.


📋 Configuration Changes

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.


[1.0.2] and earlier

Initial releases.


Clone this wiki locally