Spigot OreNotifier 3.0.6

This plugin allows you to notify your players easily when there's specific material nearby!

  1. Skaiz submitted a new resource:

    OreNotifier | Title and Actionbar Support! - This plugin allows you to notify your players easily when there's specific material nearby!

    Read more about this resource...
     
  2. Is there any additional dependencies? I just keep getting an error

    [Server thread/ERROR]: Could not pass event PlayerMoveEvent to OreNotifier v1.0.0

    Running Spigot 1.11.2
     
  3. Hey, can you send me your config.yml?
     
  4. If you are wanting the config.yml it is the default one, nothing modified.

    I saw in topics that your mods are now requiring SkaizCore, is this needed for the as well? And if so, is there a download somewhere?
     
  5. SkaizCore is built in the plugin, and does this plugin does not require any extra dependencies to work. Could you please send me the whole error message?
     
  6. Code (Text):
    [23:39:28] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to OreNotifier v1.0.0
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:616) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PacketPlayInFlying.a(SourceFile:126) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
        at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
    Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R3/Packet
        at net.skaizdoesmc.orenotifier.utility.PluginUtils.isOreNearby(PluginUtils.java:29) ~[?:?]
        at net.skaizdoesmc.core.listeners.A.on(A.java:26) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        ... 15 more
    Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R3.Packet
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_101]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_101]
        at net.skaizdoesmc.orenotifier.utility.PluginUtils.isOreNearby(PluginUtils.java:29) ~[?:?]
        at net.skaizdoesmc.core.listeners.A.on(A.java:26) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
        ... 15 more
     
  7. Thank you, much appreciated! It seems like the actionbar util I built into the plugin doesn't support 1.9 or higher, for now on, please change it to "TITLE" On config.yml, I will be working on a soluation and this resource will be updated soon, thank you for your patience!
     
  8. The plugin makes my server go from 19,90 TPS to 19,00 when 20 people are online, i remove the plugin and this dont happen
     
  9. With this update, should it work with "ACTIONBAR" in 1.9+? If so, I still get errors, but it is working when set to "TITLE" like you suggested before the update.

    I did think of a possible feature request (if its even possible). To have the plugin only check for the block when holding a specific tool. Example: its looking for diamond blocks, but will only look/display message if you are holding a Diamond Pickaxe. I can see how this could effect server performance with multiple people online, so this may also help with lag if it would first look if they had the right tool equiped.

    Or a way for the player to disable/enable the checks for themselves, so if they are just exploring, but not looking for the block.
     
  10. Good plugin!

    How do you make a list of different ores?

    Thanks.
     
  11. Will make an update soon probably with fixes and the feature to have multiple ores.
     
  12. Update to the latest version :)
     
  13. Hiya!
    It seems like the Craftbukkit 1.12 is causing errors in the plugin, I will take a look at it tomorrow. Sorry about the inconvenience.
     
  14. No problem Skaiz, thanks to you for this wonderful & unique plugin!

    Regards.