

I could set the command "/sethome" to something cheap so you can set your first home for cheap, but then "/sethome * " would cost a lot, like $50000, so you had to make a decent amount of money prior to expanding your homes because you'd have to do something like " /sethome Lakeside" to set a specific home name, and I made the /delhome command really expensive so you couldn't just delete the default home and do the cheap /sethome command. It gave me a reason to have an economy on my little server, and encouraged people to not set tons of warp points and homes. It also doesn't stop you from running any (supported) commands that you don't have enough money for. It also doesn't announce anything like money deducted or not enough money. It seems to work for default bukkit commands, like /tp, but doesn't work for other commands like /warp or /sethome from Essentials. Three additional settings can be made in the config.yml file to localize Command iConomy's text.
MINECRAFT BUKKIT ICONOMY FREE
Ex:ĬommandIConomy.Free - Grants free access to all commands. To do so, add a space and then the number of seconds to wait after the command's cost. You can now configure a number of seconds before charging a player again for a command. \S+ = One or more non-whitespace characters>įor best results, please study and learn regular expressions!įor more info on regular expressions, see: Together these features allow open ended commands to be individually charged. If the command is configured with a cost of zero, processing will stop but the player will not be charged. If a match is found, Command iConomy stops looking for a match and charges the player the configured amount. Regular expressions allow you to charge separately for individual sub-commands or even specific command arguments.Ī typical configuration line looks like this: ^/tp$: 10Ī configuration line matching sub-commands might look like this: ^/time (day|night)$: 20Ĭommand expressions are matched in order from top to bottom. Command iConomy matches regular expressions against user input. To set the price of a command, add a line to prices.yml. Command iConomy requires Vault!Įxamples include charging for each summoned magic carpet, or adding a fee for different kits. If text entered by a player matches a configured rule, Command iConomy will attempt to bill the player. Commands are matched using java regular expressions.


PLEASE OPEN A NEW TICKET FOR EVERY ISSUE, THERE WILL BE NO HELP IN COMMENTS!Ĭommand 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. Command iConomy - Charge for each command
