TaxCollector
TaxCollector
Tax your users for placing/breaking bloks, crafting, enchanting items and fishing.
Version 1.2
Features:
- specifing for which actions player will be taxed
- specifing player which will take collected money (it can be set globally and for each block type individually)
- possibility to define receiver aliases in separated config section (eg. you can add all stones/minerals to "Mine" alias and then define, in one place, who will get taxes from that; check config example)
- possibility to create signs with collected taxes statistics (separately for each user/alias)
- possibility to cancel any taxed action if user balance is too low
- auto version checking (but you can decide if you want to update)
- supporting many economy plugins via Vault
Dependencies
- Vault (required)
Permissions:
- taxcollector.immunity: Gives player tax immunity
- taxcollector.signs.create: Allows player to create sign with tax counter
- taxcollector.signs.refresh: Allows player to refresh sign data on right click
Configuration:
receiver: Player1 # global tax receiver, can be overridden in each action
debug: true # debug mode, sends messages about tax amount
signs:
refresh: 300 # tax statistics on the signs will be updated every 300 seconds
aliases:
Mine: Player3
taxes:
place:
'1': # tax section for placing stone
amount: 1 # it'll tax user with 1 currency
receiver: Player2 # it'll give all money colected from this section to Player2 instead of Player1
break: # break actions section
'1': # here we'll tax players from breaking stone
amount: 0.5 # you can set amount with a precision of 0.01
receiver: Mine # tax will go to Player3, it's set in aliases section
'3': # here we'll tax players from breaking dirt (receiver is not set, so it'll go to global receiver)
amount: 0.5 # you can set amount with a precision of 0.01
catch: # catch actions section (only 349 id is allowed here)
'349': # fishing tax
amount: 1
craft: # items craft actions section
'280': # stick crafting tax
amount: 1 # user will craft 4 sticks each time, so he'll pay 4 currency
enchant: # items enchant actions section
'276':
amount: 2 # user will pay 2 curreny every time he'll enchant diamond sword
Signs:
To create sign with collected taxes statistics use this template: First line: [TAX] Second line: receiver
As receiver you can set alias or user nick.
Signs will be updated each x seconds (set it in config file) or when you click on them with right mouse button (don't forget to set permissions for that).
Version history:
1.2 version:
- updated to Bukkit 1.2.5-R4.0
- added item enchanting tax
- added better balance checking
1.1 version:
- updated to Bukkit 1.2.5
- added tax receivers aliases
- added sign with collected taxes statistics
- added new version notifications
- added PluginMetrics support
- changed Spout craft event to Bukkit craft event
- fixed multiple items crafting tax (eg. sticks)
- disabled shift crafting
1.0 version:
- first public release
-
View User Profile
-
Send Message
Posted Sep 30, 2012Same issue here.
This is actually the perfect plugin for my server, but it is currently broken.
debug = true, everything works debug = false, weird error
-
View User Profile
-
Send Message
Posted Sep 27, 2012@milenchajsten
yes i have the same problem 1.3.2 please somebody try to solve it. It is because of debug: false... if i set it true it works alright
-
View User Profile
-
Send Message
Posted Jun 28, 2012@Hauke1988
Are you using 1.2.5-R4? Also config formatting is important, try to copy enchant section from example.
I'll try to reproduce this error on my test server this evening.
-
View User Profile
-
Send Message
Posted Jun 26, 2012Edit: Ok i managed to set the config. But players receive the error: "An error occured: null." They loose money but the item is not enchanted. This is my testing config: debug: false taxes: place: false break: false craft: false fish: false enchant: '276': amount: 2 signs: refresh: 300
-
View User Profile
-
Send Message
Posted Jun 26, 2012@Hauke1988
Section "enchant" added in config :)
-
View User Profile
-
Send Message
Posted Jun 25, 2012That's awesome! We are using Heros and have subclasses for jobs. And i need for our economy system costs which i can set for breeding, enchanting, fishing. Thanks in advance!
-
View User Profile
-
Send Message
Posted Jun 25, 2012@Hauke1988
Hmm, I can add tax for enchanting (different tax for each item).
-
View User Profile
-
Send Message
Posted Jun 19, 2012Is there a chance to implement a tax for enchanting an item or creating a falsebook shield? That would be awesome and i'd install the plugin right now ^^
-
View User Profile
-
Send Message
Posted May 29, 2012Updated, new file is waiting for approval. From now I'll try to update it faster ;)
-
View User Profile
-
Send Message
Posted May 28, 2012@mrchasez
Working on it, I think it'll be done in day or two :)
I could not take care of it earlier.
-
View User Profile
-
Send Message
Posted May 4, 2012Update?