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.4

  • updates to dependency versions:
    • Bukkit API 1.8.3-R0.1
    • Vault API 1.5
    • Factions / MassiveCore 2.7.5 (incompatible with older Factions versions)
    • Towny 0.89.2.0
    • WorldGuard 6.0 beta
  • minor fixes in message formatting

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 will 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

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?

  1. First, check the Wiki.
  2. For support requests, feature requests and bug reports, please open a ticket.
  3. When your issue is resolved, update the wiki troubleshooting page!

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 ebenwert ebenwert Mar 31, 2015 at 08:14 UTC - 0 likes

    @advm301: Go

    Gringotts doesn't actually have negative balances. There may be a few edge cases where you might have a small negative values.

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

  • Avatar of advm301 advm301 Mar 31, 2015 at 02:20 UTC - 0 likes

    how do i disable negative balances?!

  • Avatar of Flashera Flashera Mar 29, 2015 at 18:54 UTC - 0 likes

    I have the latest factions (and I mean LATEST, I know the factions dev :P) and the latest Gringotts, it may be the spigot version, so I will try updating it.

    I still have the issue with the latest Spigot.

    Last edited Mar 29, 2015 by Flashera
  • Avatar of ebenwert ebenwert Mar 29, 2015 at 13:21 UTC - 0 likes

    @Flashera: Go

    I compiled Gringotts against Java 7, so that shouldn't be it. I haven't encountered this problem in my tests. Could you file an issue with more details, please? For instance what, if any, output there is on the console, what versions of Gringotts, Factions, what version of Spigot/Craftbukkit etc.

  • Avatar of Flashera Flashera Mar 29, 2015 at 12:38 UTC - 0 likes

    I seem to have found an oddity. For some reason I cannot deposit more than 3 emeralds into a faction at a time.

    Two possibilities:

    It is an issue with your plugin.

    You used Java 8 methods, in which case, I would just have to wait a month for my host to update (apparently Java 8 "doesn't support" mods in previous versions even though it's backwards compatible...).

  • Avatar of TomXPro TomXPro Mar 29, 2015 at 08:41 UTC - 1 like

    Okay, guys, I got it: Just add the following lines to your java.policy file unter <JRE_HOME>/lib/security.

    grant {
    // JMX Java Management eXtensions
    permission javax.management.MBeanTrustPermission "register";
    };
    
  • Avatar of TomXPro TomXPro Mar 28, 2015 at 22:45 UTC - 0 likes

    @ebenwert: Go

    Too bad, but that makes sense.

  • Avatar of ebenwert ebenwert Mar 27, 2015 at 11:47 UTC - 0 likes

    @TomXPro: Go

    Sorry, I don't think supporting Cauldron is practical, as they don't even offer downloads anymore. I do have some vague intent to support Sponge, if there's any interest.

  • Avatar of TomXPro TomXPro Mar 27, 2015 at 10:59 UTC - 0 likes

    @ebenwert: Go

    I think so. Cauldron is still the only possibility to run mods on a server. And Gringotts is one of our most important plugin. Do you think it could be made compatible?

    I would donate for it.

  • Avatar of ebenwert ebenwert Mar 27, 2015 at 08:55 UTC - 0 likes

    @TomXPro: Go

    Unfortunately I can't tell from the logs what exactly is going wrong. Maybe cauldron doesn't support the EBean DB interface? I haven't used it myself.

Facts

Date created
Sep 27, 2012
Categories
Last update
Mar 22, 2015
Development stage
Release
Language
  • deDE
  • enUS
License
BSD License
Curse link
Gringotts
Downloads
17,244
Recent files

Authors

Relationships

Optional dependency
Factions
Towny Advanced
Vault
WorldGuard