CashFlow
CashFlow is an economy plugin that lets you create taxes and salaries that pay out at an interval you set. Compatible with iConomy 4, 5, & 6+, BOSEconomy 6 & 7, Essentials Economy 2.2.17+, and MultiCurrency. Permissions plugin optional but recommended - pick from PEX, bPermissions and PermissionsBukkit.
Requirements:
- Register (Versions 1.0.1 and up use Vault)
- An economy plugin - BOSEconomy, MultiCurrency, Essentials Eco, iCo4/5/6
- A permissions plugin - PEX, bPermissions, PermissionsBukkit
Features:
- Uses the Register API, so it is compatible with multiple economy plugins.
- Supports PEX, bPermissions, and PermissionsBukkit.
- Create multiple taxes with different amounts, intervals, and players receiving the tax (or no player receives the collected tax). Apply taxes to one group or many. Gives you the ability to add players to an "excepted players" list so if someone isn't going to play for a while you can freeze their tax without having to remove them from a group.
- Create multiple salaries with different amounts, intervals, and players paying out the salaries (or no employer). Apply salaries to one group or many. Add players to an "Excepted Players" list so you can freeze their payment if they're going to be away, without having to remove them from a group.
- Hits offline players.
- Set salaries and taxes to pay only to players who have been online within a certain number of hours.
- Supports non-player economy accounts.
Commands and Permissions
Tutorial
To Do:
- Commands to edit taxes (maybe).
- A little code cleanup.
- More permission nodes
- Percentage based salary
Trello Dev board
Visit the Trello board to see the current todo list for all projects.
You can comment and vote on any of the topics there.
All changes on the Trello board are in real-time.
If you decide to download this plugin please leave me a comment to let me know how it works for you so I can improve it! And if you like this plugin, please consider donating. It's a big incentive to continue this, and it helps me pay for things I need for school.
@Mitsugaru I uploaded the config.yml for you as you requested. But let me make clear that the issue does not occur exactly when a player enters any portal, it is if a player has a negative amount on their iConomy account which is possible, for example, because they use portals that cost money. Then a player "recieves" money from the iConomy account where all the taxes are collected.
@Jdon278
It sounds like you want both a percentage based tax and tiered taxes.
Percentages is already supported. So, you could implement a 10% tax to your group(s).
However, there is no implementation of a tiered tax system, based on players current amount.
Hi,
I would love to use this on my server but would there be anyway to tax people based on how much they have rather than a flat tax eg
a person has $1000 gets 10% tax a person has $2000 gets 20% tax a person has $3000 gets 30% tax
etc
If there was a way to do this it would make it so much better,
Thanks
@ToddVee
Can you post a ticket with your config.yml.
What is confusing me is that cashflow should not pay on any "events". It is completely schedule based. So, I fail to see how it could be paying on the portal enter event. In fact, it shouldn't.
Also, a tax is one directional. It should not be "giving" money to the taxed player at all.
hi,
on our server, we have this plugin installed, as well as multiverse2. now, if you enter the portal to the creative world, you have to pay $250000. The worse thing is that cashflow "pays" for the players that have not enough money, how come?
extende explanation: I have an iConomy account "Tax". All the taxes from the players would end there, and that part works fine. People pay their taxes and it is being collected on "Tax". Now, as I said, if a player enters the portal to the creative world, they have to pay $250000. If a player has -$xxxxx after using the portal, it seems instead of paying taxes, cashflow is transferring money from "Tax" to the players that have minus $. This is a huge problem for me now since I have to either not use the nice plugin, or to close down the world.
An update regarding the next update for this plugin. I posted it in the forum threads, but I feel like more people would actually see it here. Not really sure... anyways:
I have been working on overhauling all of my major plugins (which usually involve SQL). This will include CashFlow (even though I don't own it). I am planning this to be the big v2.0 release. That's right, no more betas (for v1.x).
Here is what is planned to be added for 2.0:
The thing to note is that I will not get around to starting this massive change until after I've done the same for my flagship plugin, KarmicShare. I will at the very least give notice to when I start on redesigning CashFlow. And please understand that its going to take a few days or so after the fact before I do a release. Both Karmiconomy and KarmicJail took about 2-3 focused days to complete with the new design.
@CreepCraft
As for Faction support. It is planned to be added considering the many comments asking for it. However, I'm not going to guarantee it for the v2.0 release. If it doesn't make it then, it will be added in a future release after the fact. This being that it doesn't make sense to add new functionality when I'm going to be redesigning a lot of stuff within the code soon.
Sorry that I haven't been as active, I have been really busy with real life and had to divide my little time between all the major plugins that I support. Soon, I will have more free time to allocate on working on the plugins that I'm a part of. And honestly can't wait to finally get out of beta status and back to regular release status, which I think we can all agree on that its been overdue.
@Mitsugaru
Yay :D Your awesome! :P
@CreepCraft
Sorry, I've been busy working on other plugins. I haven't looked into Faction support yet. I'll try and take a look at it at some point.
Minor update uploaded. Available on GitHub until approved: https://github.com/mveritym/CashFlow/downloads
If you use any of the following plugins, update them as well due to this internal library change:
How much work would it be to take the money from faction banks (The faction plugin) if they have one? :3
@statedlight
The version is in reference to CashFlow's version, not Craftbukkit.
@statedlight
Alright. If its working, that's good to hear. Weird that Register was getting that error, but I don't really mind as we don't interface with it at all and the fact that I don't maintain that plugin.
If you come across any issues in the future, let us know.
And thanks for your support in using this plugin.
@statedlight
I have solved it by removing register. Thanks for the speedy reply.
@Mitsugaru
Keep getting this error 2012-04-12 22:46:57 [SEVERE] Error occurred while enabling Register v1.5 (Is it up to date?)
"Register (Versions 1.0.1 and up use Vault) does this mean if im running 1.2.5 I only need vault?"
@statedlight
Well, I just tested it and it works with lastest PermissionsBukkit 1.6 and latest version of CashFlow v1.186 on the latest dev build of Craftbukkit 2125.
One thing to note, entering group names is case sensitive. Could you post a ticket with your PermissionsBukkit config.yml, CashFlow config.yml, and the steps you were attempting to take?
@Mitsugaru
I have vault installed also.
@statedlight
Hmm... I hook into Vault to check for group validity. I'll do some testing later today to see what its doing and I'll get back to you on the issue.
@Mitsugaru
permissionsbukkit
@statedlight
What permission system are you using?
When I try to add a group I get group not found?
@Objit
Oh right, that's just a config option from the legacy versions.... XD
Just don't have the heart to remove it.