- Per-Trim & Per-Material Permissions
Server owners can now charge for or restrict specific patterns and materials. Players can still cycle through and preview all trims in the GUI, but clicking to apply a locked trim will be blocked.
- Pattern permission format:
armortrimer.pattern.<name>(e.g.armortrimer.pattern.silence)
- Material permission format:
armortrimer.material.<name>(e.g.armortrimer.material.netherite)
- Bypass permission:
armortrimer.bypass(grants access to everything)
- Visual Lock Indicators
Templates and materials that a player does not have permission to use will display a customizable lock indicator (e.g.,) in the selection list.
- Visual Inventory Sync Fix
Fixed the Spigot visual bug where applying a trim wouldn't show up immediately on the item in the player's hand. Now, the visual appearance updates instantly.
- GUI Security & Anti-Exploit Updates
- Replaced title-text checks with a custom behind-the-scenes identifier tag (
TrimerHolder). This prevents any chat coloring or translation plugins from breaking the GUI, and plugs potential item-stealing exploits.
- Fixed a slot collision bug where clicking slots in your own inventory while the GUI was open could trigger template cycling or result application.
Configuration Changes (config.yml)
Add the following additions to your config.yml to use the new permission system and customize its messages:
YAML:# --- Add this under the 'messages' section --- no-pattern-permission: chat-enabled: true action-bar-enabled: true chat: - "" - "&#FF0000&l✗ PATTERN LOCKED ✗" - "" - "&#FFFFFFYou don't have permission to use the &d%pattern% &#FFFFFFpattern" - "" action-bar: "&#FF0000✗ &#FFFFFFPattern locked" no-material-permission: chat-enabled: true action-bar-enabled: true chat: - "" - "&#FF0000&l✗ MATERIAL LOCKED ✗" - "" - "&#FFFFFFYou don't have permission to use the &b%material% &#FFFFFFmaterial" - "" action-bar: "&#FF0000✗ &#FFFFFFMaterial locked" # --- Add require_permissions and locked_suffix under 'template_options' --- template_options: # ... (existing options) ... require_permissions: false locked_suffix: " &c🔒" # --- Add require_permissions and locked_suffix under 'material_options' --- material_options: # ... (existing options) ... require_permissions: false locked_suffix: " &c🔒"
new messages style
new configuration style
add more templates and materials
add sounds.yml
optimized
