Tested Minecraft Versions:
The created EnchantmentBook can be used to enchant another item.
To use this plugin, you would need EnchantmentBook and TokenEnchant plugins.
Video:
Commands:
Permissions:
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
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
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.
- 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.
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