Gringotts

Discussion in 'Spigot Plugin Development' started by TomXPro, Jan 2, 2015.

  1. Hey community,

    one of the best plugins, Gringotts, seems to be dead.
    http://dev.bukkit.org/bukkit-plugins/gringotts/

    I've sent the author a PM but his last login was in Nov 2014.
    Gringotts is open source.

    We really need a working version for 1.7.10!
    I would donate for a new working version and I'm sure, some other users will do as well.

    Somebody?
    Happy New Year
    Tom

    FYI: I wrote a request at Bukkit, too.
     
    • Agree Agree x 1
  2. D: I used to use this plugin on my old server and it was great! I hope someone picks it up
     
    • Agree Agree x 2
  3. Eh...never used it, but I guess I could update it...
     
    • Like Like x 3
  4. A Must-Have for MMO / RPG servers.
     
    • Agree Agree x 1
  5. Yes, I'll also see if I'll be able to take over development on Bukkit (doubt it), but I'll keep it updated on my Github repo.
     
    • Like Like x 1
    • Like Like x 1
  6. Awesome! We wanted to launch the new MMO Server yesterday and just Gringotts failed for 1.7.10 :mad:
    You would make some people happy :)
     
  7. The latest offical Gringotts causes console errors as the user mrelfire posted at the project page.

    Code (Text):
        Error registering MBean[Ebean:server=Gringotts2]
        java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
            at java.security.AccessControlContext.checkPermission(Unknown Source) ~[?:1.8.0_25]
            at java.lang.SecurityManager.checkPermission(Unknown Source) ~[?:1.8.0_25]
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(Unknown Source) ~[?:1.8.0_25]
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) ~[?:1.8.0_25]
            at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) ~[?:1.8.0_25]
            at com.avaje.ebeaninternal.server.core.DefaultServer.registerMBeans(DefaultServer.java:389) [DefaultServer.class:?]
            at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:226) [DefaultServerFactory.class:?]
            at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64) [DefaultServerFactory.class:?]
            at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78) [EbeanServerFactory.class:?]
            at org.bukkit.plugin.java.JavaPlugin.init(JavaPlugin.java:362) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:509) [PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:66) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.gestern.gringotts.Gringotts.<init>(Gringotts.java:36) [Gringotts-2.3.jar:?]
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_25]
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_25]
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_25]
            at java.lang.reflect.Constructor.newInstance(Unknown Source) [?:1.8.0_25]
            at java.lang.Class.newInstance(Unknown Source) [?:1.8.0_25]
            at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:201) [PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) [JavaPluginLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:334) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:256) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:320) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
            at net.minecraft.world.storage.SaveHandler.initBukkitData(SaveHandler.java:458) [ayq.class:?]
            at net.minecraft.world.storage.SaveHandler.func_75757_d(SaveHandler.java:136) [ayq.class:?]
            at net.minecraft.world.World.<init>(World.java:350) [ahb.class:?]
            at net.minecraft.world.WorldServer.<init>(WorldServer.java:153) [mt.class:?]
            at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:356) [MinecraftServer.class:?]
            at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:329) [lt.class:?]
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
        [09:05:35] [Server thread/INFO]: [PopulationDensity] Loading PopulationDensity v4.3

    That would not be a problem, but we found out after days of searching that it's Gringotts combined with Vault and another Economy plugins that crashes some of our servers.
     
  8. Okay, I tried the recompiled version from @DarkSeraphim and it causes the same error on Cauldron 1.7.10 using Vault 1.4.1.

    Code (Text):
    [10:01:01] [Server thread/ERROR]: Error registering MBean[Ebean:server=Gringotts2]
    java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
        at java.security.AccessControlContext.checkPermission(Unknown Source) ~[?:1.8.0_25]
        at java.lang.SecurityManager.checkPermission(Unknown Source) ~[?:1.8.0_25]
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(Unknown Source) ~[?:1.8.0_25]
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) ~[?:1.8.0_25]
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) ~[?:1.8.0_25]
        at com.avaje.ebeaninternal.server.core.DefaultServer.registerMBeans(DefaultServer.java:389) [DefaultServer.class:?]
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:226) [DefaultServerFactory.class:?]
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64) [DefaultServerFactory.class:?]
        at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78) [EbeanServerFactory.class:?]
        at org.bukkit.plugin.java.JavaPlugin.init(JavaPlugin.java:362) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:509) [PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:66) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.gestern.gringotts.Gringotts.<init>(Gringotts.java:36) [Gringotts-2.4-1.7.10.jar:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_25]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_25]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_25]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) [?:1.8.0_25]
        at java.lang.Class.newInstance(Unknown Source) [?:1.8.0_25]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:201) [PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) [JavaPluginLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:334) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:256) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:320) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at net.minecraft.world.storage.SaveHandler.initBukkitData(SaveHandler.java:458) [ayq.class:?]
        at net.minecraft.world.storage.SaveHandler.func_75757_d(SaveHandler.java:136) [ayq.class:?]
        at net.minecraft.world.World.<init>(World.java:350) [ahb.class:?]
        at net.minecraft.world.WorldServer.<init>(WorldServer.java:153) [mt.class:?]
        at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:356) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:329) [lt.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
     
  9. Alright, I've updated the plugin to 1.7.10, fixed a couple errors, but there is one that I've found and couldn't fix probably because I was running a slightly outdated version of Worldguard, meaning its functionality was limited. Other than that the plugin is running smoothly, no crashes as you've been experiencing before.

    I'll probably upload this to the resources section (crediting the original authors of course :p) today, so everyone in need of an updated version of this plugin can actually use it. Expect a 1.8 plugin soon :).

    Sorry I had to go to bed last night :p

    Edit: I haven't tested it for Cauldron, but it works fine on Craftbukkit, and Spigot.
     
    • Like Like x 2
  10. Give me a moment to push the source/compiled builds to github :)
     
  11. Done: https://github.com/Acharige/Gringotts-

    For your own good, I went ahead and compiled it (like I said I'd do). To download it, click the tab where it says "1 release" > Gringotts 1.7.10.jar

    Let me know if you've encountered errors or such (not likely with Craftbukkit/Spigot 1.7.10. Not so sure about Cauldron though.
     
  12. :(

    It does the same as the official version.
    It loads with errors and runs. But that's causing server freezes and crashes later if users want to use Vault Chests in combination with Gringotts.

    Code (Text):
    [15:54:17] [Server thread/INFO]: DataSourcePool [Gringotts] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    [15:54:17] [Server thread/INFO]: SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    [15:54:18] [Server thread/INFO]: Entities enhanced[0] subclassed[2]
    [15:54:19] [Server thread/ERROR]: Error registering MBean[Ebean:server=Gringotts2]
    java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
        at java.security.AccessControlContext.checkPermission(Unknown Source) ~[?:1.8.0_25]
        at java.lang.SecurityManager.checkPermission(Unknown Source) ~[?:1.8.0_25]
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(Unknown Source) ~[?:1.8.0_25]
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) ~[?:1.8.0_25]
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) ~[?:1.8.0_25]
        at com.avaje.ebeaninternal.server.core.DefaultServer.registerMBeans(DefaultServer.java:389) [DefaultServer.class:?]
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:226) [DefaultServerFactory.class:?]
        at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64) [DefaultServerFactory.class:?]
        at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78) [EbeanServerFactory.class:?]
        at org.bukkit.plugin.java.JavaPlugin.init(JavaPlugin.java:362) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:509) [PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:66) [JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.gestern.gringotts.Gringotts.<init>(Gringotts.java:36) [Gringotts.1.7.10.jar:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_25]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_25]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_25]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) [?:1.8.0_25]
        at java.lang.Class.newInstance(Unknown Source) [?:1.8.0_25]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:201) [PluginClassLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) [JavaPluginLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:334) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:256) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:320) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.06.212]
        at net.minecraft.world.storage.SaveHandler.initBukkitData(SaveHandler.java:458) [ayq.class:?]
        at net.minecraft.world.storage.SaveHandler.func_75757_d(SaveHandler.java:136) [ayq.class:?]
        at net.minecraft.world.World.<init>(World.java:350) [ahb.class:?]
        at net.minecraft.world.WorldServer.<init>(WorldServer.java:153) [mt.class:?]
        at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:356) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:329) [lt.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
     
    Code (Text):
    [15:54:24] [Server thread/INFO]: [Gringotts] Loading Gringotts v2.5-SNAPSHOT
    Code (Text):
    [15:54:26] [Server thread/INFO]: [Gringotts] Enabling Gringotts v2.5-SNAPSHOT
    [15:54:26] [Server thread/INFO]: Can not test connection as heartbeatsql is not set
    [15:54:26] [Server thread/INFO]: Closing Connection[Gringotts.1] psReuse[0] psCreate[1] psSize[0]
    [15:54:26] [Server thread/INFO]: [Gringotts] Initializing database tables.
    [15:54:26] [Server thread/INFO]: runScript
    [15:54:26] [Server thread/INFO]: executing 1 of 2 create table gringotts_account ( id                        integer primary key,...
    [15:54:26] [Server thread/INFO]: executing 2 of 2 create table gringotts_accountchest ( id                        integer primary...
    [15:54:26] [Server thread/INFO]: ... end of script
    [15:54:26] [Server thread/INFO]: [Gringotts] Player database not migrated to UUIDs yet. Attempting migration
    [15:54:26] [Server thread/INFO]: [Gringotts] Created backup of Gringotts database as Gringotts.db.bak
    [15:54:26] [Server thread/INFO]: [Gringotts] Players to UUIDs database migration complete.
    [15:54:27] [Server thread/INFO]: [Gringotts] Found Bukkit version: 1.7.10-R0.1-SNAPSHOT. All features enabled.
    [15:54:27] [Server thread/INFO]: [Gringotts] Plugin Factions hooked.
    [15:54:27] [Server thread/INFO]: [Gringotts] Unable to hook plugin Towny
    [15:54:27] [Server thread/INFO]: [Gringotts] Plugin Vault hooked.
    [15:54:27] [Server thread/INFO]: [Gringotts] Plugin WorldGuard hooked.
    [15:54:27] [Server thread/INFO]: [Gringotts] Registered Vault interface.
     
  13. Are you using Cauldron, and is everything else working?
     
    • Agree Agree x 1
  14. @TomXPro well you never told me you were running Cauldron (which is causing your error, not Gringotts)
     
    • Agree Agree x 3
  15. Eh, give me a moment, you just need to reference the Cauldron API.
     
  16. I'm sorry. You're right. As 99% of Spigot / Bukkit Plugins are working fine with Cauldron I didn't thought about that.
    But at the original thread at Bukkit you'll see the discussion about Cauldron.

    My fault not clarifying it immediately.