Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. # !-----------------------------------------------------------------------------------------!
  2. # Welcome to Handlers Configuration
  3. #
  4. # A handler stores multiple instructions of what should happen when
  5. # the message is caught by a rule.
  6. #
  7. # This reduces repetitive code and makes things more human and future proof.
  8. #
  9. # For configuration, see:
  10. # - https://github.com/kangarko/ChatControl-Pro/wiki/Handlers
  11. #
  12. # Remember, you can remove or edit all handlers below, and create your own ones!
  13. #
  14. # !-----------------------------------------------------------------------------------------!
  15.  
  16. # -----------------------------------------------------------------------------------------
  17. # The default advertisement handler.
  18. # -----------------------------------------------------------------------------------------
  19. advertisement:
  20. #
  21. # Ignore players with a proper permission.
  22. #
  23. Bypass_With_Permission: "chatcontrol.bypass.ad"
  24. #
  25. # Do not filter ads in the following commands:
  26. #
  27. Ignore_Commands:
  28. - // # WorldEdit
  29. - /brush
  30. - /auction
  31. - /auc
  32. - /register
  33. - /reg
  34. - /login
  35. - /l
  36. #
  37. # Warn the player.
  38. #
  39. Player_Warn_Message: "&7Please do not advertise other websites or IP adresses."
  40. #
  41. # Notice online staff members.
  42. #
  43. Staff_Alert: "chatcontrol.notify.ad Ad_Info"
  44. #
  45. # Deny the message entirely.
  46. #
  47. Block_Message: true
  48. #
  49. # Log the violation so you can check it if you are offline.
  50. #
  51. Write_To_File: logs/advertisements.log
  52.  
  53. # -----------------------------------------------------------------------------------------
  54. # The default swear-words handler.
  55. # -----------------------------------------------------------------------------------------
  56. swear:
  57. #
  58. # Ignore players with permission.
  59. #
  60. Bypass_With_Permission: "chatcontrol.bypass.swear"
  61. #
  62. # Do not filter commands below:
  63. #
  64. Ignore_Commands:
  65. - // # WorldEdit
  66. - /brush
  67. - /auction
  68. - /auc
  69. - /register
  70. - /reg
  71. - /login
  72. - /l
  73. #
  74. # Warn the player.
  75. #
  76. Player_Warn_Message: "&cSwearing is prohibited on this server."
  77. #
  78. # Notice online staff.
  79. #
  80. Staff_Alert: "chatcontrol.notify.swear &8[&7Swear/ID {ruleID}&8] &7{player}: &f{message}"
  81. #
  82. # Replace the swear word with a censor.
  83. # If you only specify @prolong, the replacement will be automatically stretched to match word's length
  84. # assuming it only contains one letter, in this example a star.
  85. #
  86. Replace_Word: "@prolong *"
  87. #
  88. # Log the violation so you can check it if you are offline.
  89. #
  90. Write_To_File: logs/swears.log
  91. #
  92. #
  93. #
  94. local:
  95. Bypass_With_Permission: "chatcontrol.bypass.pchat"
  96. Ignored_In_Commands:
  97. - /p chat
  98.  
  99. Player_Warn_Message: "&cPlease use /local!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement