plugins/JPPrison/enchants/. Edit any field and reload; no restart or recompile needed.
Full Enchant YAML Example
The file below shows every configurable section for theexplosive enchant.
Field Reference
Adding a New Enchant
- Create a new YAML file in
plugins/JPPrison/enchants/— for example,fortune_boost.yml. - Set a unique
idthat matches the filename (without.yml). - Define all required fields following the structure above.
- Save the file and run
/jpprison reload.
unlock-level and unlock-prestige gates you configured.
Activation Particles & Sounds
Use Bukkit enum names foractivation-particle and activation-sound to ensure cross-version compatibility. You can find the full lists in the Bukkit Javadocs:
- Particles — values from
org.bukkit.Particle(e.g.FLAME,CRIT,EXPLOSION_NORMAL) - Sounds — values from
org.bukkit.Sound(e.g.ENTITY_GENERIC_EXPLODE,BLOCK_ANVIL_USE,UI_BUTTON_CLICK)