Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ---------------------- ChatGuard 7.0 default configuration file --------------------- #
- # Dont worry if you have just updated plugin. Old configuration saved as old_config.yml #
- # Please read comments and dont ask silly questions about configuration #
- # Dont use Notepad++ default tabulation. Enable 'Replace by space' in Tab Settings #
- # ------------------------------------------------------------------------------------- #
- # dont touch this
- Version: 5
- Check for updates: true
- # NOTICE: Enabling Hard Mode enables message cancelling automatically
- # experimental function
- Hard mode: false
- # Max warnings and custom replacement work only if Separated warnings are enabled
- swear settings:
- enabled: true
- inform admins: true
- max warnings: 3
- # supports color codes
- custom replacement: '*****'
- caps settings:
- enabled: true
- inform admins: true
- max warnings: 3
- max caps percent: 60
- # dont check if message smaller than your value(ex. for escaping smiles)
- min message lenght: 3
- flood settings:
- # flood messages will be cancelled in any way
- enabled: true
- inform admins: true
- max warnings: 3
- # in seconds
- flood time: 10
- # set to 0 to disable function
- message cooldown: 3
- # 1 value means that the last player's message will be checked for flood only(2 - with penultimate, etc.)
- flood levels: 1
- spam settings:
- enabled: true
- inform admins: true
- max warnings: 3
- custom replacement: '*****'
- # set how many numbers can players send in one message, 0 - disable
- max numbers: 0
- Messages:
- # bad words and spam will be replaced with appropriate replacement if disabled
- cancel if violation: true
- # works only if separated warnings are enabled
- replacement: '*****'
- enable character whitelist: true
- Warnings settings:
- enabled: true
- separate: true
- # works only if separate is false
- max count: 3
- Punishment settings:
- # execute commands from commands section if player gains max warning count
- enabled: true
- # max mute time for native /cg mute command(set to 0 for unlimited). Time format - 1s, 1m, 1h, 1d
- max mute time: 1h
- # you can add any reason with any name how many as you want(but for what?)
- reasons:
- swear: '&fЦензура'
- caps: '&fКапс'
- flood: 'fФлуд'
- spam: '&fСпам'
- commands:
- custom: false
- # common commands will be executed if custom is false, you can use any reason described in reasons section
- # just use {Reason_(name)} tag
- swear commands:
- - mute {Player} {Reason}
- caps commands:
- - mute {Player} {Reason}
- flood commands:
- - mute {Player} {Reason}
- spam commands:
- - mute {Player} {Reason}
- # replace first element with second element in messages
- Substitutions:
- - 'green|red'
- Other settings:
- check signs: true
- check items: true
- # check player's command for swearing, capsing and flooding
- # to disable this set value to []. Number after colon means how many arguements in command we should skip
- check commands: ['/me:0', '/msg:1', '/tell:1', '/w:1', '/r:0']
- # may be useful if you find a bug and want report it to developer
- debug level: 0
- # if traditional messages listening system doesnt work(or smth else) plugin can listen packets
- use packets: false
- # works only if packet listening is disabled
- # available priorities HIGHEST, HIGH, NORMAL, LOW, LOWEST, MONITOR(not recommended to use)
- event priority: HIGHEST
Advertisement
Add Comment
Please, Sign In to add comment