Information about the API for Custom Enchants+

How to utilize CustomEnchants+'s API

All API methods can be found HERE

Within your plugin.yml add

softdepend: [CustomEnchantsPlus]

If you want CustomEnchants+ to be absolutely necessary to your plugin do this instead

depend: [CustomEnchantsPlus]

Add CustomEnchants+ to your Java Project as an external library

Utilize the API by using the static methods within CustomEnchantsAPI


CustomEnchantsAPI.openGui(player, CustomEnchantGui.ENCHANTER);

Obtaining a specific custom enchantment


Enchantment enchant = CustomEnchantment.EXPLOSIVE_ARROW;

Obtaining a scroll


Scroll scroll = Scrolls.ENCHANTMENT_REMOVAL;

Last updated