Disenchanter

Disenchanter

This plugin will disenchant a held item and code it into a spare book in your inventory. Conditions will need to be met to perform such an arcane and forbidden ritual.

Usage

/disenchant Use while holding the item you wish to disenchant.

/whatname Originally a debugging command to test for locations of items and the assigned metadata. Will probably remove this when I'm 100% happy with the behaviour of the plugin.

Administration command

/disenchanter set <config option> <value>

Configuration options:

  • multi-mode : Setting multi-mode to true will allow any player holding enough Soul Emeralds and Books to take all enchantments from the item and record them into separate books.
default: false 

options: true, false
  • require-emerald : Choose whether or not the player needs to have an emerald to disenchant their item.
default: true

options: true, false
  • require-book : Choose whether or not the player needs to have a book to write their enchantment/s to.
default: true

options: true, false
  • require-night-time : Choose whether or not night time is required to disenchant items.
default: true

options: true, false
  • override-durability : Allow a player to disenchant damaged items by setting this to true
default: false

options: true, false

Conditions

A player must be holding an enchanted item to begin. The ritual will only progress at night time. A player must supply a book to be consumed, as well as an emerald named Soul. If the item is damaged, the ritual will fail...

You can control the requirements for disenchanting by using the administration command or by changing the config.yml while the server is stopped.

Permissions

/disenchant

disenchant.disenchant

/whatname

disenchant.whatname

/disenchanter

disenchant.admin

Further Comments

This is my first plugin, so it may not perform up to the expectations of some of the more well-developed plugins out there. Please let me know if you have any recommendations or suggestions to make this plugin better on any level.

The source code is available on my GitHub


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files