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 Feb 24, 2012@theDarkAce99
Sorry for the late reply. That bug was fixed in version 1.181.
Also, yes, you do have SQL database. This plugin defaults to creating a local SQLite database in its respective folder. This is for internal use only.
Lastly, that error should not hinder plugin use... its just rather spamming :\ Just grab 1.181 and that should fix it.
-
View User Profile
-
Send Message
Posted Feb 24, 2012Hey, I need some help setting up this plugin. I'm sorry to ask such a silly few questions but this plugin has some feature I really like and want to use so I will be grateful for any help offered to me. I downloaded the current version of CashFlow and moved into my plugins folder. I then ran my server (yes, I have PermissionsBukkit and Vault) and created a few groups with different salaries. So far none of the salaries have been paid and everytime a user leaves the server I get this message [WARNING] [CashFlow][SQLite] Error at SQL Query: [SQLITE_ERROR] SQL error or missing database (near "check": syntax error). I do not have any SQL databases. What should I do to get CashFlow to work? Thanks.
-
View User Profile
-
Send Message
Posted Feb 24, 2012@Mitsugaru
Thanks for your help
i'm waiting for your help when you have time :) i've always this probleme with the 1.181
-
View User Profile
-
Send Message
Posted Feb 23, 2012@Cat121
...Are you sure you're using the latest from the betas? o.O
How did you download it? From the large download button at the top, or from the download list on the sidebar?
If you used the large button, it would be using the old 1.0.0 release version... which is what it looks like you're using. My reasoning is that your error is talking about a Timer in our source code... which I completely removed in favor of the Bukkit Scheduler and Threads.
So, please re-download and make sure you grab the latest version from the sidebar or from the Files tab.
Also note, the beta versions use Vault, not Register. Just in case you don't already have that plugin.
-
View User Profile
-
Send Message
Posted Feb 23, 2012@Mitsugaru
Maybe i was so happy that i forgot to test before posting my last message.
Should i create a new ticket ?
-
View User Profile
-
Send Message
Posted Feb 23, 2012@DarkCreon
For SQLite to MySQL import, you need to set the mysql.import key to true in the config.yml.
As for the SQL error, I will try and look at it at some point.
@Cat121
Alright, thanks for the support. :)
-
View User Profile
-
Send Message
Posted Feb 23, 2012I was to update an inactive plugin and i found this one. You make my day and save my time, thank you for this !
-
View User Profile
-
Send Message
Posted Feb 21, 2012i just started to get this msg after updating to the latest version. 03:29 PM [WARNING] [CashFlow][MySQL] Error at SQL Query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check='1' WHERE playername='Paladinthebest1'' at line 1
i also cannot edit the table data. 15:09:17 SELECT * FROM cashflow.cf_cashflow LIMIT 0, 1000 Error: `cashflow`.`cf_cashflow`: table data is not editable because there is no primary key defined for the table
when did you plan to move all the data into the DB?
-
View User Profile
-
Send Message
Posted Feb 19, 2012@capitano33
I may have found the issue you were having. Its not fixed in the version that I just submitted, but I'll reply again once I have done so.
Once again, sorry for the tardiness... I have been very busy as this is my senior year at my university. My Capstone programming project takes most of my time, which is why I haven't been able to update as frequently as I used to.
-
View User Profile
-
Send Message
Posted Feb 19, 2012@sampolo95
Can you make a ticket about this issue?
Please attach your permissions yml file, which permission system you are using, and the CashFlow yml as well.
-
View User Profile
-
Send Message
Posted Feb 18, 2012I have 4 groups but whenever i do /salary apply group standard builder i get an error saying group not found, any help would be great.
-
View User Profile
-
Send Message
Posted Feb 13, 2012@socramazibi
You can just use the in-game commands. Here's a tutorial example:
http://dev.bukkit.org/server-mods/cashflow/pages/how-to/example/
Here's an old sample config:
http://dev.bukkit.org/paste/3916/
-
View User Profile
-
Send Message
Posted Feb 13, 2012Hello, I can not configure the config.yml, to pay salaries every 15 minutes that users are connected, could you please put an example.
Thanks a Greeting
translated google
-
View User Profile
-
Send Message
Posted Feb 11, 2012@Mitsugaru
thanks, i'm waiting your answer
-
View User Profile
-
Send Message
Posted Feb 10, 2012@capitano33
Sorry for the late reply.
If I have time, I will try and look into it this weekend.
-
View User Profile
-
Send Message
Posted Feb 10, 2012hello,
i have a problem when starting /cashflow addplayers, i have this message: [WARNING] [CashFlow][MySQL] Error at SQL Query: Column count doesn't match value count at row 1 I'm runing whith bukkit 1846 and cahsflow 1.17.
Thanks for your help
-
View User Profile
-
Send Message
Posted Feb 9, 2012@RevoMods
Thanks for your support :D
-
View User Profile
-
Send Message
Posted Feb 8, 2012I love this. :)
-
View User Profile
-
Send Message
Posted Feb 5, 2012@masteryodaaa
You only need to import if you have data from the SQLite database.
And there's no real difference really, suppose its just a matter of preference. Only reason I added MySQL support is due to people having SQLite issues.
The only real usage currently for the database is to:
Eventually, we'll also be using the database to keep track of when a player was last on. That way, I can add back the setonlineonly interval function back.
Also, I didn't make the plugin. I just help maintain it.
Our server wanted to use it, but we were having issues with the timers and whatnot... So, I went ahead and did a revamped version.
Then I figured that maybe others wanted the updated version as well, so... here we are.
-
View User Profile
-
Send Message
Posted Feb 5, 2012So cashflow works now with mysql how does that work should i set import to true? whats the diffrence if i use mysql or not? Thank you Mitsugaru for your answers and for a great plugin