Spigot GemsEconomy 4.9.2

This is a custom multi-currency economy plugin! Free & Open Sourced! With vault support

  1. Make sure that player really exist

    Does it work with other commands, such as /give?
     
  2. Xanium updated GemsEconomy with a new update entry:

    1.16 support + Bug fixes

    Read the rest of this update entry...
     
  3. If I were to add a few big new features to this plugin would that be appreciated by you guys?

    • Proper multi server support, (Redis?)
    • Per server currency
    • A very detailed economy logger
    • Reserve API support
    • Better cheque system
    • Better Vault bridge
    Maybe for version 5?
    I'll just check in with this post at a later time and see :)
    Since I don't have time to do this atm
     
    • Like Like x 1
  4. Are you active now? I like your plugin very much :D
    It will be cool if you have a discord server :)
     
  5. A discord would be cool yes, If I were an active dev here on spigot. But sadly im not.
     
  6. on 1.12.2 the latest version doesnt save the money cache into myql.
    So when you get money and rejoin, you get the same money which you have when you have joined.
     
  7. Nice plugin, but you have one error while working with mysql database and i fixed it. In method createAccount(Account account) you specified only 3 parameters, while needed 6(repeat them twice), because your request has 6 variables, and they can't repeat.
     
  8. Oh, you have the same issue with saveAccount method and also you forgot to execute request in saveCurrency method
     
    #328 vitshev, Sep 8, 2020
    Last edited: Sep 8, 2020
  9. does it have a /reload command now?
     
  10. Guys, GemsEconomy works on 1.8?
     
  11. Code (Text):
     [PlaceholderAPI] Plugin PlaceholderAPI v2.10.6 generated an exception while executing task 251306
    java.lang.NullPointerException: null
            at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:100) ~[?:?]
            at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:220) ~[?:?]
            at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:48) ~[?:?]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
    [13:07:36 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.6 generated an exception while executing task 251306
    java.lang.NullPointerException: null
            at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:100) ~[?:?]
            at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:220) ~[?:?]
            at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:48) ~[?:?]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
    [13:08:06 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.6 generated an exception while executing task 251306
    java.lang.NullPointerException: null
            at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:100) ~[?:?]
            at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:220) ~[?:?]
            at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:48) ~[?:?]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[Paper-1.12.2-b1618.jar:git-Paper-1618]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_262]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_262]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
     
  12. Update the placeholders pls
     
  13. Code (Text):

    [17:53:09 WARN]: Legacy plugin GemsEconomy v4.9 does not specify an api-version.
    [17:53:09 INFO]: [GemsEconomy] Enabling GemsEconomy v4.9*
    [17:53:09 INFO]: [GemsEconomy] Initializing data store "MySQL"...
    [17:53:09 INFO]: [com.zaxxer.hikari.HikariDataSource] HikariPool-2 - Starting...
    [17:53:09 INFO]: [com.zaxxer.hikari.HikariDataSource] HikariPool-2 - Start completed.
    [17:53:09 INFO]: [GemsEconomy] Loading currencies...
    [17:53:09 INFO]: [GemsEconomy] Loaded 0 currencies!
    [17:53:09 INFO]: [GemsEconomy] Vault link is disabled.
    [17:53:24 INFO]: UUID of player Nioxed is 75f649e3-c9e0-4582-998c-e67cd1544d70
    [17:53:24 WARN]: java.sql.SQLException: No value specified for parameter 4
    [17:53:24 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
    [17:53:24 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
    [17:53:24 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
    [17:53:24 WARN]: at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
    [17:53:24 WARN]: at com.mysql.jdbc.PreparedStatement.checkAllParametersSet(PreparedStatement.java:2268)
    [17:53:24 WARN]: at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2248)
    [17:53:24 WARN]: at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2178)
    [17:53:24 WARN]: at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1219)
    [17:53:24 WARN]: at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
    [17:53:24 WARN]: at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
    [17:53:24 INFO]: Nioxed joined the game
    [17:53:24 WARN]: at me.xanium.gemseconomy.data.MySQLStorage.createAccount(MySQLStorage.java:324)
    [17:53:24 WARN]: at me.xanium.gemseconomy.listeners.EconomyListener.lambda$onLogin$0(EconomyListener.java:39)
    [17:53:24 WARN]: at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftTask.run(CraftTask.java:99)
    [17:53:24 WARN]: at org.bukkit.craftbukkit.v1_16_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
    [17:53:24 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
    [17:53:24 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    [17:53:24 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    [17:53:24 WARN]: at java.lang.Thread.run(Thread.java:748)
     
    seems nothing wants to save to sql
     
  14. I'm running Paper 1.16.3 + Vault + Placeholders API
    Is this plugin compatible with my server?
    I'm asking becaus in the main page you didn't write 1.16 support but in one of your last update I understand that you release a 1.16 support.
    I'm confused.
     
  15. you found a solution?
    i have the same error
     
  16. [18:17:37] [Craft Scheduler Thread - 2/WARN]: [DeluxeMenus] Plugin DeluxeMenus v1.13.3-Release generated an exception while executing task 92623
    java.lang.NoClassDefFoundError: me/xanium/gemseconomy/economy/AccountManager
    at me.xanium.gemseconomy_expansion.GemsEcoExpansion.onRequest(GemsEcoExpansion.java:66) ~[?:?]
    at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
    at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
    at com.extendedclip.deluxemenus.menu.MenuHolder.setPlaceholders(MenuHolder.java:97) ~[?:?]
    at com.extendedclip.deluxemenus.menu.MenuItem.getItemStack(MenuItem.java:591) ~[?:?]
    at com.extendedclip.deluxemenus.menu.Menu.lambda$openMenu$1(Menu.java:262) ~[?:?]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.16.4.jar:git-Spigot-a19903d-167ff59]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.16.4.jar:git-Spigot-a19903d-167ff59]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_271]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_271]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
    Caused by: java.lang.ClassNotFoundException: me.xanium.gemseconomy.economy.AccountManager
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_271]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_271]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_271]
    ... 11 more

    When I use variables in the menu, the following error appears when I open the menu
     
  17. Code (Text):
    [13:26:39] [Server thread/WARN]: [GemsEconomy] Task #168 for GemsEconomy v4.9 generated an exception
    java.lang.NullPointerException: null
            at me.xanium.gemseconomy.account.AccountManager.getAccount(AccountManager.java:42) ~[?:?]
            at me.xanium.gemseconomy.listeners.EconomyListener.lambda$onJoin$1(EconomyListener.java:64) ~[?:?]
            at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1060) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:355) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1008) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:847) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.4.jar:git-Spigot-a19903d-009f0ba]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
    Hello, I wonder why this occurs? its clear that something is null or is not starting correctly.
    But there aren't errors in console on startup, so thats why im consufed

    please tell us know why is this happening and how to fix it. I guess its probably an issue with the code?
     
  18. Will this plugin receive updates? Just wondering, can you answer?
     
  19. Mysql doesnt saves the currencies!
     
  20. Hello, I am running a 1.16.4 server through Minehut with your lovely plugin (I really appreciate the way the economy works) and I have a small issue:
    When trying to use /cheque it consumes the currency, doesn't give me the item, and outputs the following into chat:
    An internal error occurred while attempting to perform this command.

    I'm still new to plugins and server running, so I don't know if this is a mistake on my part or some problem with the command.
    Any and all help you can provide will be appreciated.