Premium ✅ SafariNet - Premium Mob Catcher plugin [Paid]

Discussion in 'Resource Discussion' started by MasterCake, Jul 20, 2015.

  1. Hey, how do i detect the custom creatures of other plugins that are prohibited from capturing?
    I found for example: ProCosmetics cosmetics plugs and mounts
    Can be captured by the player, this is a very serious problem....
     
  2. Dunno why they're "clickable". The developers of those plugins have to cancel the "EntityInteractAtEntityEvent" probably, then SafariNet would work fine with them.
     
  3. I don't know, I am just a beginner of a small server.
    So what do you suggest me to do? I guess these authors will not modify their version for this QAQ
     
  4. Send me the plugins (the .jar files) or ask the developers for giving me a free copy of it. Otherwise, I can't help in making them compatible.
     
    • Like Like x 1
  5. @MasterCake this is spamming console, on the latest version:
    Caused by:
    java.lang.ClassCastException:
    org.bukkit.craftbukkit.v1_13_R2.entity.CraftItem cannot be cast to
    org.bukkit.inventory.ItemStack

    de.Linus122.SafariNet.Listeners.Listeners.onetnitySafariPickup(Listeners.java:152)
     
  6. @mastercake10 Bug Report - Using Spigot 1.12.2:
    When I have two or more of the same type of safari net (such as a horse with the exact same properties/attributes as the other egg(s)) in my hot bar then try to place a horse, it places the horse then makes all of the eggs in my hot bar disappear. Please fix, thanks!

    There is no console error.

    Plugin Version: SafariNet v1.13.01 (Not sure of newer ones only support 1.13)
    Server Version: CraftBukkit version git-Spigot-642f6d2-57ab4cf (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
     
  7. A player on my server caught a vindicator, but couldn't release it. It just sent them a message saying that it was broken.
    This warning was found in the console.

    I am using spigot version 1.13.2, and plugin version 1.13.22. I am going to update to the latest version in case you fixed this, but I thought I would report this anyway.

    Code (Text):
    [03:27:30] [Server thread/WARN]: Skipping Entity with id minecraft:vindication_illager
    [03:27:30] [Server thread/WARN]: java.lang.NullPointerException
    [03:27:30] [Server thread/WARN]:     at de.Linus122.SafariNet.version.v1_13_R2.SafariNet.getEntity(SafariNet.java:139)
    [03:27:30] [Server thread/WARN]:     at de.Linus122.SafariNet.Listeners.onInteract(Listeners.java:151)
    [03:27:30] [Server thread/WARN]:     at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
    [03:27:30] [Server thread/WARN]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [03:27:30] [Server thread/WARN]:     at java.lang.reflect.Method.invoke(Method.java:498)
    [03:27:30] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    [03:27:30] [Server thread/WARN]:     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    [03:27:30] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500)
    [03:27:30] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485)
    [03:27:30] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:251)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:452)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1244)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10)
    [03:27:30] [Server thread/WARN]:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    [03:27:30] [Server thread/WARN]:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835)
    [03:27:30] [Server thread/WARN]:     at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733)
    [03:27:30] [Server thread/WARN]:     at java.lang.Thread.run(Thread.java:748)
     
  8. Lee

    Lee

    Hello, just a few requests :)

    • Can you change the @EventHandler's to @EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)'s it as the plugin currently doesn't work with our claim system (as in all users can capture and release everywhere regardless of claims)
    • When an egg is used on a block (so it's not used on an entity or in the air) it throws an exception in the console "Invalid tag encountered" see https://pastebin.com/ffBxp04U and tells the player that the egg appears to be broken
     
  9. I found out that the problem above was because the safari nets were caught in 1.12.2, and they were trying to release it in 1.13.2. They must have gotten corrupted from the version change.
     
  10. Attached Files:

  11. A note for everyone who hasn't joined my discord yet - you can also leave your bug reports or feature requests at my official discord, called SpaceIO.
     
  12. I have these problems with the server of 1.13.2

    [07:42:51] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to SafariNet v1.13.31-SNAPSHOT
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:251) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:452) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1242) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInUseItem.a(PacketPlayInUseItem.java:1) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    Caused by: java.lang.ClassCastException: com.bekvon.bukkit.residence.Residence cannot be cast to de.Linus122.SafariNet.Main
    at de.Linus122.SafariNet.Hooks.HookResidence.cantRelease(HookResidence.java:31) ~[?:?]
    at de.Linus122.SafariNet.Listeners.ReleaseListener.onRelease(ReleaseListener.java:73) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    ... 17 more
    [07:42:52] [Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to SafariNet v1.13.31-SNAPSHOT
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1828) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:69) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:13) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    Caused by: java.lang.ClassCastException: com.bekvon.bukkit.residence.Residence cannot be cast to de.Linus122.SafariNet.Main
    at de.Linus122.SafariNet.Hooks.HookResidence.cantCatch(HookResidence.java:17) ~[?:?]
    at de.Linus122.SafariNet.Listeners.CaptureListener.interact(CaptureListener.java:105) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    ... 15 more
    [07:42:53] [Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to SafariNet v1.13.31-SNAPSHOT
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1828) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:69) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:13) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    Caused by: java.lang.ClassCastException: com.bekvon.bukkit.residence.Residence cannot be cast to de.Linus122.SafariNet.Main
    at de.Linus122.SafariNet.Hooks.HookResidence.cantCatch(HookResidence.java:17) ~[?:?]
    at de.Linus122.SafariNet.Listeners.CaptureListener.interact(CaptureListener.java:105) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    ... 15 more
    [07:42:53] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to SafariNet v1.13.31-SNAPSHOT
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:251) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1287) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:26) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_72]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_72]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    Caused by: java.lang.ClassCastException: com.bekvon.bukkit.residence.Residence cannot be cast to de.Linus122.SafariNet.Main
    at de.Linus122.SafariNet.Hooks.HookResidence.cantRelease(HookResidence.java:31) ~[?:?]
    at de.Linus122.SafariNet.Listeners.ReleaseListener.onRelease(ReleaseListener.java:73) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar:git-Spigot-a1ba5fe-3359cb1]
    ... 16 more
     
  13. Is the fault fixed? Waiting for a long time
     
  14. @MasterCake Issue on Spigot 1.13.2: https://pastebin.com/c4TcrCyg

    At the time of the error, I was testing whether safari nets with animals in them could be used to change spawners by right clicking the spawner (as if it did allow that it would be a major exploit). Luckily, it did not allow it. However, I did get these console errors.

    Then I tried just placing down a chicken using a reusable spawn egg (no error).
    Then I picked up the chicken using a reusable spawn egg and got a console error. So I believe that's the issue not the spawner.

    Anyways, I'd appreciate you fixing it as it isn't worth running for 1.13 if it shows that error each time someone uses the plugin.

    Thanks!
     
    • Useful Useful x 1
  15. I still get errors with Residence and Safarinet that makes it not work.
    https://pastebin.com/JvakDXNP
    I have the latest version of each plugin