Skip to content

Upgrading from 1.x

Jan Kluka edited this page Sep 13, 2026 · 1 revision

Upgrading from 1.x

XPrisonArmors 1.x handed out a full armor set per permission and multiplied mining income while it was worn. 2.0 replaces that with a mined progression, and keeps everything a 1.x server relied on.


What happens on the first start

  1. armors.yml, messages.yml, config.yml and granted-armors.yml are detected as 1.x files and renamed to armors.v1.yml, messages.v1.yml, config.v1.yml, granted-armors.v1.yml. Nothing is deleted.
  2. The 2.0 defaults are written: config.yml, armors.yml, skins.yml, gui.yml, messages.yml.
  3. The console says so:
    [XPrisonArmors] XPrisonArmors 1.x configuration detected - keeping it as *.v1.yml and writing the 2.0 defaults.
    

Your 1.x numbers are not carried over automatically — the two models are too different — but the file is right there to copy from.


Permissions

The four 1.x tiers live on as the four bundled skins, with the same permission nodes:

1.x tier 2.0 skin Permission (unchanged)
common common xprisonarmor.common
rare rare xprisonarmor.rare
legendary legendary xprisonarmor.legendary
mythical mythical xprisonarmor.mythical

A player who held xprisonarmor.mythical can equip the Mythical skin in /armors skins — netherite look, +25 % armor XP and +50 % money/tokens/gems on top of their tier, exactly the 1.x multiplier. Set skins.auto-apply-best: true if you want it applied automatically instead of chosen.

The 1.x admin permission xprisonarmor.admin is replaced by xprisonarmors.admin; players need xprisonarmors.use (default true) for /armors.


Players and their items

  • Every player who owns no set receives a Common Lv 1 set on their next join (first-join.give-set), straight into the armor slots.
  • 1.x armor items are converted: on join, any inventory item carrying the old x-armors-tier tag becomes a piece of a Common Lv 1 set wearing the skin mapped in config.yml → legacy.tier-to-skin (a 1.x mythical set becomes a Common set with the Mythical skin). This needs NBTAPI installed, because the 1.x tags were written with it — leave it in place until every player has logged in once, then it can go. Without NBTAPI the old items are simply inert.
  • granted-armors.yml is no longer used.

Commands

1.x 2.0
/xarmors give <player> <tier> [piece] /armorsadmin give <player> <tier> [level] [piece]
/xarmors reload /armorsadmin reload
/xarmors resetgrants <player> gone — /armors claim replaces join grants
— /armors, /armors skins, /armors claim, /armorsadmin set / addxp / skin / info

main-command still lists xarmors as an alias of /armors, so old habits open the menu.


Placeholders

1.x 2.0
%xprisonarmor_player_tier% %xprisonarmors_tier%
%xprisonarmor_player_tier_multiplier% %xprisonarmors_boost_<currency>% (percent per currency)

Economy check

1.x multiplied income by the whole tier value the moment the set was worn. 2.0 starts every player at +1 % and grows to +200 % over ~5,000,000 blocks — the same ceiling only for players who mine their way there, plus whatever skins you sell. If your server was balanced around instant 1.5× sets, either grant skins generously or raise the early tiers' from values in armors.yml.

Clone this wiki locally