Command iConomy
Command iConomy - Charge for each command
PLEASE OPEN A NEW TICKET FOR EVERY ISSUE, THERE WILL BE NO HELP IN COMMENTS!
Version v10.0.0
Overview
Command iConomy is a plugin that allows a server admin to assign a cost to server commands that is deducted from a player's iConomy account whenever a player uses that command. Commands are matched using java regular expressions. If text entered by a player matches a configured rule, Command iConomy will attempt to bill the player. Command iConomy requires Vault!
Examples include charging for each summoned magic carpet, or adding a fee for different kits.
Configuration
To set the price of a command, add a line to prices.yml. Command iConomy matches regular expressions against user input. Regular expressions allow you to charge separately for individual sub-commands or even specific command arguments.
A typical configuration line looks like this: ^/tp$: 10
A configuration line matching sub-commands might look like this: ^/time (day|night)$: 20
Command expressions are matched in order from top to bottom. If a match is found, Command iConomy stops looking for a match and charges the player the configured amount. If the command is configured with a cost of zero, processing will stop but the player will not be charged. Together these features allow open ended commands to be individually charged. Ex:
^/warp help$: 0
^/warp \S+$: 10
Really Quick Regular Expression Info
<<code>>
^ = Start of command
$ = End of command
\S+ = One or more non-whitespace characters<</code>>
For best results, please study and learn regular expressions!
For more info on regular expressions, see: http://www.regular-expressions.info/reference.html
Command Cooldowns
You can now configure a number of seconds before charging a player again for a command. To do so, add a space and then the number of seconds to wait after the command's cost. Ex:
^/warp \S+$: 10 30
Permissions
CommandIConomy.Free - Grants free access to all commands.
Internationalization
Three additional settings can be made in the config.yml file to localize Command iConomy's text. You will have to create config.yml. They are:
NoAccountMessage
InsuficientFundsMessage
AccountDeductedMessage
Substitute (cost) for cost
Requires Vault:
http://dev.bukkit.org/server-mods/vault/
Will this keep update?
@KH111
Yes, it works with every command!
@Kostronor
good. and this works with EVERY command, right?
@KH111
Any bugs encountered? As long as tthere are no api-changes (and they are not common!) it will magically work in 1.5.2 ;-)
@Kostronor
1.5.2?
Plugin should work in 1.5.1 even if not explicitly said! If you encounter errors, please start a ticket for them! :-)
Wish this worked well with 1.5.1. The plugin spews exceptions when I use it in 1.5.1. >.<
If you are going to support the plugin still then you may be interested in this, but possibly not because this plugin isn't meant for 1.5.1 :P
http://dev.bukkit.org/paste/7673/
I have a question... Lets say i would like to charge for /enchant and I set this ^/enchant knockback: 25 If I enchant a weapon to its max knockback and I type /enchant knockback Will it not charge for the fail of the command or will it still charge?
Thank you.
i uploaded a version working with the newest builds!
Is this plugin stable? I'm starting up my server and am going through the process of adding plugins. I like the idea of this feature added to Iconomy, I feel it would help to stimulate the need for an economy in the server map.
Though it's a bit disheartening to see that it hasn't been updated since March, and this is almost a year later.
please, if this is functioning for 1.4+ I'd like to know. if not, are there any similar plugins?
I'm taking this plugin over in a couple days. I'll post a 1.4.2/1.4.3 version ASAP.
@Kostronor "This project is very active!"
You might wanna change that then ;)
I have found a replacement. Its called booscooldowns
I've stopped supporting this a while ago, sorry!
Ticho doesn't work. Is there NO plugin similar to this? :(
@xLoGiiKzZo
Try this: http://dev.bukkit.org/server-mods/buycommand
@Kostronor
The github is out of date, not updated since October 2011
@RiotShielder I need this too :(
Can you update this for 1.3.1?
@Kostronor
i will use it while it will still work.