Spigot XP Bottler 1.14.2a

Store your experience in bottles for safe storage or trade

  1. Darkstar1592 submitted a new resource:

    XP Bottler - Store your experience in bottles for safe storage or trade

    Read more about this resource...
     
  2. Hi super bottle is crafting well but I can not store xp in when I click nothing happens !!!!!!
     
  3. at com.darkstar.xpbottler.xpBottler.onThrow (xpBottler.java:77) ~ [?:?]
    à sun.reflect.GeneratedMethodAccessor203.invoke (Source inconnue) ~ [?:?]
    à sun.reflect.DelegatingMethodAccessorImpl.invoke ( DelegatingMethodAccessorImpl.java:43) ~ [?: 1.8.0_161]
    à java.lang.reflect.Method.invoke (Method.java:498) ~ [?: 1.8.0_161]
    at org.bukkit.plugin.java.JavaPluginLoader $ 1 .execute (JavaPluginLoader.java:302) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    ... 18 plus
    [17:53:02] [Fil du serveur / ERROR]: Impossible de transmettre l'événement PlayerInteractEvent à xpBottler v1.3.0
    org.bukkit.event.EventException: null
    à org.bukkit.plugin.java.JavaPluginLoader $ 1.execute (JavaPluginLoader.java:306) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.plugin.RegisteredListener.callEvent (RegisteredListener.java:62) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.plugin.SimplePluginManager.fireEvent (SimplePluginManager.java:499) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.plugin.SimplePluginManager.callEvent (SimplePluginManager.java:484) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à l'organisation. bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:234) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory. java: 201) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:197) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a (PlayerConnection .java: 989) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a (PacketPlayInBlockPlace.java:26) [Spigot-v1_12_2.jar: git-Spigot- 7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a (PacketPlayInBlockPlace.java:1) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils $ 1. exécuter (SourceFile: 13) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:511) [?: 1.8.0_161]
    à java.util.concurrent.FutureTask.run (FutureTask.java:266) [?: 1.8.0_161]
    at net.minecraft.server.v1_12_R1.SystemUtils.a (SourceFile: 46) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D (MinecraftServer.java:748 ) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à net.minecraft.server.v1_12_R1.DedicatedServer.D (DedicatedServer.java:406) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à net.minecraft.server.v1_12_R1.MinecraftServer.C (MinecraftServer.java:679) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run (MinecraftServer.java:577) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à java.lang.Thread.run (Thread.java:748) [ ?: 1.8.0_161]
    Causée par: java.lang.NoSuchFieldError: EXPERIENCE_BOTTLE
    à com.darkstar.xpbottler.xpBottler.unbottle (xpBottler.java:155) ~ [?:?]
    À sun.reflect.GeneratedMethodAccessor204.invoke (source inconnue ) ~ [?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) ~ [?: 1.8.0_161]
    à java.lang.reflect.Method.invoke (Method.java:498) ~ [? : 1.8.0_161]
    at org.bukkit.plugin.java.JavaPluginLoader $ 1.execute (JavaPluginLoader.java:302) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    ... 18 plus
    [17:53:02] [Fil du serveur / ERREUR]: Impossible de transmettre l'événement PlayerInteractEvent à xpBottler v1.3.0
    org.bukkit.event.EventException: null
    à org.bukkit.plugin.java.JavaPluginLoader $ 1.execute (JavaPluginLoader.java : 306) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.plugin.RegisteredListener.callEvent (RegisteredListener.java:62) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231- 94b0980]
    à org.bukkit.plugin.SimplePluginManager.fireEvent (SimplePluginManager.java:499) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.plugin.SimplePluginManager.callEvent (SimplePluginManager.java:484 ) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:234) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:201) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:197) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a (PlayerConnection.java:989) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1 .PacketPlayInBlockPlace.a (PacketPlayInBlockPlace.java:26) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a (PacketPlayInBlockPlace.java:1) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils $ 1.run (SourceFile: 13) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:511) [?: 1.8.0_161]
    à java.util.concurrent. FutureTask.run (FutureTask.java:266) [?: 1.8.0_161]
    à net.minecraft.server.v1_12_R1.SystemUtils.a (SourceFile: 46) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à net.minecraft.server.v1_12_R1.MinecraftServer.D (MinecraftServer.java:748) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D (DedicatedServer.java:406) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à net.minecraft.server.v1_12_R1.MinecraftServer.C (MinecraftServer.java : 679) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run (MinecraftServer.java:577) [Spigot-v1_12_2.jar: git-Spigot-7754231- 94b0980]
    at java.lang.Thread.run (Thread.java:748) [?: 1.8.0_161]
    Causée par: java.lang.NoSuchFieldError: EXPERIENCE_BOTTLE
    at com.darkstar.xpbottler.xpBottler.bottle (xpBottler.java:96 ) ~ [?:?]
    at sun.reflect.GeneratedMethodAccessor205.invoke (Source inconnue) ~ [?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) ~ [?: 1.8.0_161]
    at java.lang.reflect.Method.invoke (Method.java:498) ~ [?: 1.8.0_161]
    à org.bukkit.plugin.java.JavaPluginLoader $ 1.execute (JavaPluginLoader.java:302) ~ [Spigot-v1_12_2 .jar: git-Spigot-7754231-94b0980]
    ... 18 plus
    [17:53:03] [Thread Server / ERROR]: Impossible de transmettre l'événement PlayerInteractEvent à xpBottler v1.3.0
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader $ 1.execute (JavaPluginLoader.java:306) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.plugin.RegisteredListener.callEvent (RegisteredListener.java: 62) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.plugin.SimplePluginManager.fireEvent (SimplePluginManager.java:499) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.plugin.SimplePluginManager.callEvent (SimplePluginManager.java:484) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java : 234) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:201) [Spigot-v1_12_2.jar: git-Spigot- 7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent (CraftEventFactory.java:197) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnection .a (PlayerConnection.java:989) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a (PacketPlayInBlockPlace.java:26) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockPlace.a (PacketPlayInBlockPlace.java : 1) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils $ 1.run (SourceFile: 13) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980 ]
    à java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:511) [?: 1.8.0_161]
    à java.util.concurrent.FutureTask.run (FutureTask.java:266) [?: 1.8.0_161 ]
    at net.minecraft.server.v1_12_R1.SystemUtils.a (SourceFile: 46) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D (MinecraftServer.java:748) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D (DedicatedServer.java : 406) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    sur net.minecraft.server.v1_12_R1.MinecraftServer.C (MinecraftServer.java:679) [Spigot-v1_12_2.jar: git-Spigot-7754231- 94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run (MinecraftServer.java:577) [Spigot-v1_12_2.jar: git-Spigot-7754231-94b0980]
    à java.lang.Thread.run (discussion.java:748 ) [?: 1.8.0_161]
    Causée par: java.lang.NoSuchFieldError: EXPERIENCE_BOTTLE
    à com.darkstar.xpbottler.xpBottler.onThrow (xpBottler.java:77) ~ [?:?]
    at sun.reflect.GeneratedMethodAccessor203.invoke (Source inconnue) ~ [?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) ~ [?: 1.8.0_161]
    à java.lang.reflect.Method. invoquer (Method.java:498) ~ [?: 1.8.0_161]
    à org.bukkit.plugin.java.JavaPluginLoader $ 1.execute (JavaPluginLoader.java:302) ~ [Spigot-v1_12_2.jar: git-Spigot-7754231- 94b0980]
    ... 18 de plus
     
  4. This is caused by the xp bottle name being changed in 1.13, so I've attached a jar file that works on 1.12.2 to this reply.
     

    Attached Files:

  5. thank you I test and I tell you if it works
     
  6. Hi I still have bugs on the plugins

    [17:03:54] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to xpBottler v1.12.2
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:234) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:201) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:109) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:875) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:40) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:10) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_161]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_161]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
    Caused by: java.lang.NullPointerException
    at com.darkstar.xpbottler.xpBottler.bottle(xpBottler.java:111) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor365.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[Spigot-v1_12_2.jar:git-Spigot-7754231-94b0980]
    ... 18 more
     
  7. Question for you... How many XP is in the bottle?

    For example, if I have 30 levels. How many bottles do I need to fill them all?

    Your idea of mod is better than mine lol. No dependency.
     

  8. One bottle holds a maximum of 50 levels
     
  9. Hi I always have the same problem coming back in the console
    Can you help me?
     
  10. have this error:
    Code (Text):

    > [12:23:46 FATAL]: Error executing task
    java.util.concurrent.ExecutionException: java.lang.AssertionError: TRAP
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_171]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_171]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:200) [spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:896) [spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:411) [spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Caused by: java.lang.AssertionError: TRAP
    at net.minecraft.server.v1_13_R2.ItemStack.E(ItemStack.java:86) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.ItemStack.setCount(ItemStack.java:823) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.ItemStack.add(ItemStack.java:827) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.ItemStack.subtract(ItemStack.java:831) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.ItemExpBottle.a(SourceFile:27) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.ItemStack.a(ItemStack.java:295) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:405) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1293) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:26) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_171]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_171]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) ~[spigot-1.13.1.jar:git-Spigot-2440e18-6304ccd]
    ... 5 more
     
  11. Hey dude you should totally change the way it stores exp, instead of having levels make it store actual exp points because as it is now you can get to level 100 in about 5 minutes
     
  12. also:
    > [08:03:22 ERROR]: Tried to load unrecognized recipe: xpbottler:xpbottler removed now.
    > [08:03:22 ERROR]: Tried to load unrecognized recipe: xpbottler:xpbottler removed now.

    1.13.1
     
  13. Is this happening on server startup?
     
  14. Here's an updated 1.12.2 jar. Let me know if you still have problems.
     

    Attached Files:

  15. that is correct on server startup, then I have to reload the plugin and it works
     
  16. That's strange, i'm not getting that error. Can you try redownloading the xpbottler.jar? I thought I patched that in the latest release a few days ago.