Guest User

Untitled

a guest
Mar 25th, 2020
24
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -----------------------------------------------------------------------
  2. # Welcome to the main configuration of ChatControl
  3. # -----------------------------------------------------------------------
  4. # [General support and updates]
  5. # http://www.spigotmc.org/resources/chatcontrol.271
  6. #
  7. # [Default configuration with comments]
  8. # https://github.com/kangarko/ChatControl/blob/master/settings.yml
  9. #
  10. # [Tips]
  11. # - Color codes are supported with the '&' character, see
  12. # http://minecraftwiki.net/wiki/Formatting_codes for usage
  13. #
  14. # - To not display a message, set it to 'none'.
  15. #
  16. # - Unicode /special characters/ only work when files are saved in
  17. # UTF-8 encoding. Tested on Notepad++, WordPad on Windows is broken.
  18. #
  19. # - Most of the messages (warnings, etc) are found in the localization.
  20. # To customize it, make a new file in "localization/messages_LOCALE.yml"
  21. # (Replace LOCALE with the actuall locale name, by default 'en'). It
  22. # will be filled with all default values and kept with sync on updates.
  23. # -----------------------------------------------------------------------
  24.  
  25. Anti_Bot:
  26. # Delay between player logging in again in seconds.
  27. Rejoin_Delay_Seconds: 4
  28.  
  29. # Set if the player has to move from their join location to do following.
  30. Block_Actions_Until_Moved:
  31. # To be able to chat (player will still be able to execute commands)
  32. Chat: true
  33.  
  34. Anti_Caps:
  35. Enabled: true
  36. Warn_Player: true
  37.  
  38. # Ignore player names. Exclude them from caps percentage and caps in a row check.
  39. # Enabling is not recommended on a bigger servers (50+ slots) due to iterating over every player (laggy).
  40. Ignore_Usernames: false
  41. Min_Message_Length: 5
  42. Min_Caps_Percentage: 50
  43. Min_Caps_In_A_Row: 5
  44. Whitelist:
  45. - OMG
  46. - LOL
  47. - WTF
  48. - WOW
  49. - ROFL
  50.  
  51. Anti_Spam:
  52. Similarity_Check:
  53. Ignore_Special_Characters: true
  54. Ignore_Duplicate_Characters: false
  55.  
  56. # If enabled, the first and second arguments in longer commands will be ignored.
  57. # This makes the check less annoying in messages like /tell <player> message
  58. # where it ignores /tell and <player> name.
  59. Ignore_First_Arguments_In_Commands: true
  60.  
  61. Commands:
  62. # Delay in seconds. Set to 0 to disable.
  63. Delay_Between_Commands: 2
  64.  
  65. # If a message is similar (in percents) to the previous one, block it.
  66. # Set to 0 or 100 to disable.
  67. # We keep in mind that commands like /tell includes always name, making the check less annonying.
  68. Similar_Percentage_Block: 80
  69.  
  70. # Commands ignored from the delay check.
  71. Whitelist_Similarity:
  72. - tell
  73. - pm
  74. - t
  75. - w
  76. - r
  77.  
  78. # Commands ignored from the similarity check.
  79. Whitelist_Delay:
  80. - spawn
  81. - home
  82.  
  83. Chat:
  84. # Delay in seconds. Set to 0 to disable.
  85. Delay_Between_Messages: 1
  86.  
  87. # If a command is similar (in percents) to the previous one, block it.
  88. # Set to 0 or 100 to disable.
  89. Similar_Percentage_Block: 80
  90.  
  91. # Should regular expressions be supported in Whitelist_Similarity and Whitelist_Delay?
  92. # ! Can lead to unexpected behavior.
  93. Regex_In_Whitelist: false
  94.  
  95. # Message that starts with following strings will be ignored from the delay check.
  96. Whitelist_Similarity:
  97. - hello
  98. - hey
  99.  
  100. # Message that starts with following strings will be ignored from the similarity check.
  101. Whitelist_Delay:
  102. - yes
  103.  
  104. Chat:
  105. # You need Vault to enable the formatter.
  106. Formatter:
  107. Enabled: false
  108.  
  109. # Default chat message format.
  110. # The prefix has to include the 'pl_' because without it the plugin's prefix name will be given instead.
  111. Message_Format: '{pl_prefix}{player}:{pl_suffix} {message}'
  112.  
  113. # If Ranged_Mode is enabled, this format is used when a message is printed to the global chat by prefixing it with '!'
  114. # NB: Player must also have the 'chatcontrol.chat.global' permission to speak to the global chat.
  115. Global_Message_Format: '&8[GLOBAL]&f {pl_prefix}{player}:{pl_suffix} {message}'
  116.  
  117. # If Ranged_Mode is enabled, this format is used when a player with 'chatcontrol.chat.spy' permission receives ranged message
  118. # that he normally should't see.
  119. # To spy on private messages (e.g. /tell or /mail), use Essentials /socialspy feature.
  120. Spy_Message_Format: '&8SPY: [{world}&8]&f {pl_prefix}{player}:{pl_suffix} {message}'
  121.  
  122. # If enabled and a players write a message, it will only be sent to players
  123. # within distance of the player specified in Range
  124. Ranged_Mode: false
  125.  
  126. # If you want the range for entire world, give everyone chatcontrol.chat.overrideranged permission.
  127. Range: 100.0
  128.  
  129. Grammar:
  130. # Punctualize every sentence. Ignores URLs.
  131. Insert_Dot:
  132. Enabled: true
  133. Min_Message_Length: 5
  134.  
  135. # Make the first letter of a sentence big. Ignores URLs.
  136. Capitalize:
  137. Enabled: true
  138. Min_Message_Length: 5
  139.  
  140. Clear:
  141. # Broadcast that the chat was wiped?
  142. Broadcast: true
  143.  
  144. # Send only one message to staff instead of a bunch of blank lines.
  145. Do_Not_Clear_For_Staff: true
  146.  
  147. # Amount of blank lines that will be printed in the console when it is cleared.
  148. Console_Lines_To_Clear: 300
  149.  
  150. Messages:
  151. # Use 'default' to not modify, 'hide' to not display or write a custom message
  152. # Variables: {player} {pl_suffix} {pl_prefix} (when Vault is installed)
  153. # {countrycode} and {countryname} when AuthMe is installed
  154. Join: default
  155. Quit: default
  156. Kick: default
  157.  
  158. # Needs AuthMe-Reloaded. Only display quit message when the player has logged.
  159. # You can disable displaying join message in AuthMe itself by enabling 'delayJoinMessage' in its config
  160. Show_Quit_Only_When_Logged: true
  161.  
  162. # Automatic message broadcaster.
  163. Timed:
  164. Enabled: false
  165. Random_Order: false
  166.  
  167. # If random order is enabled, the messages will be put in a cache and not repeat until the cache is empty,
  168. # then it will be filled again and so on.
  169. Random_No_Repeat: true
  170.  
  171. # Prefix and suffix supports variables {player} (player name) and {world} (world name)
  172. Prefix: '&8[&2Tip&8]&2'
  173. Suffix: ''
  174. Delay_Seconds: 180
  175.  
  176. # Timed messages per worlds.
  177. # By default every world includes global messages.
  178. Message_List:
  179.  
  180. # Messages displayed in all worlds.
  181. global:
  182. - Hey, {player}, did you know that this server is running ChatControl?
  183. - 'Visit developer website: &ahttps://goo.gl/CT3Zdl'
  184.  
  185. # In this world will be displayed both global messages and these specified below.
  186. hardcore:
  187. - Grief is not permitted what-so-ever and every griefer will be banned.
  188. - Can you survive the night on {world} world?
  189.  
  190. # In this world will be displayed messages included from hardcore world.
  191. hardcore_nether:
  192. - includeFrom hardcore
  193.  
  194. # No messages will be broadcasted in this world.
  195. ignored-world:
  196. - excludeGlobal
  197.  
  198. # Global messages will no be displayed in this world.
  199. creative:
  200. - excludeGlobal
  201. - Welcome on Creative world. Enjoy your gamemode :)
  202.  
  203. Mute:
  204. # Broadcast that the chat was mute?
  205. Broadcast: true
  206.  
  207. # Hide the following messages when the chat is muted
  208. Silence:
  209. Join_Messages: true
  210. Quit_Messages: true
  211. Kick_Messages: true
  212. Death_Messages: true
  213.  
  214. Disabled_Commands_During_Mute:
  215. - me
  216. - tell
  217. - msg
  218. - r
  219. - w
  220.  
  221. # Needs ProtocolLib
  222. Packets:
  223. # Enables all features that requires ProtocolLib
  224. # e.g. packet rules, tab complete
  225. Enabled: true
  226.  
  227. # Prevent tab complete in certain cases where it can reveal server info.
  228. # For more advanced configuration use Spigot and configure the function in spigot.yml
  229. Tab_Complete:
  230. Disable: true
  231. Disable_Only_In_Commands: true
  232.  
  233. # If the written message/command contains space ' ', allow it.
  234. Allow_When_Message_Has_Space: true
  235.  
  236. # Allow when the message length is above specific number.
  237. # Not recommended as it might still reveal your server setup.
  238. Allow_When_Length_Above: 0
  239.  
  240. # Custom rules are found in rules/ folder inside your plugins folder.
  241. Rules:
  242. # Enabled in chat?
  243. Check_Chat: true
  244.  
  245. # Enabled in commands?
  246. Check_Commands: true
  247.  
  248. # Enabled on signs?
  249. Check_Signs: true
  250.  
  251. # Needs ProtocolLib. If enabled, messages will be checked against rules/packets.txt
  252. # which supports replacing even bukkit / plugin messages.
  253. Check_Packets: true
  254.  
  255. Packets:
  256.  
  257. # Since Minecraft 1.7x, every message is a chat component. Unpacking it will bring better/more expected results.
  258. # Disable if experiencing issues with chat formatting plugins. Messages with hover/click effects won't be checked.
  259. Deserialize_Json: true
  260.  
  261. Console:
  262. Filter:
  263. # Filter console messages specified below?
  264. Enabled: true
  265.  
  266. # Remove certain messages from the server console.
  267. # Does not need to be whole message, just a part of the message you want to block.
  268. Filter_Console_Messages:
  269. - Reached end of stream for
  270. - Connection reset
  271. - lost connection
  272.  
  273. Signs:
  274. Duplication:
  275. # Player will be unable to place two signs with the same text.
  276. Deny_Signs_With_Same_Text: false
  277. Alert_Staff: true
  278.  
  279. # Block the sign (cancel event) when a custom rule matches the text on it.
  280. # NOT related to duplication check but to the custom rules.
  281. Block_When_Violates_A_Rule: true
  282.  
  283. # Drop sign as an item?
  284. Drop_Sign: true
  285.  
  286. # Plays a sound to a player that is mentioned.
  287. Sound_Notify:
  288. Enabled: true
  289.  
  290. # Play a sound to player only when their are afk? Checked from Essentials plugin.
  291. Notify_Only_When_Afk: true
  292.  
  293. # Play a sound to player only when someone writes following characters before
  294. # their name: Set to none to play a sound when the players name is mentioned in the chat.
  295. Notify_Only_If_Prefixed_With: '@'
  296.  
  297. # Format: bukkit_sound_name, volume (float), pitch (float)
  298. # NB! In Minecraft 1.9, the sound names has changed! If you are using 1.8.x or older, the default sound name is 'CHICKEN_EGG_POP'
  299. # Sounds for 1.9+: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  300. # Sounds for <=1.8: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Sound.java?until=be55b4f5b8274c1124fe957e6a3259789f6e9747
  301. Sound: ENTITY_CHICKEN_EGG, 1F, 1.5F
  302. Enabled_In_Commands:
  303. - msg
  304. - tell
  305. - t
  306. - w
  307. - r
  308.  
  309. # Overrides some settings above.
  310. # There are currently only two settings.
  311. Groups:
  312. Enabled: false
  313.  
  314. # If you add a player/group permission (e.g via PermissionsEx: /pex user <nick> add <perm>)
  315. # Then you will not need to reload ChatControl with /chc reload
  316. # Always checking has impact on performance and it is recommended to have it disabled.
  317. Always_Check_Updates: false
  318.  
  319. Group_List:
  320.  
  321. # Example usage. Give the player chatcontrol.group.trusted to make it working.
  322. # As you can see, if you do not specify the value, the default will be used.
  323. trusted:
  324. Message_Delay: 0
  325.  
  326. guest:
  327. Message_Delay: 4
  328. Command_Delay: 6
  329.  
  330. vip:
  331. # Notice if you are an OP you need to negate those permissions
  332. # otherwise it will be applied on you, too!
  333. Join_Message: "&6[VIP] &e{player} has joined the game"
  334. Leave_Message: "&6[VIP] &e{player} has left the game"
  335. Kick_Message: none
  336.  
  337. Updater:
  338. Enabled: true
  339. Notify: true
  340. Download: true
  341.  
  342. # Disable important announcements after the plugin has been loaded
  343. Check_Notes: true
  344.  
  345. Writer:
  346. # Save chat to file?
  347. Write_Chat_Communication: true
  348. Strip_Colors: true
  349.  
  350. # Messages of following players will not get writed.
  351. Ignore_Players:
  352. - ignoredAdmin
  353.  
  354. # Commands that will be saved along with chat messages.
  355. Write_Commands:
  356. - tell
  357.  
  358. # Advanced: Affects the order in which we format and check the chat. No need to touch.
  359. # Read https://github.com/kangarko/ChatControl-Pro/wiki/Listener-Priorities for more information.
  360. #
  361. # Plugins which may require changing priority of Formatter: FactionsChat, BanManager and WorldGuard.
  362. # You need to find the correct combination for your server yourself. Restart after each change.
  363. Listener_Priority:
  364.  
  365. # Used for chat formatting. Should have the last say, meaning highest priority.
  366. Formatter: NORMAL
  367.  
  368. # Used for checking a message against duplication, time or rules.
  369. Checker: NORMAL
  370.  
  371. # Minimum amount of players online for rules and anti-spam.
  372. Minimum_Players_To_Enable_Checks: 0
  373.  
  374. # How much time a rule has to process a message? Used to prevent server freezing with malformed rules.
  375. Regex_Timeout_Milis: 100
  376.  
  377. # To customize a locale, make file in localization/messages_LOCALENAME.yml
  378. # It will be filled with all the values.
  379. # Current available locales: en (English), de (German), sk (Slovak), cz (Czech), fr (French), nl (Dutch), se (Swedish), es (Spanish),
  380. # vi (Vietnamese), ro (Romanian), pl (Polish) and cn (Chinese)
  381. Locale: en
  382.  
  383. # Time of some plugin's operations is measured.
  384. # Print a message in the console if they take longer than specified millisecond time.
  385. # Set to 0 to disable.
  386. Log_Lag_Over_Milis: 100
  387.  
  388. # If a message was caught by a rule print info to the console.
  389. # It is possible to hide individual packet rules from appearing
  390. # with "dont verbose" operators. This currently works only on packet rules.
  391. Verbose_Rules: true
  392.  
  393. # Removes certain messages from startup (reduces spam in the console)
  394. # If you are having any issues, disable this and enable Verbose and Debug.
  395. Silent_Startup: true
  396.  
  397. # Plugin saves some player data, such as their last message or command + date of writing them, for antispam to use.
  398. # You can decide if these data should be reset when the player quits. Recommended in lobby (when on bungee), but not elsewhere.
  399. Reset_Cache_On_Quit: false
  400.  
  401. # Set to true if the \n operator does not work for you.
  402. # Before that, please ensure you've saved the file in an encoding that supports new line operator.
  403. Enforce_New_Line: false
  404.  
  405. # Search for players geographical information for {countryname} and {countrycode} variables?
  406. # Disable to improve performance a tiny bit.
  407. Lookup_Geo_Data: true
  408.  
  409. # Enable if you are having issues, will tell you detailed info in the console.
  410. Debug: false
  411.  
  412. # Do not change this value, otherwise it will corrupt your plugin installation!
  413. Version: 4
RAW Paste Data