Permissions
Permission system for ExyliaArmorTrims
Permissions
ExyliaArmorTrims uses a granular permission system that allows precise control over which patterns and materials players can use.
Command Permissions
| Permission | Description |
|---|---|
exyliaarmortrims.command.armortrim | Access to the /armortrim command and main menu |
exyliaarmortrims.admin | Access to administrative commands (reload) |
Important: exyliaarmortrims.command.armortrim is required to access the armor trim menu.
Pattern Permissions
The plugin features a granular permission system that allows you to control which patterns players can use on specific armor pieces or all armor pieces.
Permission Hierarchy
Permissions are checked in the following order (from most specific to most general):
- Specific piece permission:
exyliaarmortrims.trim.pattern.<pattern>.<piece> - General pattern permission:
exyliaarmortrims.trim.pattern.<pattern> - Wildcard piece permission:
exyliaarmortrims.trim.pattern.*.<piece> - Wildcard all permission:
exyliaarmortrims.trim.pattern.*
Permission Format
exyliaarmortrims.trim.pattern.<pattern>.<armor_piece>Armor pieces: helmet, chestplate, leggings, boots
Examples
| Permission | Description |
|---|---|
exyliaarmortrims.trim.pattern.sentry.helmet | Allows Sentry pattern only on helmets |
exyliaarmortrims.trim.pattern.sentry.chestplate | Allows Sentry pattern only on chestplates |
exyliaarmortrims.trim.pattern.sentry | Allows Sentry pattern on all armor pieces |
exyliaarmortrims.trim.pattern.*.helmet | Allows all patterns only on helmets |
exyliaarmortrims.trim.pattern.* | Allows all patterns on all armor pieces |
Individual Pattern Permissions
| General Permission | Helmet | Chestplate | Leggings | Boots |
|---|---|---|---|---|
exyliaarmortrims.trim.pattern.sentry | .sentry.helmet | .sentry.chestplate | .sentry.leggings | .sentry.boots |
exyliaarmortrims.trim.pattern.dune | .dune.helmet | .dune.chestplate | .dune.leggings | .dune.boots |
exyliaarmortrims.trim.pattern.coast | .coast.helmet | .coast.chestplate | .coast.leggings | .coast.boots |
exyliaarmortrims.trim.pattern.wild | .wild.helmet | .wild.chestplate | .wild.leggings | .wild.boots |
exyliaarmortrims.trim.pattern.ward | .ward.helmet | .ward.chestplate | .ward.leggings | .ward.boots |
exyliaarmortrims.trim.pattern.eye | .eye.helmet | .eye.chestplate | .eye.leggings | .eye.boots |
exyliaarmortrims.trim.pattern.vex | .vex.helmet | .vex.chestplate | .vex.leggings | .vex.boots |
exyliaarmortrims.trim.pattern.tide | .tide.helmet | .tide.chestplate | .tide.leggings | .tide.boots |
exyliaarmortrims.trim.pattern.snout | .snout.helmet | .snout.chestplate | .snout.leggings | .snout.boots |
exyliaarmortrims.trim.pattern.rib | .rib.helmet | .rib.chestplate | .rib.leggings | .rib.boots |
exyliaarmortrims.trim.pattern.spire | .spire.helmet | .spire.chestplate | .spire.leggings | .spire.boots |
exyliaarmortrims.trim.pattern.wayfinder | .wayfinder.helmet | .wayfinder.chestplate | .wayfinder.leggings | .wayfinder.boots |
exyliaarmortrims.trim.pattern.shaper | .shaper.helmet | .shaper.chestplate | .shaper.leggings | .shaper.boots |
exyliaarmortrims.trim.pattern.silence | .silence.helmet | .silence.chestplate | .silence.leggings | .silence.boots |
exyliaarmortrims.trim.pattern.raiser | .raiser.helmet | .raiser.chestplate | .raiser.leggings | .raiser.boots |
exyliaarmortrims.trim.pattern.host | .host.helmet | .host.chestplate | .host.leggings | .host.boots |
exyliaarmortrims.trim.pattern.flow | .flow.helmet | .flow.chestplate | .flow.leggings | .flow.boots |
exyliaarmortrims.trim.pattern.bolt | .bolt.helmet | .bolt.chestplate | .bolt.leggings | .bolt.boots |
Material Permissions
The material permission system works the same way as patterns, allowing granular control per armor piece.
Permission Hierarchy
Permissions are checked in the following order (from most specific to most general):
- Specific piece permission:
exyliaarmortrims.trim.material.<material>.<piece> - General material permission:
exyliaarmortrims.trim.material.<material> - Wildcard piece permission:
exyliaarmortrims.trim.material.*.<piece> - Wildcard all permission:
exyliaarmortrims.trim.material.*
Permission Format
exyliaarmortrims.trim.material.<material>.<armor_piece>Armor pieces: helmet, chestplate, leggings, boots
Examples
| Permission | Description |
|---|---|
exyliaarmortrims.trim.material.quartz.helmet | Allows Quartz material only on helmets |
exyliaarmortrims.trim.material.quartz.boots | Allows Quartz material only on boots |
exyliaarmortrims.trim.material.quartz | Allows Quartz material on all armor pieces |
exyliaarmortrims.trim.material.*.helmet | Allows all materials only on helmets |
exyliaarmortrims.trim.material.* | Allows all materials on all armor pieces |
Individual Material Permissions
| General Permission | Helmet | Chestplate | Leggings | Boots |
|---|---|---|---|---|
exyliaarmortrims.trim.material.quartz | .quartz.helmet | .quartz.chestplate | .quartz.leggings | .quartz.boots |
exyliaarmortrims.trim.material.iron | .iron.helmet | .iron.chestplate | .iron.leggings | .iron.boots |
exyliaarmortrims.trim.material.netherite | .netherite.helmet | .netherite.chestplate | .netherite.leggings | .netherite.boots |
exyliaarmortrims.trim.material.redstone | .redstone.helmet | .redstone.chestplate | .redstone.leggings | .redstone.boots |
exyliaarmortrims.trim.material.copper | .copper.helmet | .copper.chestplate | .copper.leggings | .copper.boots |
exyliaarmortrims.trim.material.gold | .gold.helmet | .gold.chestplate | .gold.leggings | .gold.boots |
exyliaarmortrims.trim.material.emerald | .emerald.helmet | .emerald.chestplate | .emerald.leggings | .emerald.boots |
exyliaarmortrims.trim.material.diamond | .diamond.helmet | .diamond.chestplate | .diamond.leggings | .diamond.boots |
exyliaarmortrims.trim.material.lapis | .lapis.helmet | .lapis.chestplate | .lapis.leggings | .lapis.boots |
exyliaarmortrims.trim.material.amethyst | .amethyst.helmet | .amethyst.chestplate | .amethyst.leggings | .amethyst.boots |
exyliaarmortrims.trim.material.resin | .resin.helmet | .resin.chestplate | .resin.leggings | .resin.boots |
Permission Validation
The plugin automatically validates permissions in two scenarios:
- When equipping armor - Trims are checked and removed if permissions are missing
- When logging in - All equipped armor is validated on player join
Automatic Trim Removal
If a player loses permission for a pattern or material they're currently using:
- The trim is automatically removed when they equip that armor piece
- The trim is automatically removed when they log in
- No notification is sent to the player
Important: Always ensure players have proper permissions before applying trims. Losing permission will result in automatic trim removal.