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 Jun 2, 2014@pepper82
Have you checked if Gringotts started up and is running correctly?
Gringotts is compatible with shopkeepers, since Shopkeepers doesn't interface with any currency plugin. They are effectively independent.
Gringotts does require a player to have a vault to receive money from a regular shop. If Hyperconomy doesn't connect a shop with a player account, it may not work at all.
-
View User Profile
-
Send Message
Posted Jun 1, 2014Trying to use vaults, but it does not work.
I have all needed permissions, using latest version of gringotts and latest dev build of spigot.
I place a sign with [vault] in the first line above a chest but it does not do anything.
Nothing in the logs as well.
This is not compatible with Shopkeepers? When owner of shopkeeper is offline - he will not receive money at all.
What shop plugin would you recommend then?
-
View User Profile
-
Send Message
Posted Jun 1, 2014Can you update the plugin to work with HyperConomy? It is currently not working with it because you can not make a servershop with the command /ss p1 {shopname}
or can you recommend any other shop plugin supporting player shops, server/admin shop & trading using NPCs?
-
View User Profile
-
Send Message
Posted May 31, 2014@ebenwert
Cool, so therefor using GUIShop, Vault, and Gringotts should sync and work just fine?
EDIT: It does. And very well.
-
View User Profile
-
Send Message
Posted May 31, 2014@x_clucky
The current version doesn't support UUIDs yet, but it will be updated in time.
Offline transactions with players require a vault. The balance of a player's account while offline depends on the content of their vaults. If you don't have regular chest vaults enabled, transaction will fail when they are offline.
-
View User Profile
-
Send Message
Posted May 31, 2014@Jloomy
Yes, that's a core feature.
-
View User Profile
-
Send Message
Posted May 31, 2014If this hooks into Vault. And you change the balance of a player within Vault, does it update the amount of Emeralds the user has left? (By removing from their chest/vault/inventory the appropriate amount)
-
View User Profile
-
Send Message
Posted May 14, 2014Update coming? ;)
-
View User Profile
-
Send Message
Posted May 11, 2014@ebenwert
Gringotts is properly formatted for UUID support, correct? Also, how does Gringotts support offline payments/transactions? I'm curious how a player will get paid if they are offline and someone purchases an item from their chest shop (which uses vault). Also, what will happen if a player's inventory is full when they are paid, will they receive the emeralds as soon as their inventory empties? (I only have enderchest and inventory enabled in the configuration)
-
View User Profile
-
Send Message
Posted May 7, 2014@ebenwert
Can you make it so even if you add lore to an item, it would still recognize it as currency?
-
View User Profile
-
Send Message
Posted Apr 30, 2014@TeuzBr
No, there are plenty of other plugins for that
-
View User Profile
-
Send Message
Posted Apr 30, 2014@ebenwert
The plugin does not have the system of giving emeralds to kill a player?
-
View User Profile
-
Send Message
Posted Apr 30, 2014@TeuzBr
Make sure you safe the file in UTF-8 format
@TeuzBr
Find a plugin that lets players drop items, or awards money for kills.
-
View User Profile
-
Send Message
Posted Apr 30, 2014How to place to get the emeralds kill another player? I want to put emeralds to earn by killing other players, and spend emeralds buying items, I'm using the War plugin, and I want the players receive emeralds when killing other players
-
View User Profile
-
Send Message
Posted Apr 30, 2014I put color and was as follows,
Anyone know how to remove this ร?
-
View User Profile
-
Send Message
Posted Apr 21, 2014@MedievalMinecrafters
You can already do this with Vaults. As long as you have currency items in your vault you will have virtual money to buy things at shops and such with out having to carry the items on you at all times.
-
View User Profile
-
Send Message
Posted Apr 21, 2014hey i got an idea, maybe you could add this in to the config: add an option to wear you could allow or disallow a little icon in the bottom left or right of a enderchest and make it like a pouch or something (possibly configurable) and make it so if u put say 64 emeralds or what ever your currency is they can add up, and you can use a virtual currency. for example you put 500 emeralds in the little pouch in the enderchest then they get turned into virtual money, and u can buy stuff without having them in your inventory, or you could withdraw them and put them back in your inventory. if this made any sense, is it possible?
-
View User Profile
-
Send Message
Posted Apr 21, 2014@ebenwert
Oh god thank you, I can't wait! this is one of the last UUID enabled plugins I need to get a basic 1.7.9 server going
-
View User Profile
-
Send Message
Posted Apr 21, 2014@erdrickk
Yes, it's in the works.
-
View User Profile
-
Send Message
Posted Apr 21, 2014Any plans to update this to 1.7.5 + and make use of the new UUID system?