Taxes
This plugin comes from the lack of a decent plugin for taxes. It was created to deal with an unbalanced economy where you need to level things out a bit. It utilizes a basic tax bracket idea when charging taxes and has an easy to follow command list / configuration file.
This plugin offers three tax brackets. You can modify what qualifies each player to be in a tax bracket. From the start, the tax brackets are set up like so:
- Low: Users in the lower tax bracket have anywhere from $0 to $10,000. They are taxed 5% whenever you choose to collect taxes.
- Middle: Users in the middle tax bracket have anywhere from $0 to $50,000. They are taxed 10% whenever you choose to collect taxes.
- High: Users in the high tax bracket have more than $50,000. They are taxed 20% when taxes are collected.
You can configure the money required for each tax bracket and the tax percentage.
Installation Instructions
- Before you install Taxes, you must have Vault.
- You must also have a Vault Compatible Economy plugin.
- Drop the plugin into your plugins folder.
- Run and let the config generate.
- Modify the Config to your liking, reload the server.
Configuration
general: #Account all taxes go into. account: ServerAccount # Should the plugin automatically charge accounts daily? If not, taxes can still be collected with /tax collect AutoChargeDaily: false taxbrackets: # Tax rates for each tax bracket. (Percentage / 100) high: 0.20 middle: 0.10 low: 0.05 requirements: # Minimum amount of currency to be considered inside of a tax bracket. high: 50000 middle: 10000 low: 0 maxtaxes: # The maximum amount each bracket can be taxed. high: 25000 middle: 5000 low: 2000
Commands
This plugin offers three commands. The first one is:
- /tax
- Without any arguments, this is usable by every player. This will tell them their balance, tax bracket, tax percent, tax amount due, tax status. The status can be changed with permission nodes.
- /tax collect
- Anyone with the taxes.collect permission node will be able to use this. This will collect all taxes from players who have the 'Applicable' status. Taxes are only collected when this command is used. If you want an automated system, find a plugin that automatically runs commands from console. This will only collect taxes from online players.
- /tax reload
- Reloads the taxes configuration.
Permission Nodes
- taxes.exempt: This will make the player exempt from paying taxes.
- taxes.collect: This allows the player to use the /tax collect command.
- taxes.reload: Allows the player to use /tax reload.
Suggestions
I am always open for suggestions toward improving the plugin. I have more things planned for the plugin. You may use the comments / tickets to make a suggestion. :)
@tiagoomendess
It taxes a player that signs on to your server each day. There isn't one universal tax time. It is whenever a player signs on to the server for the first time each day. It only charges once per day, per player. Essentially, any player that plays on your server will be charged taxes once per day.
Just tax Online Players? what a downside :( I want tax every players who's registed on my server
@JericM
The way the plugin is set up now, is it does not charge at a specific time each day. Instead, it charges the first time a player signs on each day. It just checks the player's info in the config to see the date they last paid their taxes, if it is different from the current date, it recharges.
Edit: To clear things up, /tax collect does a global tax collection, but even then it checks if the player has already been charged that day. If they have, then the tax collector will ignore them. Essentially, as of v1.1, the plugin now operates on a per player tax basis instead of a server wide tax collection.
Two things would sell this plugin to me, as no other plugin out there is dedicated to just taxes, but these two things are causing me to hesitate when I think about implementing it:
Automation- I realize that we could all download a plugin to run commands for us, but this isn't feasible if your goal is light weight plugin management. Also you should want this plugin to be peoples' one stop shop for their tax needs and some servers don't want just ANYONE collecting taxes, and so reserve ranks that can. But the problem is, to run a very balanced and fair economy, it requires people who CAN use the /tax collect to be on at regular intervals. This is of course solvable by downloading a plugin, but that immediately makes it apparent that THIS plugin is not a one stop shop, it is more of a means to an end.
Online Only Players- This really is the the biggest downside. I don't know if this was a personal choice of yours when creating the plugin or not, but think about it: if taxes are collected at a certain time of day either via an amazing setting in your plugin OR another plugin that automates, then players begin learning the time and will simply log out to avoid taxes. They're scot-free when having to pay taxes. Then the plugin is moot anyway. And besides, who wants to charge only people PLAYING on the server taxes? Everyone should be charged taxes on my server, at least (except those that are exempt).
So yes, those are my two recommendations. I can live with having to install another plugin to run commands at intervals, but the online players only breaks it for me. Let me know if this is a request that could manifest into reality.
@tiagoomendess
I'll make a messages file that makes all of the messages configurable in the next update. Expect v1.2 out sometime next week / next weekend. I have a very busy weekend ahead of me.
Sugestion: Make translation for diferent languages. I can translate from English to Portuguese.
Please do that?
Only necessary for information when I type /tax
I'm looking for a plugin like that thx
@MistPhizzle
Thank you
@fox243
Will be done in v1.2!
should take out the auto exempt for ops.
@RafaSKB
Just to clarify: A maximum amount that a user can be taxed? If so, I'll add it in the next update (Will be out the first half of the week)
Suggestion: a maximum_amount for each bracket =)