

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.
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. NOTICE: Don't Forget To add softdepend: or depend: to your plugin.Command iConomy - Charge for each command NOTICE: Vault automatically logs what Plugins it found and hooks to, there is no need to display this information in your plugin. Make sure to add depend: to your plugin.yml - You don't need to use all 3 if you don't want to in your plugin! If you only want one or two of the three APIs only use those ones you need! The following 3 methods can be used along with the 3 variables to load both the permission, economy, and chat systems from Vault. There's a slightly longer/more detailed example on the Vault github page on how you might link to vault in a plugin. Opting out of this service can be done by editing plugins/bstats/config.yml and changing opt-out to true.
Bukkit iconomy Offline#


Bukkit iconomy full#
It's suggested to use BOSE for full featured banks.
