wisehollow / spigot-mobcapture Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
It would be nice to add a percentage like 40% chance to catch and you lose the money/item if fails as well.
Option to give a number of catch items to a player. This could be done like this: /MobCapture spawn [amount] [playername]
If amount is left out it would default to one and if the player name is left out it would default to the player issuing the command. It's important this command would be executable from console.
Encountered an error with this plugin when the user attempts to use the egg feature.
This server is running CraftBukkit version git-Spigot-fe3ab0d-bfb9131 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
[00:00:03] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MobCapture v1.2.6 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:238) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:205) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerInteractManager.a(PlayerInteractManager.java:109) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1152) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_13_R2/NBTBase at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_13_R2.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:105) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more [00:00:03] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MobCapture v1.2.6 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:238) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:205) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerInteractManager.a(PlayerInteractManager.java:109) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1152) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_13_R2/NBTBase at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_13_R2.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:105) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more [00:00:03] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MobCapture v1.2.6 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:238) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:205) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerInteractManager.a(PlayerInteractManager.java:109) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1152) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_13_R2/NBTBase at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_13_R2.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:105) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more [00:00:03] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MobCapture v1.2.6 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:238) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:205) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerInteractManager.a(PlayerInteractManager.java:109) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1152) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_13_R2/NBTBase at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_13_R2.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:105) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more [00:00:03] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to MobCapture v1.2.6 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:238) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.craftbukkit.v1_13_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:205) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerInteractManager.a(PlayerInteractManager.java:109) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnection.a(PlayerConnection.java:1152) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181] at net.minecraft.server.v1_13_R1.SystemUtils.a(SourceFile:198) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.w(MinecraftServer.java:884) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.DedicatedServer.w(DedicatedServer.java:411) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.v(MinecraftServer.java:819) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:717) [spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_13_R2/NBTBase at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_13_R2.NBTBase at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:105) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at net.johnbrooks.mh.events.EventManager.useSpawnEgg(EventManager.java:197) ~[?:?] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-fe3ab0d-bfb9131] ... 18 more
I would like to see an option for using BOTH (ITEM + VAULT) as a requirement to capture mobs.
I didn't notice the error until I was looking through the logs looking for another error but here's the code for reference: https://gist.github.com/kaniesha/9648db69a71b36dc24714aacbc7676fd
I would like to be able to limit the number of mobs people catch. Currently, it can more or less be done by charging money for it but that isn't really something limiting for older players which is the group of people I want to restrict the most. Therefore I was hoping you could make it so they can only catch a configurable amount of mobs per a configurable amount of time
[14:25:21] [Server thread/ERROR]: Could not pass event ProjectileLaunchEvent to MobCapture v1.2.10
java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 36
at java.util.Arrays$ArrayList.get(Arrays.java:4351) ~[?:?]
at net.minecraft.server.v1_13_R2.NonNullList.get(SourceFile:46) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.PlayerInventory.getItem(PlayerInventory.java:556) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.craftbukkit.v1_13_R2.inventory.CraftInventory.getItem(CraftInventory.java:51) ~[patched_1.13.2.jar:git-Paper-639]
at net.johnbrooks.mh.events.EventManager.assignMetaDataOnLaunch(EventManager.java:62) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor900.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.13.2.jar:git-Paper-639]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:520) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callProjectileLaunchEvent(CraftEventFactory.java:1074) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:404) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.World.addEntity(World.java:1095) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.WorldServer.addEntity(WorldServer.java:942) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.World.addEntity(World.java:1083) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.craftbukkit.v1_13_R2.entity.CraftLivingEntity.launchProjectile(CraftLivingEntity.java:460) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.craftbukkit.v1_13_R2.entity.CraftLivingEntity.launchProjectile(CraftLivingEntity.java:381) ~[patched_1.13.2.jar:git-Paper-639]
at com.projectkorra.projectkorra.chiblocking.Smokescreen.progress(Smokescreen.java:45) ~[?:?]
at com.projectkorra.projectkorra.ability.CoreAbility.progressAll(CoreAbility.java:274) ~[?:?]
at com.projectkorra.projectkorra.BendingManager.run(BendingManager.java:117) ~[?:?]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.13.2.jar:git-Paper-639]
at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:449) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1010) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:940) ~[patched_1.13.2.jar:git-Paper-639]
at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:837) ~[patched_1.13.2.jar:git-Paper-639]
at java.lang.Thread.run(Thread.java:834) [?:?]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.