Spigot Ore Market | Stock Market for Ores in Minecraft 2.2.5

Realistic stock market for Ores!

  1. OllieJW submitted a new resource:

    Ore Market - Realistic stock market for Ores!

    Read more about this resource...
     
  2. Super interesting, Will you be adding the other ores, and does this only buy/sell the block form? (This would be preferable to me as those are not farmable, unlike gold ingots, iron ingots, quartz, e.t.c)
     
  3. Adding your own blocks/items will be coming soon and as of now you can only sell ore variants
     
    • Like Like x 1
  4. Another interesting feature would be an optional "external factors" influence on price, so that every day the price is adjusted by a random (configurable range) value
     
  5. Hey! I've noticed this error on the console. Do you have any idea what might be causing it?

    Code (Text):
    [19:33:15 WARN]: Legacy plugin OreMarket v1.1 does not specify an api-version.
    [19:33:15 ERROR]: Fatal error trying to convert OreMarket v1.1:ro/olliejw/market/Utils.class
    org.bukkit.plugin.AuthorNagException: No legacy enum constant for OAK_DOOR. Did you forget to define a modern (1.13+) api-version in your plugin.yml?
        at org.bukkit.craftbukkit.v1_16_R3.util.Commodore$1$1.visitFieldInsn(Commodore.java:200) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.readCode(ClassReader.java:2421) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1491) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.accept(ClassReader.java:721) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.libs.org.objectweb.asm.ClassReader.accept(ClassReader.java:401) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.v1_16_R3.util.Commodore.convert(Commodore.java:131) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.v1_16_R3.util.CraftMagicNumbers.processClass(CraftMagicNumbers.java:327) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:140) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:96) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_281]
        at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_281]
        at ro.olliejw.market.Main.<clinit>(Main.java:70) ~[?:?]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_281]
        at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_281]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:382) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:224) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:928) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:273) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
     
    • Useful Useful x 1
  6. Also got this error when selling something.The item disappears from my inventory but my money stays the same.

    Code (Text):
    [20:40:15] [Server thread/ERROR]: Could not pass event InventoryClickEvent to OreMarket v1.1
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2435) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:32) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:10) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:28) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1061) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1054) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1038) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:970) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:273) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
    Caused by: java.lang.NullPointerException
            at ro.olliejw.market.MarketEvents.clk(MarketEvents.java:35) ~[?:?]
            at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) ~[?:?]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
            at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot.jar:3045-Spigot-a25e8ed-115244c]
            ... 18 more
     
    • Useful Useful x 1
  7. i really like this plugin, but i would love to see mysql price support to have the same prices on different servers,
    Keep up the great work (y)(y)
     
  8. I'll add this to the to-do list. Thanks for the suggestion!
     
  9. OllieJW updated [RECODED] Ore Market | Stock Market for Ores in Minecraft with a new update entry:

    FINALLY HERE!!

    Read the rest of this update entry...
     
    • Winner Winner x 1
  10. Thank you very much brother, sorry the video is explained in Spanish
     
    • Friendly Friendly x 1
  11. OllieJW updated Ore Market | Stock Market for Ores in Minecraft with a new update entry:

    Market Crash and Stats

    Read the rest of this update entry...
     
  12. How can I use the placeholders to make the info available in holograms?
     
  13. In the next update :)
     
  14. OllieJW updated Ore Market | Stock Market for Ores in Minecraft with a new update entry:

    Placeholders and heads!

    Read the rest of this update entry...
     
  15. Just a FYI the 2.2 downloads as 2.1.1.