Exylia Plugins

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

PermissionDescription
exyliaarmortrims.command.armortrimAccess to the /armortrim command and main menu
exyliaarmortrims.adminAccess 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):

  1. Specific piece permission: exyliaarmortrims.trim.pattern.<pattern>.<piece>
  2. General pattern permission: exyliaarmortrims.trim.pattern.<pattern>
  3. Wildcard piece permission: exyliaarmortrims.trim.pattern.*.<piece>
  4. Wildcard all permission: exyliaarmortrims.trim.pattern.*

Permission Format

exyliaarmortrims.trim.pattern.<pattern>.<armor_piece>

Armor pieces: helmet, chestplate, leggings, boots

Examples

PermissionDescription
exyliaarmortrims.trim.pattern.sentry.helmetAllows Sentry pattern only on helmets
exyliaarmortrims.trim.pattern.sentry.chestplateAllows Sentry pattern only on chestplates
exyliaarmortrims.trim.pattern.sentryAllows Sentry pattern on all armor pieces
exyliaarmortrims.trim.pattern.*.helmetAllows all patterns only on helmets
exyliaarmortrims.trim.pattern.*Allows all patterns on all armor pieces

Individual Pattern Permissions

General PermissionHelmetChestplateLeggingsBoots
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):

  1. Specific piece permission: exyliaarmortrims.trim.material.<material>.<piece>
  2. General material permission: exyliaarmortrims.trim.material.<material>
  3. Wildcard piece permission: exyliaarmortrims.trim.material.*.<piece>
  4. Wildcard all permission: exyliaarmortrims.trim.material.*

Permission Format

exyliaarmortrims.trim.material.<material>.<armor_piece>

Armor pieces: helmet, chestplate, leggings, boots

Examples

PermissionDescription
exyliaarmortrims.trim.material.quartz.helmetAllows Quartz material only on helmets
exyliaarmortrims.trim.material.quartz.bootsAllows Quartz material only on boots
exyliaarmortrims.trim.material.quartzAllows Quartz material on all armor pieces
exyliaarmortrims.trim.material.*.helmetAllows all materials only on helmets
exyliaarmortrims.trim.material.*Allows all materials on all armor pieces

Individual Material Permissions

General PermissionHelmetChestplateLeggingsBoots
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:

  1. When equipping armor - Trims are checked and removed if permissions are missing
  2. 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.