Bukkit DiamondGuarantee 3.2.0 [1.13+ Version]

Keep hard to find resource alive

  1. ShaneBee submitted a new resource:

    DiamondGuarantee - Keep hard to find resource alive

    Read more about this resource...
     
  2. look like really intrasting! Can you add 1.8 support?
     
  3. This is actually an old plugin by Big_Scary that was abandoned a couple years ago. Im just taking some of his previous plugins from his GitHub and updating them to work on 1.13 ... and do to the lack of backwards compatibility with 1.13 it doesn't look like making an update to work with older versions will be in the future of this plugin right now! Also, personally I have no interest in updating things to work with 3 year old, outdated, unsupported server software.
     
  4. I have tested it worked in 1.8 except for the Dragon Head and Elytras because they didn't exist in 1.8
    .Just disable them
    Code (Text):
        Drops Elytras: false
        Drops Dragon Heads: false
     
  5. Only in 1.8-1.12 the Dragon Head will generate an error. Just disable it,and other features worked fine.
    Code (Text):
    [23:18:13] [Server thread/ERROR]: Could not pass event EntityDeathEvent to DiamondGuarantee v3.0
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:378) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityLiving.die(EntityLiving.java:874) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:812) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityEnderDragon.dealDamage(EntityEnderDragon.java:540) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityEnderDragon.a(EntityEnderDragon.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityComplexPart.damageEntity(SourceFile:40) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityHuman.attack(EntityHuman.java:1001) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.EntityPlayer.attack(EntityPlayer.java:1063) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1355) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_161]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_161]
        at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
    Caused by: java.lang.NoSuchFieldError: ELYTRA
        at me.ryanhamshire.DiamondGuarantee.DGEventHandler.onEntityDeath(DGEventHandler.java:210) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_161]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_161]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        ... 23 more
     
  6. SpacePuppeh

    Supporter

    @RoboMWM what do you think of this update?
     
  7. Literally just 3 line changes, so it's fine lol. Probably the easiest one of his to update.

    Though I imagine the existing one (Big_Scary's last release) works just fine as well thanks to the conversion magic in CB.
     
    • Like Like x 1
  8. SpacePuppeh

    Supporter

    Got this @ShaneBee
    Code (Text):
    [19:27:16] [Server thread/INFO]: [DiamondGuarantee] Enabling DiamondGuarantee v3.0*
    [19:27:16] [Server thread/INFO]: DiamondGuarantee: DiamondGuarantee enabled.
    [19:27:16] [Server thread/ERROR]: Fatal error trying to convert DiamondGuarantee v3.0:me/ryanhamshire/DiamondGuarantee/DGEventHandler.class
    org.bukkit.plugin.AuthorNagException: No legacy enum constant for NETHER_WART. Did you forget to define api-version: 1.13 in your plugin.yml?
        at org.bukkit.craftbukkit.v1_13_R2.util.Commodore$1$1.visitFieldInsn(Commodore.java:272) ~[patched_1.13.2.jar:git-Paper-409]
        at org.objectweb.asm.ClassReader.readCode(ClassReader.java:2208) ~[patched_1.13.2.jar:git-Paper-409]
        at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1275) ~[patched_1.13.2.jar:git-Paper-409]
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:679) ~[patched_1.13.2.jar:git-Paper-409]
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:391) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.craftbukkit.v1_13_R2.util.Commodore.convert(Commodore.java:173) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.craftbukkit.v1_13_R2.util.CraftMagicNumbers.processClass(CraftMagicNumbers.java:221) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:131) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:191) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:115) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.13.2.jar:git-Paper-409]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_171]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_171]
        at me.ryanhamshire.DiamondGuarantee.DiamondGuarantee.onEnable(DiamondGuarantee.java:52) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:325) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:438) ~[patched_1.13.2.jar:git-Paper-409]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:352) ~[patched_1.13.2.jar:git-Paper-409]
        at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:613) ~[patched_1.13.2.jar:git-Paper-409]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:575) ~[patched_1.13.2.jar:git-Paper-409]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:435) ~[patched_1.13.2.jar:git-Paper-409]
        at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:316) ~[patched_1.13.2.jar:git-Paper-409]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:791) ~[patched_1.13.2.jar:git-Paper-409]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
     
  9. Ah.
    Thanks for letting me know. As soon as I get home i’ll fix that right up.

    Man I feel stupid. Swore i tested this out before pushing a release. Oops
    Anyways this has been fixed!
     
    #9 ShaneBee, Oct 30, 2018
    Last edited: Oct 30, 2018
    • Like Like x 1
  10. ShaneBee updated DiamondGuarantee with a new update entry:

    bStats Update [3.2.0]

    Read the rest of this update entry...
     

Share This Page