Custom Enchantments
With EdPrison custom enchantments system you will be able to make infinite and unique enchants with just using a config file!
Events
BlockBreakEvent
The enchant will be triggered when a block is broken. Lazy Option: This option will only work for BlockBreakEvent enchants that have the option always-max-chance enabled. What will this do? It will trigger the enchant every 4 seconds approximately. It will have a placeholder on the enchant actions called %lazy.blocks% this will return the number of times the enchant was triggered on that period. For example, if you have a tokenminer enchantment that is triggered with a 100% proc chance all the time, it's better in performance to give the tokens every X seconds instead of every block mined. Trigger enchant when X blocks broken (blocks-to-trigger): This option will override all the chance options and it will get only that. This is useful if you don't want to trigger enchantments by chance. They will trigger by blocks broken, for example if you have blocks-to-trigger: 500 the enchant will trigger every 500 blocks.
EnchantTriggerEvent{enchant}
The enchant will be triggered when another enchant is triggered. You need to specify in brackets the enchant you want to listen. For example: EnchantTriggerEvent{tokenminer}.
PlayerHoldPickaxe
The enchant will be triggered when a player holds their pickaxe. This is useful for Skills Enchants.
PlayerUnHoldPickaxe
The enchant will be triggered when a player unholds their pickaxe. This is useful for Skills Enchants.
Last updated