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-denominationsconfig 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
/moneycommands 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!
startingbalanceconfig 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.
-
View User Profile
-
Send Message
Posted Aug 30, 2013I'm having some issue storing emeralds in the faction bank and buying some land. It keep saying I need to have emeralds to buy land when i have 1000xxx... emeralds in my inventory. Also, for storing emeralds in the faction bank I get "Unable to transfer 40.00 Emeralds to your faction from you" again i have a lot of emeralds, so don't know why it's acting like that.
-
View User Profile
-
Send Message
Posted Aug 30, 2013@Mercury92
It goes straight to player B's vault storage, if they have any set up. The money may get lost if they don't have any vault, and the sending plugin doesn't handle the transfer failure correctly.
-
View User Profile
-
Send Message
Posted Aug 30, 2013@ebenwert
Okey. But when player A buys something from player B while he is offline. Where is data retrieved for player B once he back logs in?
-
View User Profile
-
Send Message
Posted Aug 29, 2013@Mercury92
Gringotts saves the currency as actual items. Minecraft handles those :) The cents value is only for fractional values and some edge conditions.
@RandomSomething98
I'd consider it, but as it stands, I don't have much time to work on Gringotts, and I don't consider the feature high priority.
-
View User Profile
-
Send Message
Posted Aug 29, 2013Can you add an option in the config to only allow the items that are part of the economy in the vault? I get frustrated when my players put random stuff in the vault. :P But just for people who still have their stuff in the vault after this is implemented, it'll give a message to the player every few minutes saying to move those items out.
-
View User Profile
-
Send Message
Posted Aug 29, 2013What means 'cents' table in SQL. They are all zeros for users. I am trying to figure out where does gringotts saves players currency amount in MySQL.
-
View User Profile
-
Send Message
Posted Aug 29, 2013@ebenwert
Hey ebenwert, the issues were with residence not gringotts, can you update our server with our website www.ijoncraft.com?
-
View User Profile
-
Send Message
Posted Aug 28, 2013@ebenwert
This is embarrassing, I just noticed I downloaded the old version of Gringotts. Everything is working fine in 1.6.2 ( Gringotts v2.0-beta5). Sorry to keep you hung-up.
Btw.. Love this plugin!! If you need help I'll be glad to contribute :)
-
View User Profile
-
Send Message
Posted Aug 28, 2013@Mintaru
Do you have Vault installed?
-
View User Profile
-
Send Message
Posted Aug 27, 2013how do i make this work with globalmarket? it's not recognizing gringotts as a econ plugin. i'm using B: Gringotts v2.0-beta5 for 1.6.2
-
View User Profile
-
Send Message
Posted Aug 26, 2013I'm getting a "Error, could not transfer money" when players try to rent a residence plot!
-
View User Profile
-
Send Message
Posted Aug 19, 2013BIG THANKS ebenwert ! I missed 2.0 beta . Now works fine . By the way :
BEST ECONOMY PLUGIN I EVER INSTALLED !!!!!!!
-
View User Profile
-
Send Message
Posted Aug 17, 2013@LionLoren
A /money top command is on the todo list, but I probably won't get around to it soon :(
@xakiru
Unfortunately, money getting lost is a problem with Towny, which ignores when a money deposit fails.
@Zacky1
Gringotts does use Vault. However for Factions vaults it needs to interact with Factions directly. An update in Factions broke compatibility, and I will need to update Gringotts for this.
@allenshamal
Could you please make a ticket detailing how it fails?
@mPlayerEXE
Are you sure you are using the latest 2.0 beta version of Gringotts? The 1.x versions do not have this feature yet.
@Spootastic
Can you open a ticket for this and describe what you mean with autimatically withdrawing their emeralds? Do they all get withdrawn into the player's inventory? Thanks!
-
View User Profile
-
Send Message
Posted Aug 16, 2013I'm having problems with default players automatically withdrawing all their emeralds when they enter the nether. Admins with the "*" permissions, and ops don't experience this. Only default players do, so I assume it's a permission problem. I can't narrow down what perm admins are getting that default players don't receive..and need. The permissions default players have are:
- gringotts.usevault - gringotts.transfer - gringotts.command.withdraw
Other then that, this plugin has been super easy to use and set up. Anyone have any ideas?
-
View User Profile
-
Send Message
Posted Aug 16, 2013Works fine . You mentioned that plugin creates messages.yml , but there's no such file in Gringotts folder ! Maybe it must be created by user ? This file is VERY important ! An option language also seems not working !
-
View User Profile
-
Send Message
Posted Aug 14, 2013vault recognizes the economic part of the plugin essentials but don't deal with gringotts. how to fix it ?
-
View User Profile
-
Send Message
Posted Aug 13, 2013@Zacky1
I should work, I will look into it. Have you tried it with vault, factions and gringotts?
-
View User Profile
-
Send Message
Posted Aug 12, 2013Factions integration doesn't work... This would easily be fixable by using Vault...
-
View User Profile
-
Send Message
Posted Aug 10, 2013Money disappears when players would deposit into towns without a town vault.
-
View User Profile
-
Send Message
Posted Aug 10, 2013is there any kind of money top command ? because the /balance top from essentials works but only shows the richest player ONLINE, if someone has 1000, and is not online he is not shown. if is any kind of plugin that can add this feature or if it can be added to Gringotts, it would be fantastic. thanks.