Skip to main content
Every enchant in JPPrison — all 35 bundled ones and any you add — is a YAML file in 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 the explosive enchant.

Field Reference

Adding a New Enchant

  1. Create a new YAML file in plugins/JPPrison/enchants/ — for example, fortune_boost.yml.
  2. Set a unique id that matches the filename (without .yml).
  3. Define all required fields following the structure above.
  4. Save the file and run /jpprison reload.
The enchant appears in the pickaxe upgrade menu immediately and respects all unlock-level and unlock-prestige gates you configured.

Activation Particles & Sounds

Use Bukkit enum names for activation-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)
JPPrison maps these names internally so the same config works across supported Minecraft versions.