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.
@Perichor
Silly mortals, I'll smite them for assuming your a man and double the taxes (once its working for default groups) in your honor :)
@rockxz3
Hm, killing them is an interesting idea. I was actually going to add a feature that jailed players that didn't have enough money to pay. Would that work for you?
@Tobyz28
Haha that's awesome! I should demand shrines on the server I play on. If the shrine is still there you should amend it to say Tax Woman :P I'm working on your bug reports and feature requests by the way.
@bradgillap
Aw thank you. :)
Thanks from the people in Evervale! ;) Please note this is an economy server, they would have made the whole thing out of gold but it would have been beyond broke after ;) The Sign says: A shrine to Perichor aka. The Tax Woman
Could you make it so players die upon not paying taxes, if so could it not be instant but instead starts dropping there health 1 heart every 10 seconds with a message "You are dying because you don't have enough money to pay taxes!
Welcome back! Hope you are feeling better, we missed you lol.
@indigomontoya
Updated!
@XpL0z
Thanks :)
i didnt fully check it, but so far so good! you should make jobs, them all the salary's will be much more fit...
thanks for a great plugin!
@Endimmion @paspaspaspas
Looks like something's going wrong with bPermissions. Added to the list of things to fix. Sorry. :(
paspaspaspas - this plugin does not work with Permissions and Permissions Plus, but I think you figured that out. :P
i got that
19:49:55 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'tax' in plugin CashFlow v0.4.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 3) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 53) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler. java:756) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.NullPointerException at mveritym.cashflow.PermissionsManager.isGroup(PermissionsManager.java: 121) at mveritym.cashflow.TaxManager.addGroup(TaxManager.java:172) at mveritym.cashflow.TaxManager.addGroups(TaxManager.java:161) at mveritym.cashflow.CommandManager.taxCommand(CommandManager.java:80) at mveritym.cashflow.CashFlow.onCommand(CashFlow.java:69) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39) ... 12 more
using bpermissions in my map folder my config is
default: default players: Recepcionista: - default - ciudadanos asierus: - default - ciudadanos - Admin Guardia: - default - ciudadanos groups: operador: - essentials.tp - essentials.back.ondeath - essentials.tptoggle - essentials.tpa - essentials.tpahere - essentials.tphere - essentials.tppos - essentials.warp.list - essentials.delwarp - essentials.whois - essentials.nick - essentials.broadcast - essentials.kick - essentials.item - essentials.suicide - essentials.signs.free.use - essentials.signs.heal.use ciudadanos: - essentials.home - essentials.sethome - essentials.afk - essentials.help - essentials.rules - essentials.motd - essentials.helpop - essentials.spawn Admin: - essentials.tpo - essentials.tpohere - essentials.essentials - essentials.reloadall - essentials.gc - essentials.plugin - essentials.clearinventory - essentials.burn - essentials.ext - essentials.kill - essentials.ban - essentials.banip - essentials.mute - essentials.kickall - essentials.unban - essentials.unbanip - essentials.togglejail - essentials.jail.exempt - essentials.setjail - essentials.time - essentials.god - essentials.heal - essentials.setspawn - essentials.signs.free.create - essentials.signs.heal.create
this happens to me when i try to get agroup into a tax with /tax apply group im doing something wrong?
does this work with permissions+permissionsplus? i always get the group not found thing when i try to a add one of my groups to one tax.
@Perichor
My config
lol NO! its NOT ok! how dare you get sick.... Hope you feel better soon! Look forward to the update
@Endimmion
Post me the stack trace from your server log and I'll take a look. Also your config.yml would be helpful. :)
@Insidiea
Can you post me your server log (maybe in a paste bin for editing's sake)? It looks like it should be paying, it might be a groups error or a caps problem or something.
@indigomontoya
I am currently in the hospital with appendicitis, when I'm out and caught up on all my college work I will resume working on 0.5. Sorry for the delay!
Using bPermissions and trying to apply a group to a tax give me an "Internal error...."
@Perichor
Im not getting any errrors, it's just that the taxes arent showing
@Perichor
taxes: Daily: taxInterval: 1.0 receiver: Insidiea tax: '2.4' payingGroups: - Green lastPaid: 2011-09-25T20:13:54.663Z payingPlayers: exceptedPlayers: list: - Daily
any idea when you might have the auto start feature out? Its causing me a lot of work everytime my server restarts while I am not there to manually start cashflow :)
@Insidiea
Intervals are in hours. What info can you give me beyond it's not taxing? Are you getting any errors? Can you post your config.yml?
@Perichor
Also, its not taxing my players, I'm using PEX