Guest User

Untitled

a guest
Mar 24th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 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 configuration #
  4. # Dont use Notepad++ default tabulation. Enable 'Replace by space' in Tab Settings #
  5. # ------------------------------------------------------------------------------------- #
  6.  
  7. # dont touch this
  8. Version: 5
  9.  
  10. Check for updates: true
  11.  
  12. # NOTICE: Enabling Hard Mode enables message cancelling automatically
  13. # experimental function
  14. Hard mode: false
  15.  
  16. # Max warnings and custom replacement work only if Separated warnings are enabled
  17. swear settings:
  18. enabled: true
  19. inform admins: true
  20. max warnings: 3
  21. # supports color codes
  22. custom replacement: '*****'
  23. caps settings:
  24. enabled: true
  25. inform admins: true
  26. max warnings: 3
  27. max caps percent: 60
  28. # dont check if message smaller than your value(ex. for escaping smiles)
  29. min message lenght: 3
  30. flood settings:
  31. # flood messages will be cancelled in any way
  32. enabled: true
  33. inform admins: true
  34. max warnings: 3
  35. # in seconds
  36. flood time: 10
  37. # set to 0 to disable function
  38. message cooldown: 3
  39. # 1 value means that the last player's message will be checked for flood only(2 - with penultimate, etc.)
  40. flood levels: 1
  41. spam settings:
  42. enabled: true
  43. inform admins: true
  44. max warnings: 3
  45. custom replacement: '*****'
  46. # set how many numbers can players send in one message, 0 - disable
  47. max numbers: 0
  48. Messages:
  49. # bad words and spam will be replaced with appropriate replacement if disabled
  50. cancel if violation: true
  51. # works only if separated warnings are enabled
  52. replacement: '*****'
  53. enable character whitelist: true
  54. Warnings settings:
  55. enabled: true
  56. separate: true
  57. # works only if separate is false
  58. max count: 3
  59. Punishment settings:
  60. # execute commands from commands section if player gains max warning count
  61. enabled: true
  62. # max mute time for native /cg mute command(set to 0 for unlimited). Time format - 1s, 1m, 1h, 1d
  63. max mute time: 1h
  64. # you can add any reason with any name how many as you want(but for what?)
  65. reasons:
  66. swear: '&fЦензура'
  67. caps: '&fКапс'
  68. flood: 'fФлуд'
  69. spam: '&fСпам'
  70.  
  71. commands:
  72. custom: false
  73. # common commands will be executed if custom is false, you can use any reason described in reasons section
  74. # just use {Reason_(name)} tag
  75. swear commands:
  76. - mute {Player} {Reason}
  77. caps commands:
  78. - mute {Player} {Reason}
  79. flood commands:
  80. - mute {Player} {Reason}
  81. spam commands:
  82. - mute {Player} {Reason}
  83. # replace first element with second element in messages
  84. Substitutions:
  85. - 'green|red'
  86. Other settings:
  87. check signs: true
  88. check items: true
  89. # check player's command for swearing, capsing and flooding
  90. # to disable this set value to []. Number after colon means how many arguements in command we should skip
  91. check commands: ['/me:0', '/msg:1', '/tell:1', '/w:1', '/r:0']
  92. # may be useful if you find a bug and want report it to developer
  93. debug level: 0
  94. # if traditional messages listening system doesnt work(or smth else) plugin can listen packets
  95. use packets: false
  96. # works only if packet listening is disabled
  97. # available priorities HIGHEST, HIGH, NORMAL, LOW, LOWEST, MONITOR(not recommended to use)
  98. event priority: HIGHEST
Advertisement
Add Comment
Please, Sign In to add comment