Gringotts

Gringotts Goblin Head

Gringotts: Item based currency.

Gringotts is an item-based economy (currency) plugin for the Bukkit Minecraft server platform. Unlike earlier economy plugins, all currency value and money transactions are based on actual items in Minecraft, per default emeralds. The goals are to add a greater level of immersion, a generally more Minecraft-like feeling, and in the case of a PvP environment, making the currency itself vulnerable to raiding.

Gringotts was originally created for the Minecraft Wars PvP/survival server.

Features

  • Item-backed economy (configurable, default emeralds)
  • multiple denominations with automatic conversion (for example, use emeralds and emerald blocks)
  • Storage of currency in chests and other containers, player inventory and ender chests (configurable)
  • direct account-to-account transfers commands
  • optional transaction taxes
  • fractional currency values (fixed decimal digits)
  • Account support for Factions, Towny and WorldGuard
  • Vault integration

Latest changes

To get notified of new versions, please subscribe to file updates.

v2.3

supports player UUIDs
old Derby databases will be automatically migrated to the Bukkit-internal database
player names in the database will be automatically migrated to UUIDs
built against Bukkit 1.7.9, Vault 1.4, Java 7.
This version of Gringotts may no longer work with older versions of Bukkit, Vault and Java.
vaults can now be created from most containers (chest, trapped chest, hopper, dropper, dispenser, furnace)
fix a bug preventing creation of vaults when the db still contained vaults in deleted worlds
fix a bug allowing to create multiple vaults on a single container
fix messages on taxed transactions (thanks noidexe!)

v2.2

  • use factions 2.x
  • build against bukkit 1.7.2

v2.0.5

  • fixes for invalid vaults.
  • fix vault creation breaking under some circumstances involving Towny
  • added support for built-in Bukkit database support. This means that the Derby library is no longer required. If the Derby jar is present, Gringotts will continue to use it, otherwise a DB will be created via the Bukkit API. This should also support MySQL if you configure it in bukkit.yml. Please see the http://wiki.bukkit.org/Bukkit.yml#database for details.

Planned Features

Instructions

Installation and Configuration

Download Gringotts and place it in your craftbukkit/plugins folder

Please see the Configuration and Permissions document on how to configure Gringotts.

Usage

For full information on configuration and usage in Gringotts v2.x, please see the configuration page and the usage page respectively.

Storing money in an account requires a Gringotts vault. A vault consists of a container, which can be either chest, dispenser or furnace, and a sign above declaring it as a vault. A player or faction may claim any number of vaults. Vaults are not protected from access through other players. If you would like them to be, you may use additional plugins such as LWC or WorldGuard.

Player vaults

Place a sign above a container block, with [vault] written on the first line. If it was created correctly, the sign will display your name on the third line and you will receive a message that the vault has been created.

Faction vaults

Place a sign above a container block, with [faction vault] written on the first line. If it was created correctly, the sign will display your faction's tag on the third line and you will receive a message that the vault has been created.

Towny vaults

  • To make a vault for your town: place a sign above a container block, with [town vault] written on the first line.
  • To make a vault for your nation: place a sign above a container block, with [nation vault] written on the first line.
    If it was created correctly, the sign will display your town's or nation's tag on the third line and you will receive a message that the vault has been created.

User commands

/money

Display your account's current balance.

/money pay <amount> <player>

Pay an amount to a player. The transaction will only succeed if your account has at least the given amount plus any taxes that apply, and the receiving account has enough capacity for the amount.

/money withdraw <amount>
/money deposit <amount>

Withdraw an amount from vault storage into inventory, or deposit from inventory to a vault.

Admin commands

/moneyadmin b <account>

Get the balance of a player's account.

/moneyadmin add <amount> <account>

Add an amount of money to a player's account.

/moneyadmin rm <amount>

Remove an amount of money from a player's account.

/gringotts reload

Reload Gringotts config.yml and apply any changed settings.

Need Help?

For support requests, feature requests and bug reports, please open a ticket.

Also, follow me on twitter: @ebenwert

Source

Gringotts is open source. View, fork and edit on Github

Metrics

We use metrics to collect stats! We only collect basic information such as cpu info, plugin version type, and players online. If you want to see everything, click on the graph.
Go into plugins/PluginMetrics/config.yml to disable stat collecting if you wish.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of mrelfire mrelfire Dec 20, 2014 at 08:07 UTC - 0 likes

    @TomXPro: Go

    I have used 2.3 against cauldron 1.7.10 and it doesn't work, I have :

    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
    
  • Avatar of TomXPro TomXPro Dec 19, 2014 at 19:42 UTC - 0 likes

    @mrelfire: Go

    It works with Cauldron 1.7.10

  • Avatar of dfdgsdfg dfdgsdfg Dec 19, 2014 at 05:54 UTC - 0 likes

    We love you plugin, also.

    I really hope this can be updated soon.

    Thank you for your great works. :)

  • Avatar of Craftless Craftless Dec 13, 2014 at 05:23 UTC - 0 likes

    We have officially reached a point of not being able to use vault with factions whatsoever. I have turned every setting I can off in factions to disallow a faction economy, yet Gringotts still tries to "cash out" non existent faction vaults when a faction disbands. This causes a sever error and factions cannot be disbanded at all. Then after two weeks we reach the point of the auto disband factions, which try to auto disband repeatedly and spam chat.

    This is such an amazing plugin. If factions integration could just be removed, then it would still be great. The extra feature is what is killing it.

    I really hope this can be updated soon. We love your plugin.

  • Avatar of Ultimatenom Ultimatenom Dec 11, 2014 at 15:24 UTC - 0 likes

    Are there any plans to update this for Spigot 1.8?

  • Avatar of mrelfire mrelfire Nov 30, 2014 at 06:00 UTC - 0 likes

    before 1.8 ;) can we have with 1.7.10 (http://cauldron.minecraftforge.net/) please ?

  • Avatar of mmuziek mmuziek Nov 29, 2014 at 13:58 UTC - 0 likes

    can this plugin be updated to spigot 1.8 because the vaults are not working anymore

    http://dl.bitcubes.org/Bitcubesbanner.gif

    ->-> http://bitcubes.org or join at play.bitcubes.org<-<-

  • Avatar of ebenwert ebenwert Nov 25, 2014 at 21:46 UTC - 0 likes

    @roracle: Go

    I think what you want to do is not easily possible, at least if you want to keep third party vault-based plugins compatible. You can disallow access to the Gringotts vaults from certain worlds with permissions, as well as the /money command. But you can't really have two economy plugins running neither Vault nor Gringotts are designed with that in mind.

    BFAK:jast,90591661,29dd3c62f13055888a0278b5f523f4707080bdfbae848c19bb40cad45b19d27d My plugins: Gringotts: Item based currency economy system | Shaped Borders: World borders with combinable shapes | EnderPearl Cooldown

  • Avatar of roracle roracle Nov 24, 2014 at 11:08 UTC - 0 likes

    Is it possible to use this plugin and keep it separated per world? I know it would be a permission thing, but so far I can't seem to _not_ access it in the world it isn't defined in...

    My goal is to have ancient_earth use gringotts, while modern_earth uses bank accounts from iConomy. But when I do /money with Gringotts installed, it tells me my total gem value, not my account balance from iConomy. That would be fine for ancient_earth but not for modern_earth.

    Last edited Nov 24, 2014 by roracle
  • Avatar of ebenwert ebenwert Nov 23, 2014 at 20:55 UTC - 0 likes

    @grozna_Deva: Go

    Towny has a "closed economy" option which currently doesn't work very well with gringotts. disabling it should solve this problem.

    @Machinimatt: Go

    Sounds like a bug :( Is this with version 2.3 of Gringotts?

Facts

Date created
Sep 27, 2012
Categories
Last update
Jul 12, 2014
Development stage
Release
Language
  • deDE
  • enUS
License
BSD License
Curse link
Gringotts
Downloads
15,979
Recent files

Authors

Relationships

Optional dependency
Factions
Towny Advanced
Vault
WorldGuard