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 Liger_XT5 Liger_XT5 Jan 24, 2015 at 19:18 UTC - 0 likes

    I'm using Spigot 1.8.1 and the plugin seems to work just fine for myself as the admin, however, for the other players, the commands do not seem to respond quite right.

    If I spawned X number of one of the currency items, then pay a player with /money pay 5 PlayerName, the player and I both see a message stating that the player was payed, but the item does not appear (haven't made any vault storages) in their inventory. However, if the player does /money, it states they have it.

    The withdraw and deposit commands do no do or show anything for the players but myself. I assume because I'm OP. However, most permissions are default, correct?

    Also, I agree with Lepercy, it would be nice to customize the name, and possibly lore, of items. That way players don't get mixed up items between found items and currency this way. I've got ;88 after each item type on mine, that way players can't farm the items in many of MC's ways of gaining more than normal. Such as gold from pigzombie farms, or the fortune pickaxe.

    MCDen @ mc.mine-craft-den.com
    http://dv95vg8j0dclt.cloudfront.net/images/servers/banners/normal/39051_1423940226.jpg
    Details at FairMCList.com!

  • Avatar of LepercyXL LepercyXL Jan 22, 2015 at 19:11 UTC - 0 likes

    was wondering if there was a way to "name the item you designate for the currency.

    like the following

    Emerald n:Coin Emerald_Block n:Pile of Coins

  • Avatar of mrelfire mrelfire Jan 09, 2015 at 06:04 UTC - 0 likes

    @mrelfire: Go

    also with https://www.spongepowered.org/ coming we will be 8.1 soon ;)

  • Avatar of mrelfire mrelfire Jan 07, 2015 at 06:03 UTC - 0 likes

    It is a great idea and a good plugins, perhaps if someone can help you. Happy new year !

  • Avatar of TomXPro TomXPro Jan 05, 2015 at 22:33 UTC - 0 likes

    @ebenwert: Go

    Too bad hearing that :-( I really hope you can fix the latest issues for 1.7.10 posted by mrelfire because it crashes our servers. Gringotts is one of the most important plugins for MMO servers and it would be hard to miss it. Really!

    Anyway... thank you for responding. I hope you had a peaceful Christmas and I wish you a Happy New Year.

  • Avatar of ebenwert ebenwert Jan 03, 2015 at 01:54 UTC - 1 like

    @Craftless: Go

    @dfdgsdfg: Go

    @mrelfire: Go

    @TomXPro: Go

    Hi all. Sorry for being dead. I am currently not able to find the time/energy to keep Gringotts up to date. I might get around to it this month, but it would be super appreciated if someone else would get into the project for maintenance and development, since I currently can't promise timely updates.

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

  • Avatar of TomXPro TomXPro Jan 02, 2015 at 09:13 UTC - 0 likes
  • Avatar of TomXPro TomXPro Jan 01, 2015 at 19:52 UTC - 0 likes

    @mrelfire: Go

    That's strange. Which version of Vault are you using? Did you tried to create a chest?

    Edit: I have to correct me. You're right. I tried it on Cauldron 1.7.10 and it crashes. What a shame. We NEED an update.

    Last edited Jan 01, 2015 by TomXPro
  • 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

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
16,792
Recent files

Authors

Relationships

Optional dependency
Factions
Towny Advanced
Vault
WorldGuard