SDFEconomy is a multiverse/location aware Vault based economy plugin used on the SDF Minecraft Server. The plugin can configured to have separate economies corresponding to the separate inventory locations from any of these plugins:
In addition to multiverse support there are options for having an economy per world or a single economy for all worlds.
As Vault is not itself multiverse aware, we sometimes need to add specific support for other Vault plugins so money is placed in the correct location. So far we support:
You will need at least Vault version 1.2.3 or higher to use this plugin.
Localization is supported by this plugin, so if you have a desired target language contact me for details on doing a translation. So far we have localization for:
- /ec help [page#] - See all commands
- /ec balance - Check player account balance
- Alias: /balance, /bal
- /ec pay <player_name> <amount> - Pay another player
- Alias: /pay
- /ec top - List wealthiest players
- /ec listlocations - List locations where separate economies exist
- /ec bank list - List banks where player is owner or member
- /ec bank info <account_name> - Get detailed information on a bank
- /ec bank deposit <bank_account> <amount> - Deposit money in a bank account
- /ec bank withdraw <bank_account> <amount> - Withdraw money from a bank account
- /ec bank create <account_name> - Create a new bank
- /ec bank remove <account_name> - Remove a bank account
- /ec bank rename <old_account_name> <new_account_name> - Rename a bank account
- /ec bank addmember <account_name> <member_name> - Add a member to a bank
- /ec bank removemember <account_name> <member_name> - Remove a member from a bank
- /ec bank setowner <account_name> <new_owner> - Change owner of bank account
- /ec reload - Reload accounts
- /ec set <player_name> <amount> [location] - Set player balance
- /ec deposit <player_name> <amount> [location] - Deposit an amount into a player account
- /ec withdraw <player_name> <amount> [location] - Withdraw an amount from a player account
- /ec convert <economy_name> <location1>=<scaling> [ <location2>=scaling ...] - Convert from another Vault economy
- /ec player create <player_name> <location> - Create a player account
- /ec player delete <player_name> <location> - Delete a player account
- /ec scale <amount> <location> - Scale all player account balances in a given location
- sdfeconomy.use_account - Permission to use a personal accounts, default: true
- sdfeconomy.use_bank - Permission to use a bank account, default: true
- sdfeconomy.pay_players - Permission to pay other players, default: true
- sdfeconomy.see_top_balances - Can other players see the balance of players show in /ec top display, default: false
- sdfeconomy.admin - Allows non-ops to use administrative commands. default: false
For the first question, if you are using MV-Inventories then you can change the location name in the configuration for this plugin, in the groups.yml file. Or it may be safer to use the /mvinv group command to add a new group and move worlds into this group. My plugin just uses the string that MV-Inv provides from the world groups. You would then have to edit your SDEEconomy accounts.yml to change the default section to read whatever name you changed in the MV-Inventories configuration.
For the second question, I had not thought of such a feature. But I think that such a feature would be better served in a separate plugin that uses Vault. This way other economy plugins could use the same sign feature.
Hey I was editing my post when u replied so I'm not sure if you saw this part:
Also is there any way to change the " @ default " location/display to reflect the actual worlds name if it's the default world. I converted my Essentials Economy to SDFEconomy and was forced to use default as the location. Most players won't know what default is if there are multiple banks / locations.
to answer your question: The ability to have SDFE interface with signs rather than a separate plugin to use the SDFE commands other than the players having to type them in the chat/commandline box. I'm using Commander which is pretty good for assigning commands to buttons, pressure plates and such but was just wondering...
I am unsure of what you mean by "Sign Support". This plugin is just the back end economy handler. Plugins like ChestShop can be used to do things such as have sign based shops through Vault. If there is a store plugin that uses Vault it can be used with this plugin.
Is there any plan for adding Sign Support to this plugin? Also is there any way to change the " @ default " location/display to reflect the actual worlds name if it's the default world. I converted my Essentials Economy to SDFEconomy and was forced to use default as the location. Most players won't know what default is if there are multiple banks / locations.
I have uploaded a new version 0.2.3 that includes the ability to select the "location translator" used internally to translate player locations into economy location names.
You will need to back up your existing plugins/SDFEconomy/config.yml and let the plugin populate a new default copy. Then readjust any custom settings you have already made.
To use the "global" location translator change the configuration option location.translator to say global and not multiverse. This will give players one account for all worlds on the server.
I don't think it is an error or anything. What I was saying was instead of having a new account for each world, just have the @world account as the only account and accessible through all server worlds.
Sorry if I'm not being very understandable here. Let me know if I need to try and explain more clearly what I'm trying to say. Thanks for responding. :)
The ChestShop fixes should make it such that purchases from sign shops are always placed in the world where the sign shop exists. When you say: "one account for all worlds for players" do you mean a single global economy. I have a class that can do that but I don't have it selectable from the configuration yet. I think I need some more details to help resolve your situation. Post server log output of the series of commands and messages that show what is going wrong. Please use code blocks in the comment to make the log easier to read. Thanks.
This snapshot build should fix that problem. There was a bug that did not return the world name for worlds not in MV groups. I will officially release this in 0.2.3 if there are no other issues.
Can I have one account for all worlds for players? Players end up getting paid from their shop in the overworld to their End account if they are in the End. Funds only really have use in the overworld on my server.
So is it possible to have just one account for players to apply to all worlds?
Updating Vault worked. Everything is loaded in the default economy. My next question is around how you deal with multiverse-inventory shares. I have world,world_the_end,world_nether all in a group called default - and that works well. I have 4 other worlds that I didnt setup specifically in inventories. with multiverse-inventories, they all carry their own inventory, but with sdf they dont have locations setup. In the example below each of the worlds on the top line have their own inventory, but not their own player economy account. Can that be changed? example: /ec listlocations : world1, world2, world3, world4 default: world, world_the_end, world_nether
I suspect the problem is your version of Vault. Older ones did not have SDFEconomy support. You need at least version 1.2.23.
When you issue /vault-info you should see:
Still get the message "You must have at least 1 other economy to convert" With other economy plugins ive used essentials seemed to recognize them if that helps this may help: couldnt find a way to attach server log
2013-03-01 13:37:16 [INFO] [Essentials] Enabling Essentials v2.10.1 2013-03-01 13:37:17 [INFO] [Vault][Economy] Essentials Economy hooked. 2013-03-01 13:37:17 [INFO] [Register] Payment method found (Essentials version: 2.2)
2013-03-01 13:37:45 [INFO] [SDFEconomy] Enabling SDFEconomy v0.2.2 2013-03-01 13:37:45 [INFO] [ChestShop] Enabling ChestShop v3.50t0041 2013-03-01 13:37:46 [INFO] [ChestShop] Vault loaded - using Essentials Economy 2013-03-01 13:37:46 [INFO] [SDFEconomy] Enabling ChestShop support
For Essentials please use the string EssentialsEconomy as the economy name. For example:
Finally had a moment to try this, but I cant get it to convert from essentials economy. If i look at my server log Essentials is hooked, but when I try to do the convert it tells me I must have at least one economy loaded. I tried calling it ever version of Essentials Economy I could think of and even tried an *. Thoughts on how to tell what my essentials economy is named? I know it is loaded because when i do /Baltop (essentials command) I can see all the balances.
Sorry about the delay in response. Just got around to testing and using the update. It appears to now give players the funds even when they are offline now. Thanks man!
The convert command should be able to convert from any Vault economy as long as you have it loaded at the same time as SDFEconomy. However, we have only tested conversion from BOSEconomy so far. Please verify that the conversion takes place correctly. Another user had issues with banks not having the correct owner after conversion. But this can be corrected with the admin commands for setting the bank owner. Let me know what issues you have.
Jobs should work since it uses Vault. However, I have not tried it myself. But as Vault is not Multiverse aware there could be some small issues that arise. As long as players are getting paid while they are online for work in their current world group then things should be fine. But if offline players are paid then they will only get paid at their last world group. Once again if you see any issues let me know and we can try and figure out a work around like we did for ChestShop.
I haven't looked into the specifics of how Towny charges the taxes or uses the banks to know if it will be 100% compatible.
This looks just like what ive been looking for. I have multiverse and essentials with both survival and creative worlds and want the economies separate on the worlds. So the /eco convert command will move everything from essentials economy? Any plans to have this work with a jobs plugin? I assume this will work with towny - right?
I've added a new version, 0.2.2 that now uses ChestShop events to figure out where to pay the owner of the shop. Please give it a try and let me know if that works for you. Please test it out before putting it into production use. Thanks.
Really enjoy the plugin. I use it with CHestShop though; and while players receive payments while they are online; they do not while they are offline. Mentioned it to ChestShop devs, and they said it was an Economy Plugin issue.