Spigot Disenchanted 2.0

Master The Arcane By Adding The Power To Disenchant Any Enchanted Item!

  1. Could you please also add support for woodcutter? This plugin add an enchantment to cutt the whole tree with an axe. I see the enchantment while disenchanting, but I do not see the name and it give me an error when I try to remove it from the axe.
     
  2. I can look into it, but uless they have an API I can't make any promises

    @YETSHADOW can you please link me to the woodcutter plugin? The one I was able to find is not able to be downloaded anymore: https://www.spigotmc.org/resources/woodcutter.14677/
     
    #22 Haileykins, Jan 13, 2019
    Last edited: Jan 14, 2019
  3. Sorry I never seen your message. https://www.spigotmc.org/resources/woodcutter-drop-trees-instantly-with-enchantment.58193/

    I also have a new feature to ask... If we could be able to remove enchant from books? actually this plugin is working pretty well on my server
     
  4. There is a bug that the player can dupe the enchants from an item. If you place that enchanted item onto a empty space of the unenchantment gui, and take it back onto your inventory, it will create a book with all the enchantment for a single cost. Need to be fixed
     
  5. I will look into this tomorrow and have it repaired! Thank you for the report~!
     
  6. Thank you!
     
  7. @YETSHADOW @Shano_denoko currently the vault repo is down, and I would prefer to not change how I am building the plugin to appease this, as soon as vaults repo is fixed I will get to these, thank you for your patience
     
  8. Looks like if you have a full inventory and try to disenchant, it fails, but still takes your levels of XP. Any chance on a fix for that?
    If it weren't for two solid XP farms, my users would really complain.
     
  9. Hey!

    I'm planning to make the step from 1.13.2 to 1.14 So I've been testing the plugins I use and I found out the plugin does not work. There a bunch of errors In the console. The menu works, It only doesn't take any xp of my levels and the enchantment Isn't removed from the Item. It just gives you a useless book and you can take the books for free. There are also some errors in version 1.13.2.
    I would like to use this plugin on 1.14.2. I tested It on 1.14.1 since I'm having issues starting version 2.

    Code (Text):
    [20:21:51] [Server thread/ERROR]: Could not pass event InventoryCloseEvent to Disenchanted v1.2
    org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:520) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:505) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.craftbukkit.v1_14_R1.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:1213) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1937) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:18) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:1) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$2623/589562980.run(Unknown Source) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:895) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:888) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:123) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:872) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:805) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getName()Ljava/lang/String;
        at me.haileykins.disenchanted.listeners.InventoryCloseListener.onClose(InventoryCloseListener.java:13) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        ... 19 more
    [20:21:53] [Server thread/ERROR]: Could not pass event InventoryClickEvent to Disenchanted v1.2
    org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:320) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:520) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:505) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:2158) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:13) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.PlayerConnectionUtils$$Lambda$2623/589562980.run(Unknown Source) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:135) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:114) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.aW(MinecraftServer.java:895) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:888) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:123) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:872) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:805) [spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getName()Ljava/lang/String;
        at me.haileykins.disenchanted.utils.DisenchantmentMenu.inventoryClick(DisenchantmentMenu.java:75) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_31]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-fcb9f90]
        ... 18 more

    Code (Text):
    [20:05:12 ERROR]: Could not pass event InventoryClickEvent to Disenchanted v1.2
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:309) ~[spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:2127) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.PacketPlayInWindowClick.a(SourceFile:33) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.PacketPlayInWindowClick.a(SourceFile:10) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.PlayerConnectionUtils$$Lambda$1715/418730000.run(Unknown Source) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_31]
            at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_31]
            at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:895) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:830) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:728) [spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]
    Caused by: java.lang.IllegalArgumentException: Negative, non outside slot -1
            at com.google.common.base.Preconditions.checkArgument(Preconditions.java:168) ~[spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at org.bukkit.inventory.InventoryView.getInventory(InventoryView.java:216) ~[spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at org.bukkit.event.inventory.InventoryClickEvent.getClickedInventory(InventoryClickEvent.java:167) ~[spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            at me.haileykins.disenchanted.utils.DisenchantmentMenu.inventoryClick(DisenchantmentMenu.java:71) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_31]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_31]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.13.2.jar:git-Spigot-518206a-a5b9c7b]
            ... 16 more

    Thanks in advance,
    ~Skullix
     
  10. Disenchanted is GETTING A MAKEOVER! Hold on to your horses as I start bringing in the next generation of disenchanted! 2.0 will be rolling out within the next 2 weeks!
     
  11. Haileykins updated Disenchanted with a new update entry:

    COMPLETE OVERHAUL + NEW FEATURES

    Read the rest of this update entry...
     
  12. I really love this plugin but if you have above the vanilla enchants it doesn't recognize it e.g. if I have sharpness 10, it doesn't recognize that I have sharpness 10. Would have loved to use this plugin. Keep up the good.
     
  13. did you make sure to add 10: (cost) to the config file under sharpness?
     
  14. Please Note: Unsafe Enchants do not work with version 2.0 of this plugin. For the foreseeable future, this plugin will not feature the ability to use unsafe enchantments with this plugin.
     
  15. I'm using this in 1.14.4 and it's working very well. However, some enchantments are costed incorrectly (Sweeping Edge 3 costs 0XP for some reason) and changing the costs in the config doesn't seem to have any effect. I'll do some more testing on this but I'm not sure what's wrong. Also, I'm still seeing the error that YETSHADOW pointed out, where if you click the item in the Disenchant GUI, you get every enchantment on a single book while only playing for one.
     
  16. Indeed, still waiting for a patch
     
  17. • Is this compatible with 1.15.x yet?
    • When will unsafe enchants be disenchantable again? We use them as an attractive long term goal, the Option to keep the (unsafe) Enchants would be awesome!
     
  18. so i decided to add this to my server and i was wondering how i can set it up so everyone can use the command without being op