main/Rule file example
Here is rule file example. This file is implementing Russian-translation of aAntiSpam
# MessageFilter translation rules created for plugin # aAntiSpam, http://dev.bukkit.org/bukkit-plugins/aantispam/ antispam00: type: START message-mask: 'You can only write every' replace-to: '&bМожно писать только один раз в &e%word6% &bсекунд!' cooldown-time: '' antispam01: type: EQUAL message-mask: '[aAntiSpam]You dont have Permissions !' replace-to: '&6[aAntiSpam]&bНедостаточный уровень доступа!' cooldown-time: '' antispam02: type: EQUAL message-mask: '[aAntiSpam]/aantispam set <TimeInSeconds>' replace-to: '&6[aAntiSpam]&b/aantispam set <ВремяВСекундах>' cooldown-time: '' antispam03: type: EQUAL message-mask: '[aAntiSpam]Config reloaded !' replace-to: '&6[aAntiSpam]&bНастройки перезагружены!' cooldown-time: '' antispam04: type: REGEX message-mask: '\[aAntiSpam\]\S+ is not a number\.' replace-to: '&6%word1% не является числовым значением.' cooldown-time: '' antispam05: type: START message-mask: '[aAntiSpam]Time set to' replace-to: '&6[aAntiSpam]&b Время установлено: %word4%' cooldown-time: ''
Comments