Gringotts
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.9
- DEPENDS ON JAVA 8. If your server is not on Java 8 yet, you should upgrade, or ask your service provider to upgrade. Java 7 isn't supported anymore by Oracle.
- Should now work both in regular as well as async context. This means there should be no more "Asynchronous entity world add" errors anymore, and Gringotts is now compatible with Towny in async mode, as well as other plugins that call economy methods asynchronously.
- The maximum virtual money allowed for an account is now equal to the lowest denomination, instead of the highest. I changed this because that behavior was causing lots of confusion.
- fixed other minor bugs
v2.8
- built for Minecraft 1.9 and Factions 2.8. May not be compatible with older Factions versions!
- unsupported versions of Factions should be handled more gracefully now.
- updated to current version of Metrics-Lite. Fixes annoying error messages.
v2.7
- Named denominations: Each denomination can now have its own name, which will be shown in /balance messages and the like. To activate this feature, use the
named-denominations
config setting. By default this will use the denomination's displayname or regular item name, but you can define a custom name as well. See configuration instructions for details. - Balance messages can now be configured to show only regular balance or also vault/inventory balances.
- Now also supports
&
prefix to color codes in messages and item displayname/lore in addition to the defaultยง
prefix. - can now also used Vault-supported item names in denomination config, not only regular Bukkit names. This can make the config a bit more intuitive. (requires Vault)
- lore config for denomination items now also allows a simple string instead of a string list.
- configuration should now always be loaded as UTF8.
- fixed an issue with
/money
commands failing on some servers.
v2.6
- adds display name and lore support for currency items. See configuration instructions on how to configure this. Note you will need a third-party plugin to rename items not created by Gringotts. Thanks to dj5566 for contributing this feature!
startingbalance
config option works again
Planned Features
See: Gringotts open enhancement issues on GitHub. You're welcome to vote on enhancements important to you, but I might not have the time to implement them.
Instructions
Wiki
Check out the Gringotts Wiki for more hints and a troubleshooting guide.
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?
- First, check the Wiki.
- For support requests, feature requests and bug reports, please open a ticket.
- Drop by the Gitter channel and talk to me (jastice), and I will drop by.
- When your issue is resolved, update the wiki troubleshooting page!
Also, follow me on twitter: @ebenwert
Source and Continuous Integration
Gringotts is open source. View, fork and edit on Github
CI Status:
Current Development builds
Automatic Release builds
CI Builds have not been review by BukkitDev staff. Install at your own risk, just like anything else from the internet.
To anyone curios about updates on this plugin there is a spigot page that is being maintained by nikosgram. i would recomend checking it out as it seems to have recent versions support
plugin page: https://www.spigotmc.org/resources/gringotts.42071/
1.16 pls
EDIT: version Gringotts v2.11.2-SNAPSHOT-rbed0924 disables itself on startup.
HOWEVER version Gringotts v2.11.1-SNAPSHOT is perfectly compatible with 1.16(.4).
Hey very cool plugin. But you have to help me!
I want to change the currency (emerald) to a custom mod item. In my case i want to use items from the good ol currency mod v1.12.2 how can i change it. I already tried with item.modcurrency:banknote_5 (for 5$) But it doesnt worked.
Is anyone else having issues with this plugin working with Towny? It hasn't been updated since March so that's probably why. Please update!
In reply to RocketManKian:
Yes, me too. Looks like nothing is happening here :/
Very good to see the account balance. But: The offline-players can't recive the gold from the buyer with /money pay value username. ChestShop says also deposit to seller's account is not possible. That is not good, please work on it / update it. The plugin is usefull and beautiful for my server, until this bug :/
Another bug found: Variable %player in "messages -> insufficientSpace: -> target:" shows the users uuid instead of the players name.
I used Paper in latest version 1.15.2 and Gringotts version "Gringotts-2.11.2-SNAPSHOT-rbed0924.jar"
Excuse me for the grammar, i'm from germany.
[Server thread/INFO]: [Gringotts] Enabling Gringotts v2.11.1-SNAPSHOT
[Server thread/INFO]: [Gringotts] Found Bukkit version: 1.15.2-R0.1-SNAPSHOT. All features enabled.
[Server thread/WARN]: [Gringotts] Loaded class com.sk89q.worldguard.bukkit.WorldGuardPlugin from WorldGuard v7.0.2-SNAPSHOT;bf2593e which is not a depend, softdepend or loadbefore of this plugin.[Server thread/WARN]: [Gringotts] Loaded class com.sk89q.worldedit.world.World from WorldEdit v7.1.0-SNAPSHOT;4822-a27ade5 which is not a depend, softdepend or loadbefore of this plugin.
Hey, is it possible that Gringotts only affects the economics of a plugin? For example, when you have two economies one (money) so that users can create their shops and another economy (diamonds) so that users can claim land from the Plotsquared plugin.
Can you please update your wiki?
Your config file looks nothing like what's outlined in the wiki anymore.
The "Please see the Configuration and Permissions document on how to configure Gringotts."
Link takes me to an Error 404 Webpage not found website??
In reply to TheZunwolf:
The good url is
https://github.com/nikosgram/Gringotts/blob/master/docs/configuration.md
You just need to add a "s" after "doc" to transform it in "docs".
hi there, is it possible to use an item/items with lore+special name as the currency?
Practically all the links are broken for this plugin's pages:
- Open support ticket: broken link
- Configuration and Permissions page: broken link
- Commands/Usage: broken link
- Wiki: doesn't exist
ๅๅคTransientGamers๏ผ
ๆไนๆฏ
In reply to TransientGamers:
This is the good link:
https://github.com/nikosgram/Gringotts/
Gringotts is a very nice plugin but i was wondering if there is any way people could buy and sell stuff with /buy and /sell commands instead of signshops?
plugins needs update: https://hastebin.com/raw/ibozixacov
In reply to PhanaticD:
Just a heads up, vault's update to 1.7.1 breaks this plugin:
2:37:47 PM [SEVERE] Error occurred while enabling Gringotts v2.10.1-SNAPSHOT (Is it up to date?)
2:37:47 PM java.lang.NoClassDefFoundError: net/milkbowl/vault/item/Items
2:37:47 PM at org.gestern.gringotts.Configuration.unitName(Configuration.java:121) ~[?:?]
2:37:47 PM at org.gestern.gringotts.Configuration.parseCurrency(Configuration.java:252) ~[?:?]
2:37:47 PM at org.gestern.gringotts.Configuration.readConfig(Configuration.java:174) ~[?:?]
2:37:47 PM at org.gestern.gringotts.Gringotts.reloadConfig(Gringotts.java:224) ~[?:?]
2:37:47 PM at org.gestern.gringotts.Gringotts.onEnable(Gringotts.java:99) ~[?:?]
2:37:47 PM at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:339) [spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:428) [spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:342) [spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:214) [spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:702) [spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at java.lang.Thread.run(Unknown Source) [?:?]
2:37:47 PM Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.item.Items
2:37:47 PM at java.net.URLClassLoader.findClass(Unknown Source) ~[?:?]
2:37:47 PM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:154) ~[spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot-1.13.1.jar:git-Spigot-500ff5d-1cead62]
2:37:47 PM at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
2:37:47 PM at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:?]
2:37:47 PM ... 13 more
2:37:47 PM [INFO] [Vault] Enabling Vault v1.7.1-b91
Really great plugin so far! Is it possible for me to use a specific banner for the currency? I kinda wanna make it like different cost dollar bills but not just with regular banners.