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.

-
View User Profile
-
Send Message
Posted Dec 16, 20112011-12-16 14:46:41 [INFO] [CashFlow] Paying salary passiveincome 2011-12-16 14:46:41 [SEVERE] Exception in thread "Timer-3" 2011-12-16 14:46:41 [SEVERE] java.lang.NullPointerException 2011-12-16 14:46:41 [SEVERE] at mveritym.cashflow.SalaryManager.paySalary(SalaryManager.java:363) 2011-12-16 14:46:41 [SEVERE] at mveritym.cashflow.Taxer$SalaryTask.run(Taxer.java:78) 2011-12-16 14:46:41 [SEVERE] at java.util.TimerThread.mainLoop(Timer.java:555) 2011-12-16 14:46:41 [SEVERE] at java.util.TimerThread.run(Timer.java:505)
It doesn't seem to be working on my server... : /
-
View User Profile
-
Send Message
Posted Dec 10, 2011Anyway for you to impliment Vault!?! Register is long since dead...
-
View User Profile
-
Send Message
Posted Dec 8, 2011How do i add a group to pay taxes?
/tax apply <taxname> <groupname> dont work for me help please
-
View User Profile
-
Send Message
Posted Dec 5, 2011Update? And please add vault support!
-
View User Profile
-
Send Message
Posted Nov 23, 2011Vault support would be awesome! :D
-
View User Profile
-
Send Message
Posted Nov 20, 2011Support for Vault please? Its far better than Register. :D Ask Sleaker for more infomation
-
View User Profile
-
Send Message
Posted Nov 13, 2011Hello, i have this error when e salary must be performed:
2011-11-11 22:29:52 [INFO] [CashFlow] Paying salary chomeur 2011-11-11 22:29:52 [SEVERE] Exception in thread "Timer-2" 2011-11-11 22:29:52 [SEVERE] java.lang.NullPointerException 2011-11-11 22:29:52 [SEVERE] at mveritym.cashflow.SalaryManager.paySalary(SalaryManager.java:363) 2011-11-11 22:29:52 [SEVERE] at mveritym.cashflow.Taxer$SalaryTask.run(Taxer.java:78) 2011-11-11 22:29:52 [SEVERE] at java.util.TimerThread.mainLoop(Timer.java:512) 2011-11-11 22:29:52 [SEVERE] at java.util.TimerThread.run(Timer.java:462)
I use craftbukkit 1337, i've CashFlow 1.0 and register 1.5.
Anyone have a idea?
Thanks for answer.
-
View User Profile
-
Send Message
Posted Nov 12, 2011Just installed this and set my perms to cashflow.* in bPermissions. When I the starts erver aand try to /cashflow setworld name I'm denied as I haven't got the rights... (same with all commands)
-
View User Profile
-
Send Message
Posted Nov 1, 2011My cashflow isn't working,
Permissions Config
my cashflow config
The only console message I get is when I restart cashflow, it says [Cashflow] Citizen Enabled.
The only thing I can think of is that I'm using iConomy with mySQL
-
View User Profile
-
Send Message
Posted Nov 1, 2011How do you create a group with Cashflow?
-
View User Profile
-
Send Message
Posted Oct 29, 2011Hi Perichor,
Can you see that please ? :
http://dev.bukkit.org/server-mods/cashflow/forum/27286-salarie-and-taxes-by-user/#p5
-
View User Profile
-
Send Message
Posted Oct 20, 2011@indigomontoya
Have you downloaded Register and got your Craftbukkit up to date?
-
View User Profile
-
Send Message
Posted Oct 20, 2011Hi,
http://dev.bukkit.org/server-mods/cashflow/forum/27286-salarie-and-taxes-by-user/#p1
'(
-
View User Profile
-
Send Message
Posted Oct 20, 2011Won't load for me, says it is out of date? I'm using your latest build :)
-
View User Profile
-
Send Message
Posted Oct 16, 2011@Perichor
We've found a decent workaround on our server now :) We just pay users for starting new towns and add users to that salary group.
You may want to consider a "default" for one tax and one salary group? new users would automatically be added by name to that group. This would have the same end effect. The only reason we are wanting default groups to work is to take the "manual" out of administering a tax.
The biggest simplest thing you could add would be the modify tax/salary option for now..:] *prays*
Someone attempted to grief your monument. They were burned, struck by lightning then promptly banned.
-
View User Profile
-
Send Message
Posted Oct 16, 2011@Tobyz28
Haha your poor players! I'm working on the default group issue but it's weird. If you don't assign someone a group, they just don't get assigned a permission node which is how I check groups. So I'd have to implement code for a special case (applying to a default group) that then goes through and sees who doesn't have a permissions node for a group instead of checking for groups. Which I guess would work (thinking about it as I write). Update soon I promise. :P
@dagundi
I'll work on this, I need to figure out the new Configuration setup. Might be a while before it gets implemented sorry. :/
@rockxz3
I'm not going to implement this because it's a lot of futzing around in the code when you could just convert it yourself into hours in like 2 seconds. It will take decimals, it doesn't have to be a whole number of hours.
-
View User Profile
-
Send Message
Posted Oct 14, 2011@rockxz3 /tax create <taxname> <percentincome> <interval> [payee]
/tax create IncomeTax 1% .5 Batman
Creates a tax called IncomeTax which takes 1% of the persons economy balance every 0.5 hours and pays it to Batman.
-
View User Profile
-
Send Message
Posted Oct 14, 2011Could there be an option in the commands to set what kind of interval? like hours,seconds minutes...
-
View User Profile
-
Send Message
Posted Oct 14, 2011Can someone explain the variables in the tax create commands, and maybe an example?
-
View User Profile
-
Send Message
Posted Oct 14, 2011Cool... i tested this on my Test Server. One request for the Plugin. Pls add custom localisation Files for the messages (I would like to have the messages in german)