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 Sep 22, 2013Update? :)
-
View User Profile
-
Send Message
Posted Sep 14, 2013Oops, crashed today at noon from Towny collecting tax :(
- UPDATE - It crashed 5 hours after noon too, so it may no longer just be Towny related. http://pastebin.com/AWaxpSWr
-
View User Profile
-
Send Message
Posted Sep 12, 2013@ebenwert
Regular old craftbukkit, the recently released recommended build. I havent crashed in two days thanks to the Towny update. I still get the ebean.properties not found error on startups tho but as far as I can tell nothing is affected any longer.
-
View User Profile
-
Send Message
Posted Sep 12, 2013@LastTulare
Thanks for the update. Are you using regualr Craftbukkit or some mod such as Spigot, btw? I believe there occasionally are problems involving Gringotts and some other mods on Spigot.
-
View User Profile
-
Send Message
Posted Sep 11, 2013Didnt crash today when Towny collected taxes, the latest Towny dev build probably fixed that issue, as it mentioned a vault fix.
-
View User Profile
-
Send Message
Posted Sep 11, 2013[SEVERE] ebean.properties not found - on server startup. Only when Gringotts is installed. The server crashed 2 times so far mentioning ebeans. Time was at noon 2 days in a row, and one thing that comes to mind is Towny, it collects town taxes at noon every day. I installed the latest dev build of Towny since I was using the latest released version before. I read through the crash report and that was what happened. Towny and Gringotts conflict of some sort
http://pastebin.com/rUMv1MrE
-
View User Profile
-
Send Message
Posted Sep 9, 2013@ryguy147
I have found another work around to do exactly what you want. :)
You can by using the /give command give yourself a emerald like this:
/give <username> 388:1
Then youll get a emerald which have an data value of 1 instead of the normal 0 and telling gringotts in the config like this:
388;1: 81
You will get it to work like that.
You can then use the Item Renamer plugin to rename that specific emerald to "ยงaCompressed Emerald"
Hope i was understandable. ^^
And I hope the dev would tell people of this workaround. ^^
-
View User Profile
-
Send Message
Posted Sep 9, 2013A tip to people who want more than a few items to be used for currency. And espicially for those who doesn't want this to be optainable through mining, grinding or crafting.
You can use maps.
Use this to make custom maps: http://www.minecraftforum.net/topic/661481-map-item-viewer-and-editor/
And then you can use this to disable the duplication of these special maps: http://dev.bukkit.org/bukkit-plugins/mapdupebanner/
I have had no problems with this on 1.6.2 Hope this could be helpful for someone. :)
-
View User Profile
-
Send Message
Posted Sep 8, 2013This may not be at the top of your list, but I was wondering if you could add in sometime a function for separate balances for worlds. Optional of course but having the option there would be awesome as I've needed seperate balances for separate worlds on quite a few occasions now. Thanks
-
View User Profile
-
Send Message
Posted Sep 5, 2013@ebenwert
No worries. You're a great dev. keep up the good work :).. Perhaps next time i'll donate you money to buy a beer when i'm not financially tight atm xD
-
View User Profile
-
Send Message
Posted Sep 5, 2013How about being able to have denominations of named items (ex. An emerald named 'ยงaCompressed Emerald' that is worth 81 emeralds)
Even better, implement enchantments and lore also.
-
View User Profile
-
Send Message
Posted Sep 5, 2013@zifaun
Please try ยง instead of &
@Mune03
Gringotts isn't yet compatible to current factions version. I will try updating sometime soon. Sorry for your troubles.
-
View User Profile
-
Send Message
Posted Sep 1, 2013@ebenwert
balance: "&7...."
balance: '&7....'
This is on craftbukkit-1.6.2-R0.1.
-
View User Profile
-
Send Message
Posted Sep 1, 2013@ebenwert
I'm using version Factions 2.0.4 MCore 6.5.X, the only latest version that works with gringotts atm. I tried making the [faction vault] and that didn't work, but the player [vault] does.
-
View User Profile
-
Send Message
Posted Sep 1, 2013@jenniferstrife
Strange.. what version of Gringotts and /worldGuard are you using? It requires a recent version of Gringotts v2.0 beta.
@zifaun
How are you trying to define the color codes?
-
View User Profile
-
Send Message
Posted Aug 31, 2013Color codes doesn't seem to work in "Gringotts v2.0-beta5 for 1.6.2".
-
View User Profile
-
Send Message
Posted Aug 30, 2013Oh, I forgot to add that of course I'm OP and have a "*", so I should be able to create the vault... I'll do some tests.
Edit: I tried with just Worldguard, WorldEdit and Gringotts. It doesn't work.I don't understand... I tried to create the vault inside the region, but nothing. XD Why...? I've read someone made it work, so there is something I'm missing...
-
View User Profile
-
Send Message
Posted Aug 30, 2013No, it doesn't. The vault is not created and no message is given. I tried to set false on the config, like this:
usevault:
container: false
enderchest: true
But still it doesn't work.
Maybe there is a conflict with another plugin? I'll test your plugin alone and let you know, I guess it's good to know this kind of things. :)
Anyway, thanks for the fast reply! And I really like your plugin! ^^
-
View User Profile
-
Send Message
Posted Aug 30, 2013@Mune03
Have you made an actual faction vault (see instructions), and what version of factions are you using?
@jenniferstrife
It might b a permission issue ... is the vault actually created? Does it give a message on creation?
-
View User Profile
-
Send Message
Posted Aug 30, 2013Sorry, I have a problem... Can someone help me? :3
I'm trying to create a vault for a worldguard region. I created a region called "pu" (just to try). It exists and appears on the region list as "pu". My world is called "world" (again, just to try).
Then I have a chest, I place the sign and write:
----[region vault]
world-pu
----Nothing happens and I can't pay the damn pu. I tried to change the third line a lot, but it doesn't work. I wrote just pu, or worldpu, or worldregion-pu... A lot of things. XD What am I doing wrong? Maybe I must give another name to my world? Or is something about permissions (the default user can't create vaults)? Please, help me!