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 Gnusterftw Gnusterftw Jul 03, 2015 at 01:24 UTC - 0 likes

    @ebenwert: Go

    I'm looking for a way to rename the items and also add custom lore to the currency, but i cant seem to find a way to that :( I would really appreciate if you guys could add that feature :) An ideal version of what i'm talking about would be something like this:

    currency:
      name:
        singular: Emerald
        plural: Emeralds
      digits: 2
      denominations:
        id: 388: 1
          displayname: "&6&lCoin"
          lore:
            -"Line1lore"
            -"Line2lore"
    .......
        133: 9
    
  • Avatar of ebenwert ebenwert Jul 02, 2015 at 15:36 UTC - 0 likes

    @DecisiveDolphin: Go

    Lost my macBook, might be a while :P

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

  • Avatar of DecisiveDolphin DecisiveDolphin Jul 01, 2015 at 22:29 UTC - 0 likes

    @ebenwert: Go

    Hey there eben! Hurry up and slap on the feature to rename Gringotts!!!! I'd do it myself if I knew how to code, but i'm sure it cant be too hard. ;)

    (esp rename "Gold Nugget" to "&6&lCoin

  • Avatar of ebenwert ebenwert Jun 29, 2015 at 08:59 UTC - 0 likes

    @Rexacorp: Go

    You can use a third party plugin to rename items. There is an update in the pipeline to allow using renamed items to be used as currency.

  • Avatar of roracle roracle Jun 29, 2015 at 06:14 UTC - 1 like

    Just a recap, I was able to change the code and I got it working now. Just a few things had to be changed so that made it simple.

  • Avatar of Rexacorp Rexacorp Jun 28, 2015 at 07:56 UTC - 0 likes

    Can I name the money? e.g. gold nugget a gold coin in the config and add a colour to the name?

  • Avatar of roracle roracle Jun 27, 2015 at 22:31 UTC - 0 likes

    @ebenwert: Go

    What all would I have to change in the code? I'm not that good at this, but a basic explanation would suffice.

    Would it just be commands.java under Player Commands comment? Would I only have to change the word "money"? Or do I just change the plugin.yml commands? I'm not sure what to do here.

    PS: I was able to change the plugin.yml over to "cash" as the command and it worked fine! Only problem is I'm getting payouts in a world I have Gringotts disabled in.

    PPS: It didn't work actually, I didn't have time to test things out fully and it really just displays the info about the command. I do still need to know what needs changing in the code.

    Last edited Jun 28, 2015 by roracle
  • Avatar of ebenwert ebenwert Jun 27, 2015 at 22:02 UTC - 0 likes

    @roracle: Go

    Yes, your best bet is building your own version with a renamed /money command.

  • Avatar of roracle roracle Jun 27, 2015 at 21:34 UTC - 0 likes

    Is there a way to have the commands be something different? Not an alias, because I'm wanting to use this and Craftconomy (keeping things separate depending on world). The problem is that since Gringotts is disabled in one world, but loads first, it won't let me access /money when in the Craftconomy world (it denies access to /money because it sees it as a Gringotts command, not a Craftconomy one, though both use it).

    I guess what I'm asking, is there a way to use /cash or something else for Gringotts? Would I have to build it myself for that?

  • Avatar of ebenwert ebenwert Jun 25, 2015 at 08:38 UTC - 0 likes

    @Zeemis: Go

    Yes, via the built-in bukkit mechanism. But that probably won't help you for your purposes, because it doesn't store the account balance there, since that is in items.

Facts

Date created
Sep 27, 2012
Categories
Last update
Jun 07, 2015
Development stage
Release
Language
  • deDE
  • enUS
License
BSD License
Curse link
Gringotts
Downloads
18,911
Recent files

Authors

Relationships

Optional dependency
Factions
Towny Advanced
Vault
WorldGuard