KensonPlays

KP ChatControl Settings.yml

Jul 4th, 2017
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.39 KB | None | 0 0
  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. - kenson
  100. - ken
  101.  
  102. # Message that starts with following strings will be ignored from the similarity check.
  103. Whitelist_Delay:
  104. - yes
  105.  
  106. Chat:
  107. # You need Vault to enable the formatter.
  108. Formatter:
  109. Enabled: false
  110.  
  111. # Default chat message format.
  112. # The prefix has to include the 'pl_' because without it the plugin's prefix name will be given instead.
  113. Message_Format: '%pl_prefix%player:%pl_suffix %message'
  114.  
  115. # If Ranged_Mode is enabled, this format is used when a message is printed to the global chat by prefixing it with '!'
  116. # NB: Player must also have the 'chatcontrol.chat.global' permission to speak to the global chat.
  117. Global_Message_Format: '&8[GLOBAL]&f %pl_prefix%player:%pl_suffix %message'
  118.  
  119. # If Ranged_Mode is enabled, this format is used when a player with 'chatcontrol.chat.spy' permission receives ranged message
  120. # that he normally should't see.
  121. # To spy on private messages (e.g. /tell or /mail), use Essentials /socialspy feature.
  122. Spy_Message_Format: '&8SPY: [%world&8]&f %pl_prefix%player:%pl_suffix %message'
  123.  
  124. # If enabled and a players write a message, it will only be sent to players
  125. # within distance of the player specified in Range
  126. Ranged_Mode: false
  127.  
  128. # If you want the range for entire world, give everyone chatcontrol.chat.overrideranged permission.
  129. Range: 100.0
  130.  
  131. Grammar:
  132. # Punctualize every sentence. Ignores URLs.
  133. Insert_Dot:
  134. Enabled: true
  135. Min_Message_Length: 5
  136.  
  137. # Make the first letter of a sentence big. Ignores URLs.
  138. Capitalize:
  139. Enabled: true
  140. Min_Message_Length: 5
  141.  
  142. Clear:
  143. # Broadcast that the chat was wiped?
  144. Broadcast: true
  145.  
  146. # Send only one message to staff instead of a bunch of blank lines.
  147. Do_Not_Clear_For_Staff: true
  148.  
  149. # Amount of blank lines that will be printed in the console when it is cleared.
  150. Console_Lines_To_Clear: 300
  151.  
  152. Messages:
  153. # Use 'default' to not modify, 'hide' to not display or write a custom message
  154. # Variables: %player %pl_suffix %pl_prefix (when Vault is installed)
  155. # %countrycode and %countryname when AuthMe is installed
  156. Join: default
  157. Quit: default
  158. Kick: default
  159.  
  160. # Needs AuthMe-Reloaded. Only display quit message when the player has logged.
  161. # You can disable displaying join message in AuthMe itself by enabling 'delayJoinMessage' in its config
  162. Show_Quit_Only_When_Logged: true
  163.  
  164. # Automatic message broadcaster.
  165. Timed:
  166. Enabled: true
  167. Random_Order: true
  168.  
  169. # If random order is enabled, the messages will be put in a cache and not repeat until the cache is empty,
  170. # then it will be filled again and so on.
  171. Random_No_Repeat: true
  172.  
  173. # Prefix and suffix supports variables %player (player name) and %world (world name)
  174. Prefix: '&8[&2Tip&8]&c'
  175. Suffix: ''
  176. Delay_Seconds: 180
  177.  
  178. # Timed messages per worlds.
  179. # By default every world includes global messages.
  180. Message_List:
  181.  
  182. # Messages displayed in all worlds.
  183. global:
  184. # - Hey, %player, did you know that this server is running ChatControl?
  185. #- 'Visit developer website: &ahttps://goo.gl/CT3Zdl'
  186. - This is the official Kenson Plays Minecraft server, enjoy!
  187. - Heya %player, Please follow the rules, and you will not have any issues with the staff!
  188. - Tips are accepted, but no perks are awarded. (Against Minecraft's EULA)
  189. - Hi %player, Visit The Site! https://kensonplays.com
  190. - Hi %player, Join Our Discord! https://discordapp.com/rCkwygC
  191.  
  192. # In this world will be displayed both global messages and these specified below.
  193. #hardcore:
  194. #- Grief is not permitted what-so-ever and every griefer will be banned.
  195. #- Can you survive the night on %world world?
  196.  
  197. # In this world will be displayed messages included from hardcore world.
  198. #hardcore_nether:
  199. #- includeFrom hardcore
  200.  
  201. # No messages will be broadcasted in this world.
  202. ignored-world:
  203. - excludeGlobal
  204.  
  205. # Global messages will no be displayed in this world.
  206. #creative:
  207. #- excludeGlobal
  208. #- Welcome on Creative world. Enjoy your gamemode :)
  209.  
  210. Mute:
  211. # Broadcast that the chat was mute?
  212. Broadcast: true
  213.  
  214. # Hide the following messages when the chat is muted
  215. Silence:
  216. Join_Messages: true
  217. Quit_Messages: true
  218. Kick_Messages: true
  219. Death_Messages: true
  220.  
  221. Disabled_Commands_During_Mute:
  222. - me
  223. - tell
  224. - msg
  225. - r
  226. - w
  227.  
  228. # Needs ProtocolLib
  229. Packets:
  230. # Enables all features that requires ProtocolLib
  231. # e.g. packet rules, tab complete
  232. Enabled: true
  233.  
  234. # Prevent tab complete in certain cases where it can reveal server info.
  235. # For more advanced configuration use Spigot and configure the function in spigot.yml
  236. Tab_Complete:
  237. Disable: true
  238. Disable_Only_In_Commands: true
  239.  
  240. # If the written message/command contains space ' ', allow it.
  241. Allow_When_Message_Has_Space: true
  242.  
  243. # Allow when the message length is above specific number.
  244. # Not recommended as it might still reveal your server setup.
  245. Allow_When_Length_Above: 0
  246.  
  247. # Custom rules are found in rules/ folder inside your plugins folder.
  248. Rules:
  249. # Enabled in chat?
  250. Check_Chat: true
  251.  
  252. # Enabled in commands?
  253. Check_Commands: true
  254.  
  255. # Enabled on signs?
  256. Check_Signs: true
  257.  
  258. # Needs ProtocolLib. If enabled, messages will be checked against rules/packets.txt
  259. # which supports replacing even bukkit / plugin messages.
  260. Check_Packets: true
  261.  
  262. Packets:
  263.  
  264. # Since Minecraft 1.7x, every message is a chat component. Unpacking it will bring better/more expected results.
  265. # Disable if experiencing issues with chat formatting plugins. Messages with hover/click effects won't be checked.
  266. Deserialize_Json: true
  267.  
  268. Console:
  269. Filter:
  270. # Filter console messages specified below?
  271. Enabled: true
  272.  
  273. # Remove certain messages from the server console.
  274. # Does not need to be whole message, just a part of the message you want to block.
  275. Filter_Console_Messages:
  276. - Reached end of stream for
  277. - Connection reset
  278. - lost connection
  279.  
  280. Signs:
  281. Duplication:
  282. # Player will be unable to place two signs with the same text.
  283. Deny_Signs_With_Same_Text: false
  284. Alert_Staff: true
  285.  
  286. # Block the sign (cancel event) when a custom rule matches the text on it.
  287. # NOT related to duplication check but to the custom rules.
  288. Block_When_Violates_A_Rule: true
  289.  
  290. # Drop sign as an item?
  291. Drop_Sign: true
  292.  
  293. # Plays a sound to a player that is mentioned.
  294. Sound_Notify:
  295. Enabled: true
  296.  
  297. # Play a sound to player only when their are afk? Checked from Essentials plugin.
  298. Notify_Only_When_Afk: true
  299.  
  300. # Play a sound to player only when someone writes following characters before
  301. # their name: Set to none to play a sound when the players name is mentioned in the chat.
  302. Notify_Only_If_Prefixed_With: '@'
  303.  
  304. # Format: bukkit_sound_name, volume (float), pitch (float)
  305. # 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'
  306. # Sounds for 1.9+: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  307. # Sounds for <=1.8: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Sound.java?until=be55b4f5b8274c1124fe957e6a3259789f6e9747
  308. Sound: ENTITY_CHICKEN_EGG, 1F, 1.5F
  309. Enabled_In_Commands:
  310. - msg
  311. - tell
  312. - t
  313. - w
  314. - r
  315.  
  316. # Overrides some settings above.
  317. # There are currently only two settings.
  318. Groups:
  319. Enabled: false
  320.  
  321. # If you add a player/group permission (e.g via PermissionsEx: /pex user <nick> add <perm>)
  322. # Then you will not need to reload ChatControl with /chc reload
  323. # Always checking has impact on performance and it is recommended to have it disabled.
  324. Always_Check_Updates: false
  325.  
  326. Group_List:
  327.  
  328. # Example usage. Give the player chatcontrol.group.trusted to make it working.
  329. # As you can see, if you do not specify the value, the default will be used.
  330. trusted:
  331. Message_Delay: 0
  332.  
  333. guest:
  334. Message_Delay: 4
  335. Command_Delay: 6
  336.  
  337. vip:
  338. # Notice if you are an OP you need to negate those permissions
  339. # otherwise it will be applied on you, too!
  340. Join_Message: "&6[VIP] &e%player has joined the game"
  341. Leave_Message: "&6[VIP] &e%player has left the game"
  342. Kick_Message: none
  343.  
  344. Updater:
  345. Enabled: true
  346. Notify: true
  347. Download: true
  348.  
  349. # Disable important announcements after the plugin has been loaded
  350. Check_Notes: true
  351.  
  352. Writer:
  353. # Save chat to file?
  354. Write_Chat_Communication: true
  355. Strip_Colors: true
  356.  
  357. # Messages of following players will not get writed.
  358. Ignore_Players:
  359. - ignoredAdmin
  360.  
  361. # Commands that will be saved along with chat messages.
  362. Write_Commands:
  363. - tell
  364.  
  365. # Advanced: Affects the order in which we format and check the chat. No need to touch.
  366. # Read https://github.com/kangarko/ChatControl-Pro/wiki/Listener-Priorities for more information.
  367. #
  368. # Plugins which may require changing priority of Formatter: FactionsChat, BanManager and WorldGuard.
  369. # You need to find the correct combination for your server yourself. Restart after each change.
  370. Listener_Priority:
  371.  
  372. # Used for chat formatting. Should have the last say, meaning highest priority.
  373. Formatter: NORMAL
  374.  
  375. # Used for checking a message against duplication, time or rules.
  376. Checker: NORMAL
  377.  
  378. # Minimum amount of players online for rules and anti-spam.
  379. Minimum_Players_To_Enable_Checks: 0
  380.  
  381. # How much time a rule has to process a message? Used to prevent server freezing with malformed rules.
  382. Regex_Timeout_Milis: 100
  383.  
  384. # To customize a locale, make file in localization/messages_LOCALENAME.yml
  385. # It will be filled with all the values.
  386. # Current available locales: en (english), de (german), sk (slovak), cz (czech), fr (french), nl (holand), se (swedish) and es (spanish)
  387. Locale: en
  388.  
  389. # Time of some plugin's operations is measured.
  390. # Print a message in the console if they take longer than specified millisecond time.
  391. # Set to 0 to disable.
  392. Log_Lag_Over_Milis: 100
  393.  
  394. # If a message was caught by a rule print info to the console.
  395. # It is possible to hide individual packet rules from appearing
  396. # with "dont verbose" operators. This currently works only on packet rules.
  397. Verbose_Rules: true
  398.  
  399. # Removes certain messages from startup (reduces spam in the console)
  400. # If you are having any issues, disable this and enable Verbose and Debug.
  401. Silent_Startup: true
  402.  
  403. # Plugin saves some player data, such as their last message or command + date of writing them, for antispam to use.
  404. # You can decide if these data should be reset when the player quits. Recommended in lobby (when on bungee), but not elsewhere.
  405. Reset_Cache_On_Quit: false
  406.  
  407. # Set to true if the \n operator does not work for you.
  408. # Before that, please ensure you've saved the file in an encoding that supports new line operator.
  409. Enforce_New_Line: false
  410.  
  411. # Enable if you are having issues, will tell you detailed info in the console.
  412. Debug: false
  413.  
  414. # Do not change this value, otherwise it will corrupt your plugin installation!
  415. Version: 4
Add Comment
Please, Sign In to add comment