Spigot BagOfGold 3.0.0

BagOfGold creates a new dimension in Minecraft where your server Economy is item based.

  1. hi there the economy part is not loading correctly for vault it seems all plugins dependend on economy are all crashing because it cannot find economy support in vault
     
  2. Rocologo updated BagOfGold with a new update entry:

    V1.1.0 Bug Fixing + New database features

    Read the rest of this update entry...
     
  3. its sad but true it causes a lot of issues with Vault support.
    many plugins that i install still have the problem.that they disable themselves because economy is not loaded.
    and yes i know it loads before bag of gold even when i add a depend to those plugins on this plugin it still loads before this one.

    idk why but Vault doesnt load this plugin in you load it into vault its the other way around.
    how can we fix this?
     
  4. do you need to install this plugin if you have already installed mobhunting, because it seems without this plugin the mobs still drop bags of gold
     
    • Like Like x 1
  5. You need to tell me which plugins which loads too early. Unfortunately the Dev of Vault deny to add more plugins to Vault
     
  6. BagOfGold is an Economy plugin
    MobHunting is a Kill mobs for money plugin
     
  7. i run mobhunting only, the mobs still drop bags of gold, and able to sell them, what is the purpose to install bag of gold? i mean i can just use bags of gold for buy and sell?
     
  8. BagOfGold is an economy plugin, it replaces other economy plugins. If you fex use Essentials and use /bal it will show you how much bagofgold you have. If you use a shop plugin and buy something the money will be withdraw your bagofgold.

    If you use BagOfGold your money is the bagofgold.

    Does that make it clear?
     
  9. yes very clear :)
     
    • Like Like x 1
  10. Rocologo updated BagOfGold with a new update entry:

    V1.1.1 Bug fixing

    Read the rest of this update entry...
     
  11. Already updated to newest version, I haven't seen that error anymore. But I see a lot of new errors:
    Code (Text):
    [Server thread/ERROR]: Could not pass event EntityPickupItemEvent to MobHunting v5.7.0
    org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityItem.d(EntityItem.java:339) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityHuman.c(EntityHuman.java:418) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityHuman.n(EntityHuman.java:393) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityLiving.B_(EntityLiving.java:1946) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityHuman.B_(EntityHuman.java:145) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityPlayer.playerTick(EntityPlayer.java:313) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.PlayerConnection.e(PlayerConnection.java:139) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:233) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:140) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:845) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Caused by: java.lang.NullPointerException
    Code (Text):

    [Server thread/ERROR]: Could not pass event InventoryCloseEvent to BagOfGold v1.1.3
    org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:895) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1669) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:18) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:1) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        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_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Caused by: java.lang.NullPointerException
        at one.lindegaard.BagOfGold.rewards.RewardListeners.onInventoryCloseEvent(RewardListeners.java:30) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        ... 16 more
     
     
  12. Players can pickup money with full inventory:
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
  13. I need the lines after "Caused by: java.lang.NullPointerException" in the first error. These lines are the most important :)
     
  14. Code (Text):
    [06:55:24] [MH TaskThread/WARN]: java.sql.SQLException: Values not bound to statement
    [06:55:24] [MH TaskThread/WARN]:     at org.sqlite.core.CorePreparedStatement.checkParameters(CorePreparedStatement.java:64)
    [06:55:24] [MH TaskThread/WARN]:     at org.sqlite.jdbc3.JDBC3PreparedStatement.executeQuery(JDBC3PreparedStatement.java:73)
    [06:55:24] [MH TaskThread/WARN]:     at one.lindegaard.BagOfGold.storage.DatabaseDataStore.loadPlayerSettings(DatabaseDataStore.java:196)
    [06:55:24] [MH TaskThread/WARN]:     at one.lindegaard.BagOfGold.storage.asynch.PlayerSettingsRetrieverTask.run(PlayerSettingsRetrieverTask.java:28)
    [06:55:24] [MH TaskThread/WARN]:     at one.lindegaard.BagOfGold.storage.asynch.PlayerSettingsRetrieverTask.run(PlayerSettingsRetrieverTask.java:15)
    [06:55:24] [MH TaskThread/WARN]:     at one.lindegaard.BagOfGold.storage.DataStoreManager$TaskThread.run(DataStoreManager.java:307)
    [06:55:25] [Server thread/INFO]: as2327[/176.15.116.85:51457] logged in with entity id 50090 at ([world]37.5, 78.0, 0.5)
    [06:55:25] [Server thread/WARN]: [BagOfGold] Task #304107 for BagOfGold v1.1.3 generated an exception
    java.lang.NullPointerException: null
        at one.lindegaard.BagOfGold.PlayerSettingsManager$2.onCompleted(PlayerSettingsManager.java:168) ~[?:?]
        at one.lindegaard.BagOfGold.PlayerSettingsManager$2.onCompleted(PlayerSettingsManager.java:163) ~[?:?]
        at one.lindegaard.BagOfGold.storage.DataStoreManager$CallbackCaller.run(DataStoreManager.java:244) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Code (Text):
    [Server thread/ERROR]: Could not pass event EntityPickupItemEvent to MobHunting v5.7.0
    org.bukkit.event.EventException: null
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityItem.d(EntityItem.java:339) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityHuman.c(EntityHuman.java:418) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityHuman.n(EntityHuman.java:393) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityLiving.B_(EntityLiving.java:1946) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityHuman.B_(EntityHuman.java:145) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.EntityPlayer.playerTick(EntityPlayer.java:313) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.PlayerConnection.e(PlayerConnection.java:139) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:233) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:140) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:845) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-642f6d2-fbe3046]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Caused by: java.lang.NullPointerException
        at one.lindegaard.BagOfGold.EconomyManager.depositPlayer(EconomyManager.java:127) ~[?:?]
        at one.lindegaard.MobHunting.rewards.PickupRewards.rewardPlayer(PickupRewards.java:29) ~[?:?]
        at one.lindegaard.MobHunting.rewards.EntityPickupItemEventListener.onEntityPickupItemEvent(EntityPickupItemEventListener.java:41) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-642f6d2-fbe3046]
        ... 17 more
     
  15. Strange ??? It looks like the player UUID is null??? Have you done anything special???

    Please test build 83 : https://fractal.lindegaard.one:8181/job/BagOfGold/83

    And please enable debug mode in BagOfGold config.yml before you start the server, please check the server log for errors on startup. And let me know if you get any warnings / error in the server log.
     
  16. Server in offline mode, this can cause that?