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.
@DarkCreon
I'll see if I can find the time this weekend.
No promises though.
@Mitsugaru
That would be awesome. :)
@sharp237
Well, I have been busy with other projects... however, I could push out a minor incremental update of the plugin's current status along with that feature, if you want?
I mean, I suppose an update is rather overdue :\
When will percentage based salaries be introduced?
@Edisun
There should be a default message sent when it happens.
The message customization is still in the works.
@Mitsugaru
One more question, is there a way to have the user get a notice when they are being taxed/payed? Something like 'You have just been paid your Salary of $100'.
@Mitsugaru
I know that I can configure it through the console, I just prefer to see what I am doing sometimes, thanks a lot for your help!
@Edisun
Yeah, the world config entry is something from legacy versions. Just never bothered to remove it.
You know you don't have to do the config by hand. You can do it through in-game commands. In any case, there is an example config available here: http://dev.bukkit.org/paste/3916/
Also, those would be double values, not floats. The config will attempt to parse it as a double value.
@Mitsugaru Right on, so I should just leave the "world" setting blank?
Also, for iConomy, should I use float values for the salary payout? For example I want to give anyone in the group 'Members' $10 every 5 min while they are online, for testing, so the config would look like this?:
@Edisun
It already will do taxes/salaries for any given player/group no matter what world... That's due to the fact that the vast majority economy systems are world agnostic.
So... there's no extra config for multi-world servers.
Hi There, I wasn't sure if this was already asked but how to do configure this for Multiverse support? I have more than just 1 world and want to be able to use this to give my players a salary no matter what world they are in. Thanks!
Thanksss!!!! :D
@Duning
On the right side panel, under Recent Files.
Or go to the Files tab.
@Mitsugaru
Thx for your response :-)
But, where I download de lastest version? O.o :C
Thanks ^^
@Duning
By reading the first line of the stack trace, I can tell you your problem:
Enabling CashFlow v1.0.0
See, you're using the super old, legacy version 1.0.0. You need to make sure that you grab the latest beta version that is available... as the v2.0 release is not ready yet.
2012-06-17 19:27:30 [INFO] [CashFlow] Enabling CashFlow v1.0.0 2012-06-17 19:27:30 [SEVERE] Error occurred while enabling CashFlow v1.0.0 (Is it up to date?) java.lang.NoClassDefFoundError: org/bukkit/event/Event$Type at mveritym.cashflow.CashFlow.onEnable(CashFlow.java:41) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:552) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassNotFoundException: org.bukkit.event.Event$Type at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 21 more
Why this?
@MRCartm0n
Sorry, I've been busy with other plugins.
I have done some work on CashFlow. Mostly, refactoring and adding in custom localization configuration. However, its not in the state where I would like to release it just yet. Still trying to come up with the logistics for new features.
So, I haven't gotten around to item-based salaries.
Any news on the update which adds item salaries? If not is there a plugin that does that?
would like to see limits on the levels of tax that people can set, and limits on the groups they can set it to/ number of taxes they can have
also one key aspect two separate perms for people that can set salaries and taxes without an employer and ones that have to be paid from an account.
at the moment the user under the perm "cashflow.salary" can not specify his name on command /salary create <salaryname> <salary> <interval> [employer]
and therefore pay anyone any amount they please
@Mitsugaru
Only their information is there :) I added non, ALL I DID was make your plugin read from the icomonomy list. I will be reading the change log to see what gets effected anyways if its even worth upgrading the plugins. Not stupid. I do working as a networking system admin. I have already thought of those listed things. Simply put all I would have to do is just install your base plugin and walla, will use the other player table.