Skip to content

Commands & Permissions

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

Commands & Permissions

Argument notation: <required> [optional]

Command names and aliases are set in config.yml (main-command, admin-command) and re-register on /armorsadmin reload.


Player commands

Command Permission Default Description
/armors xprisonarmors.use Everyone Opens the tier ladder — every tier as its chestplate, your current tier glowing. Aliases /armor, /xarmors.
/armors skins xprisonarmors.use Everyone Opens the skin picker.
/armors claim xprisonarmors.use Everyone Returns the missing pieces of your current set (same tier, level and XP), or a fresh Common set if you own no piece anywhere. Honours claim.cooldown-seconds.
/armors help xprisonarmors.use Everyone Lists the player commands.

Admin commands

Command Permission Default Description
/armorsadmin give <player> <tier> [level] [piece] xprisonarmors.admin Operators Gives a new set of that tier (level 1 unless given) to the player's inventory, or a single piece (helmet, chestplate, leggings, boots).
/armorsadmin set <player> <tier> [level] xprisonarmors.admin Operators Sets the worn set to that tier and level (XP reset to 0). The player must wear a complete, unmixed set.
/armorsadmin addxp <player> <amount> xprisonarmors.admin Operators Adds armor XP to the worn set — crosses levels and tiers exactly like mining would, with the level-up effects.
/armorsadmin skin <player> <skin|none> xprisonarmors.admin Operators Applies a skin to the worn set (or removes it with none), ignoring the skin's permission.
/armorsadmin info <player> xprisonarmors.admin Operators Tier, level, XP, skin, pieces worn, set id and the boosts currently active.
/armorsadmin reload xprisonarmors.admin Operators Re-reads every config file in place.
/armorsadmin help xprisonarmors.admin Operators Lists the admin commands.

Aliases: /xarmorsadmin.


Permissions

Node Default Grants
xprisonarmors.use Everyone /armors and its sub-commands
xprisonarmors.admin Operators /armorsadmin
xprisonarmors.skin.* Nobody Declared for convenience — every skin whose permission starts with that prefix
(per skin) Nobody Whatever each skin's permission in skins.yml says. The bundled skins keep the 1.x nodes: xprisonarmor.common, xprisonarmor.rare, xprisonarmor.legendary, xprisonarmor.mythical

A skin's permission is re-checked whenever boosts are computed, so revoking it stops the skin's XP multiplier and extra boosts immediately; the look stays until the player picks another skin.


Reward and crate commands

Both commands work from the console, so they fit crate, vote and store rewards:

armorsadmin give %player% legendary
armorsadmin addxp %player% 50000
armorsadmin skin %player% mythical

To sell a skin, grant its permission through your permission plugin (lp user %player% permission set xprisonarmor.mythical true) and let the player pick it in /armors skins; the armorsadmin skin command applies it directly and ignores the permission.

Clone this wiki locally