Advertisement
Den_Abr

Untitled

May 17th, 2015
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.79 KB | None | 0 0
  1. # ---------------------- ChatGuard 7.0 default configuration file --------------------- #
  2. # Dont worry if you have just updated plugin. Old configuration saved as old_config.yml #
  3. #        Please read comments and dont ask silly questions about configurating          #
  4. #   Dont use Notepad++ default tabulation. Enable 'Replace by space' in Tab Settings    #
  5. #       NOTICE: Enabling Hard Mode enables message cancelling automatically             #
  6. # ------------------------------------------------------------------------------------- #
  7.  
  8. # dont touch this
  9. Version: 1
  10.  
  11. Check for updates: true
  12. # Max warnings and custom replacement work only if Separated warnings are enabled
  13. Swear settings:
  14.     enabled: true
  15.     inform admins: true
  16.     hard mode: true
  17.     max warnings: 10
  18.     custom replacement: <bad word>
  19. Caps settings:
  20.     enabled: true
  21.     inform admins: true
  22.     max warnings: 10
  23.     max caps percent: 60
  24.     # dont check if message smaller than your value(ex. for escape checking smiles)
  25.     min message lenght: 3
  26. Flood settings:
  27.    # flood messages will be cancelled in any way
  28.     enabled: true
  29.     inform admins: true
  30.     max warnings: 10
  31.     # in seconds
  32.     flood time: 10
  33.     # set to 0 to disable function
  34.     message cooldown: 5
  35.     # 1 value means that the last player's message will be checked for flood only
  36.     flood levels: 1
  37. Spam settings:
  38.     enabled: true
  39.     inform admins: true
  40.     max warnings: 10
  41.     # use only if you know something about regular expressions
  42.     domain regexp: ([0-9a-z]{2,}\.)+(ru|com|org|ua|su|tv|net|biz|info|name|mobi|kz|by|lv|eu|tk)(:\d*)?
  43.     ip regexp: \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d*)?
  44.     custom replacement: <spam>
  45.     hard mode: true
  46. Messages:
  47.    # message will be modified to normal if disabled
  48.     cancel if violation: true
  49.     # works only if separated warnings are enabled
  50.     replacement: <censored>
  51.     enable character blacklist: true
  52. Warnings settings:
  53.     enabled: true
  54.     separate: true
  55.     # works only if separate is false
  56.     max count: 10
  57. Punishment settings:
  58.     enabled: true
  59.     # you can add any reason with any name how many as you want
  60.     reasons:
  61.         1: '{Player} was kicked because he is bad boy'
  62.         second: '{Player} was banned for capsing'
  63.         another: '{Player} was killed for spamming'
  64.         flooder: 'Chat was flooded because of {Player}'
  65.         silent: '-s'
  66.         mute-time: '1h'
  67.     commands:
  68.         custom: false
  69.         # common commands will be executed if custom is false, you can use any reason described in reasons section
  70.         # just use {Reason_(name)} tag
  71.         common commands:
  72.            - kill {Player}
  73.             - ban {Player} 1d {Reason_1} {Reason_silent}
  74.         swear commands:
  75.            - mute {Player} {Reason_mute-time}
  76.             - broadcast {Reason_1}
  77.         caps commands:
  78.            - mute {Player} {Reason_mute-time}
  79.             - broadcast {Reason_capsing}
  80.         flood commands:
  81.            - mute {Player} {Reason_mute-time}
  82.             - broadcast {Reason_flooder}
  83.         spam commands:
  84.            - kick {Player} {Reason_another}
  85.             - broadcast {Reason_another}
  86. Listeners:
  87.    # by default plugin uses ProtcolLib to improve compatibility and performance
  88.     use packets: true
  89. Other settings:
  90.     check signs: true
  91.     # number after colon means how many arguments need to skip after command
  92.     # ex. when you type command "/tell DEN_ABR hello friend" DEN_ABR will not marked as caps
  93.     # to disable this set value to []
  94.     check commands: ['/me:0', '/call:1', '/msg:1', '/tell:1', '/w:1', '/r:0']
  95.     # may be useful if you find a bug and want report it to developer, max value is 3
  96.     debug level: 0
  97.     # check after logging in if you use Auth plugin(like AuthMe, xAuth etc)
  98.     wait for login: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement