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 Jul 12, 2013@LastTulare
Gringotts does still use Derby when it is available for backwards compatibility, but otherwise uses the Craftbukkit internal DB
-
View User Profile
-
Send Message
Posted Jul 12, 2013@ebenwert
Oha I see, so since I got the 2.0 beta then Derby is a useless limb in my craftbukkit folder lol
-
View User Profile
-
Send Message
Posted Jul 10, 2013@sakura_blades
True, I haven't gotten Sign Bank to work correctly with Gringotts, and I can't figure out why, unfortunately. I feel it may be doing some funky stuff :)
-
View User Profile
-
Send Message
Posted Jul 10, 2013@ebenwert
I have been trying it. I am using Sign Banks, and it appears I am not the only one having trouble with these two plugins working together. They both use vault to interact with one another, but no matter what I try I cannot get my currency into the bank or out of the bank, at least the other player can get it to semi-work after a reload. Though that comes with the risk of duplication bugs.
-
View User Profile
-
Send Message
Posted Jul 10, 2013@sakura_blades
It should work with anything that supports Vault, which is most plugins that somehow use currency. I suggest you simply try it out.
-
View User Profile
-
Send Message
Posted Jul 10, 2013Will this plugin not work with any virtual banking plugins? It's great it works with Chest shop, and I like that it has it's own bank/vaults... But it'd be nice to be able to virtual store too if I had a plugin installed designed to do so
-
View User Profile
-
Send Message
Posted Jul 10, 2013@LastTulare
For Gringotts 1.5.2, please use the version I linked, as it expects exactly that version. For Gringotts 2.0, Derby is no longer required at all :)
-
View User Profile
-
Send Message
Posted Jul 10, 2013The Apache Derby DL link you have downloads 10.9.1.0
I went to the http://db.apache.org/derby/derby_downloads.html and found they have a version 10.10.1.1
Which one would you recommend?
-
View User Profile
-
Send Message
Posted Jul 6, 2013@viktorhubinette
Working fine for me.
-
View User Profile
-
Send Message
Posted Jul 6, 2013@ebenwert
dont work with 1.6 :(
-
View User Profile
-
Send Message
Posted Jul 5, 2013Awesome Plugin, hope you continue this great job '-'
-
View User Profile
-
Send Message
Posted Jun 28, 2013@ebenwert
Thanks for all the help (:
-
View User Profile
-
Send Message
Posted Jun 28, 2013@Darkvoid10
It *may* work with Tekkit Lite + BukkitForge, but you'll have to test how well it currently works yourself :)
-
View User Profile
-
Send Message
Posted Jun 28, 2013Is this plugin compatible with Tekkit Lite? I am starting a new server and I would absolutely love to have this plugin on my server. This is literally THE plugin that I have been looking for for the past few years.
-
View User Profile
-
Send Message
Posted Jun 28, 2013@ebenwert
I actually won't have a chance to test it on a fresh server setup for about a fortnight but I will do so and let you know the results, if it still isn't working when I get back.
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Llamageddon
Thanks!
You can place a sign on the chest by shift-clicking it with the sign. Putting it above as you described should work just as well, however. Could you check if nothing happens as well on a fresh minecraft server install with only Gringotts?
-
View User Profile
-
Send Message
Posted Jun 27, 2013@LastTulare
Yes, regular Notepad is evil :) As to Notepad, I don't use it (I prefer Sublime Text), but the Internet says this: http://stackoverflow.com/questions/7256049/notepad-converting-ansi-encoded-file-to-utf-8
-
View User Profile
-
Send Message
Posted Jun 26, 2013Thanks for making this plugin, it is exactly what I was looking for and it has been frustrating that no-one has made a decent plugin like this until now. That being said, whenever I try create a vault using a chest nothing happens, the weird thing is there is no error report in the logs whatsoever.
Ender chests work as expected, am I doing something wrong with the sign? The instructions say to put the sign on or above the container, the former is impossible as far as I can tell as trying to place a sign on a container opens it instead. I assume by "above" the instructions mean place it on the front of a block one block up and behind from the container. Have I got this right? I didn't want to post a ticket in-case I was just being a muppet.
-
View User Profile
-
Send Message
Posted Jun 26, 2013@ebenwert
If I were to edit it in notepad UTF-8 is default. Other than that, I edit every single .yml file in notepad + + which does not give you the option for encoding formats. Its possible that if I edit it using notepad instead that it might resolve that.
------------------Nooo dont edit using notepad D: it messed up. The console got parsing errors due do incorrect indentations blah. I just let it regenerate the entire file, the server isnt live yet since its brand new and under going full testing before I make it live. So right now, Im not sure how to make Notepad + + use UTF-8 unless I find some option somewhere.
-
View User Profile
-
Send Message
Posted Jun 26, 2013@LastTulare
Perhaps the plugins do some replacement of their own? Gringotts just passes the strings straight to Minecraft. Also, are you sure you are saving the file in UTF-8 format? it may behave weirdly otherwise.