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