Advertisement
Ergenta

Untitled

Jan 23rd, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. # ---------------------------------------------------------
  2. # This file support creating handlers that are
  3. # triggered by user-defined rules.
  4. #
  5. # The purpose of a handler is to collect multiple actions and
  6. # use them when a message is caught by a rule. This reduces
  7. # repetitive code and makes things more human and future proof.
  8. # ---------------------------------------------------------
  9.  
  10. # An example of usage. The name is case sensitive.
  11. # All possible values are commented out below. They are not mandatory to use.
  12. Advertising_Ban_Filter:
  13. #
  14. # If the player has the permission their message will no be checked/handled.
  15. Bypass_With_Permission: "chatcontrol.bypass.ad"
  16. #
  17. # A list of commands that will be excluded from the check. Start with a slash ('/')
  18. #Ignored_In_Commands:
  19. # - /auction
  20. #
  21. # Shall we ignore the names of the players online?
  22. # Can degrade performance on extremelly big servers.
  23. #Ignore_Usernames: true
  24. #
  25. # If chat ignorer is enabled and a handler catches the message, players who ignore the specified set won't see the message.
  26. #Ignore_Chatdisplay: swear
  27. #
  28. # A message displayed to the player. Set to 'none' to disable.
  29. Player_Warn_Message: "%prefix &cSorry, %player, advertising is prohibited!"
  30. #
  31. # A message broadcasted to everyone. Set to 'none' to disable.
  32. Broadcast_Message: "%server &6%player tried to &cadvertise&6, inform OP!"
  33. #
  34. # A message broadcasted to players with permission specified below. Set to 'none' to disable.
  35. # Notice to the %ruleID variable: it is replaced only if the rule specifies an ID.
  36. Staff_Alert_Message: "%prefix &c%player violated rule &6ID %ruleID &cwith: &f%message"
  37. #
  38. # Players with following permission with recieve message specified above.
  39. # If set, the message must be specified and not be 'none'.
  40. Staff_Alert_Permission: "chatcontrol.notify.advertise"
  41. #
  42. # A message logged into console. Set to 'none' to disable.
  43. # %handler variable is the name of the handler, in this case "Advertising_Ban_Filter"
  44. #Console_Message: "%player violated rule ID %ruleID, triggered %handler filter with: %message"
  45. #
  46. # A path to file where the message will be logged. Set to 'none' to disable.
  47. #Write_To_File: log/advertisements.txt
  48. #
  49. # Should the message be blocked from appearing?
  50. Block_Message: true
  51. #
  52. # When plugin Vault is installed, you can take money from player
  53. #Fine: 10
  54. #
  55. # If points system is enabled (settings.yml), the amount of warning points to be given.
  56. #Warn_Points: 5
  57. # It is possible to specify the warning set name. NOTICE: If you have global warning set,
  58. # and want to give points there, you do not need to specify the set name
  59. #Warn_Points: swear 1
  60. #
  61. # A replacement that replaces only the part of the message that matched the rule
  62. # If set, Block_Message must be false and "Rewrite_To" must not be set.
  63. #Replace_Word: "[CENSORED]"
  64. #
  65. # A replacement that replaces the whole message.
  66. # If set, Block_Message must be false and "Replace_Word" must not be set.
  67. #Rewrite_To: I love this filter!
  68. #
  69. # A list of commands to be executed. Notice: they are not handled by this plugin.
  70. Execute_Commands:
  71. - |-
  72. tempban %player 1day &4Advertising is prohibited!
  73. &4Contact OP if you think this is in error.
  74. #
  75. # A list of commands to be executed on Bungee. You need to have bungee support enabled in settings.yml and an additional plugin on bungee.
  76. #Execute_Bungee_Commands:
  77. # - alert The %player has violated a rule on %server!
  78.  
  79. advertisement:
  80. Bypass_With_Permission: "chatcontrol.bypass.ad"
  81. Ignored_In_Commands:
  82. - // # WorldEdit
  83. - /auction
  84. - /auc
  85. - /register
  86. - /reg
  87. - /login
  88. - /l
  89.  
  90. Player_Warn_Message: "&7Please do not advertise other websites or IP adresses."
  91. Broadcast_Message: "&c%player might have advertised, alert admins!"
  92. # This is recommended if you have 'Verbose' set to false in 'settings.yml'
  93. #Console_Message: "%player violated rule ID %ruleID, triggered %handler filter with: %message"
  94.  
  95. Staff_Alert_Message: "&8[&7Ad/ID %ruleID&8] &7%player: &f%message"
  96. Staff_Alert_Permission: chatcontrol.notify.ad
  97.  
  98. # Before commenting out check if you have Points enabled in settings.yml
  99. #Warn_Points: 5
  100.  
  101. Block_Message: true
  102. Write_To_File: logs/advertisements.txt
  103.  
  104. swear:
  105. Bypass_With_Permission: "chatcontrol.bypass.swear"
  106. Ignored_In_Commands:
  107. - // # WorldEdit
  108. - /auction
  109. - /auc
  110. - /register
  111. - /reg
  112. - /login
  113. - /l
  114.  
  115. Player_Warn_Message: "&cSwearing is prohibited on this server."
  116. # This is recommended if you have 'Verbose' set to false in 'settings.yml'
  117. #Console_Message: "%player violated rule ID %ruleID, triggered %handler filter with: %message"
  118.  
  119. Staff_Alert_Message: "&8[&7Swear/ID %ruleID&8] &7%player: &f%message"
  120. Staff_Alert_Permission: chatcontrol.notify.swear
  121.  
  122. # Before commenting out check if you have Points enabled in settings.yml
  123. #Warn_Points: swear 2
  124.  
  125. Replace_Word: "*****"
  126. Write_To_File: logs/swears.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement