DeEnchantment (aka black scroll)

 DeEnchantment (aka black scroll) 5.15.4

DeEnchantment (aka black scroll)
Tested Minecraft Versions:
  • 1.8
  • 1.9
  • 1.10
  • 1.11
  • 1.12
This plugin will allow you to use de-enchantment item. When you drag and drop the de-enchantment item on an enchanted item, it will transfer one of enchantments on the item onto an EnchantmentBook item.

The created EnchantmentBook can be used to enchant another item.

To use this plugin, you would need EnchantmentBook and TokenEnchant plugins.

Video:


Commands:
  • /deenchant help : displays the help menu
  • /deenchant reload : reloads config.yml file.
  • /deenchant give <player> <type> <s:rate> <d:rate> [+]: gives <player> the DeEnchanter of <type>, the DeEnchanter will have success rate <s:rate> and destroy rate <d:rate> with an option of [+] (add level mode).

    for <type> can be one of:
    • RANDOM_ONE : move one level of a randomly selected enchantment onto an EnchantmentBook.
    • RANDOM_ALL : move all levels of a randomly selected enchantment onto an EnchantmentBook.
    • SELECTIVE : allow you to pick which enchantment to be turned into an EnchantmentBook.
examples:
  • Code (Text):
    /deenchant give vk2gpz RANDOM_ONE s:random d:random +
    will give vk2gpz an DeEnchanter which will remove one level of randomly selected enchantment. Resulting EnchantmentBook will have success rate and destroy rate, both of which are randomly selected.

Permissions:
  • deenchantment.reload : It allows you to reload config.yml.
  • deenchantment.give : it allows you to /deenchant give command.
  • deenchanter.use : it allows you to use DeEnchanter.
Installation:
First, you need to install TokenEnchant and EnchantmentBook plugins. Once you've installed TE and EB, you can put DeEnchantment.jar in the plugins folder.

Configuration:
If you would like to customise how your DeEnchanter looks like, you can do so in the config.yml. Make sure to set "AllowRefund: true" in TokenEnchant's config.yml. If you do not want to allow players to use TE's refund to get tokens, set RefundRate: 0.0 .

Code (Text):

Messages:
ErrorMsg : "&c[DeEnchanter] : Some error occured."
DeEnchanterGiven: "&e[DeEnchanter] : You've given DeEnchanter!"
NoPlayerFound: "&c[DeEnchanter] : %player% is not found"
NoPermission: "&c[DeEnchanter] : You don't have a permission to use EnchantmentBook function!"
NoSuchDeEnchanter: "&c[DeEnchanterk] : The deenchanter %type% is not found."


HelpMessages:
banner:
msg: "=== &e[&aDeEnchantment Commands List (%version%)&e] &r==="
help:
msg: "&a/deenchant help : displays this help menu."
reload:
msg: "&a/deenchant reload : reloads config file."
permission: "deenchantment.reload"
debug:
msg: "&a/deenhant debug <true|false> : turn on / off the debug mode."
permission: "deenchantment.debug"
give:
msg: "&a/deenchant give <player> <type> [s:rate] [d:rate] [+] : give <player> a DeEnchanter of <type> with success rate [s:rate] and destroy rate [d:rate] and level add mode [+]"
permission: "enchantmentbook.give"

DeEnchantGUITitle: "&aDeEnchanter"
UseNBT: true
IncludeVanillaEnchant: true
Sound: LEVEL_UP

DeEnchanter:
RandomOneDeEnchanter:
Type: RANDOM_ONE
Name: "RandomOneDeEnchanter"
Material: PAPER
Lore: "Click an enchanted item with\nThis item to remove\none level of randomly chosen enchantmet.\nSuccess rate : %success%\nDestroy rate : %destroy%\nMode : %mode%"
Success:
Min: 0.1
Max: 0.8
Destroy:
Min: 0.1
Max: 0.4

RandomAllDeEnchanter:
Type: RANDOM_ALL
Name: "RandomAllDeEnchanter"
Material: PAPER
Lore: "Click an enchanted item with\nThis item to remove\nrandomly chosen enchantmet.\nSuccess rate : %success%\nDestroy rate : %destroy%\nMode : %mode%"
Success:
Min: 0.1
Max: 0.8
Destroy:
Min: 0.1
Max: 0.4

SelectiveDeEnchanter:
Type: SELECTIVE
Name: "SelectiveDeEnchanter"
Material: PAPER
Lore: "Click an enchanted item with\nThis item to select\nwhich enchantment\nyou wish to remove.\nSuccess rate %success%\nDestroy rate %destroy%"
Success:
Min: 0.1
Max: 0.8
Destroy:
Min: 0.1
Max: 0.4

Latest updates

  1. 5.15.4

    5.15.4
  2. updated the default config.yml

    updated the default config.yml
  3. updated enchantment name handling methods (version invariant)

    updated enchantment name handling methods (version invariant)

Latest reviews

2 starts for effort, but last three updates are not working at all.
Thank you soo Much! I really Cant wait to try it out :)
I will keep you inform on if it works or not... But really hope it does :P
BlackSpigot General Chat
Rules Help Users
    B @ BeingImpossible: Promote your discord server Fast & Free ⚡ Check out: https://dscspot.lol/ get free members
    Top