![]() \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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |