Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.64 KB | None | 0 0
  1. # ---------------------------------------------------------------------------------------
  2. # Welcome to the main configuration of ChatControl PRO
  3. # ---------------------------------------------------------------------------------------
  4. #
  5. # For support and documentation, please visit:
  6. # https://github.com/kangarko/ChatControl-Pro/wiki
  7. # ---------------------------------------------------------------------------------------
  8. #
  9. # 1) COLOR CODES are supported with the '&' character, see
  10. # http://minecraftwiki.net/wiki/Formatting_codes
  11. # When you use them, omit the message with " " or ' '.
  12. #
  13. # 2) TO HIDE a message, set it to 'none'.
  14. #
  15. # 3) UNICODE CHARACTERS (smileys, symbols, ..) require the file to be saved in UTF-8
  16. # encoding. Tested on Notepad++ (UTF-8 without BOM). Notepad/WordPad on Windows is broken!
  17. #
  18. # 4) JSON is supported. To use it, prepend the message with '[JSON]'.
  19. # NB: Use either a) quotes, b) write the JSON on a new line
  20. # or c) send a tellraw command in rules:
  21. #
  22. # a) Warn_Message: '[JSON] {"text": "Hello World"}'
  23. #
  24. # b) Example_Message: |-
  25. # [JSON]
  26. # {"text": "Hello","hoverEvent": {"action": "show_text","value": {"text": "Hey there!"}}}
  27. #
  28. # c) then console tellraw {"text": "Hello world!"}
  29. #
  30. # 5) SOUND NAMES had changed as per Minecraft 1.9, see:
  31. # - 1.9 and newer: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  32. # - 1.8 and older: https://goo.gl/ArzbZA
  33. #
  34. # PS: The information above applies for all files within the ChatControl folder.
  35. #
  36. # !! Plugin messages (e.g. 'Please wait 2 seconds [...]') are stored in localization.
  37. # To customize it, create a file 'localization/messages_LOC.yml' in plugin's folder.
  38. # Replace LOC with your localization name found down in the 'Locale' key, and restart
  39. # the server. The file will be filled with all messages and kept in sync on updates.
  40. #
  41. # ---------------------------------------------------------------------------------------
  42.  
  43. # ---------------------------------------------------------------------------------------
  44. # Reduce impact of spamming bots
  45. # ---------------------------------------------------------------------------------------
  46. Anti_Bot:
  47.  
  48. Cooldown:
  49.  
  50. # How many seconds the player needs to wait before logging in again?
  51. Rejoin: 4
  52.  
  53. # How many seconds must the player wait after login to chat?
  54. Chat_After_Login: 1
  55.  
  56. # How many seconds must the player wait after login to run commands?
  57. Command_After_Login: 1
  58.  
  59. # Block chat until the player has moved? They can still execute commands.
  60. Block_Chat_Until_Moved: true
  61.  
  62. # A list of commands to block until the player has moved.
  63. # To disable, set to: Block_Commands_Until_Moved: '[]'
  64. Block_Commands_Until_Moved:
  65. - /afk
  66. - /me
  67.  
  68. # If you have AuthMe, only display the quit message if the player was logged in?
  69. # [TIP] To disable join message, enable 'delayJoinMessage' in AuthMe's configuration.
  70. Show_Quit_Message_Only_If_Logged: true
  71.  
  72. # Player will be unable to place two signs with the same text.
  73. Block_Signs_With_Same_Text: true
  74.  
  75. # Prevent running commands from books? (Misused by hackers to trick admins)
  76. #
  77. # [NOTICE]: There is no other possibility to do this check then just blindly assume the command
  78. # is coming from a book (because it is client side), so we check if the player holds a book.
  79. # If they execute a command from the chat while holding a book, it will be blocked as well.
  80. Block_Book_Commands: true
  81.  
  82. # Commands allowed to run while holding a book (they may or may not be coming from the book, see above)
  83. Block_Book_Commands_Whitelist:
  84. - /login
  85. - /l
  86.  
  87. # Prevent inappropriate player names from entering the server. Supports regular expressions.
  88. Disallowed_Nicknames:
  89. - '(f+(\W|\d|_)*u+(\W|\d|_)*c+(\W|\d|_)*k+(\W|\d|_)*)'
  90. - bitch
  91. - asshole
  92.  
  93. # ---------------------------------------------------------------------------------------
  94. # Prevent messages written in BIG LETTERS
  95. # ---------------------------------------------------------------------------------------
  96. Anti_Caps:
  97. Enabled: true
  98. Enabled_In_Commands: false
  99.  
  100. # List of commands checked for capitalization. Requires 'Enabled_In_Commands' enabled.
  101. # [TIP] To enable anti-caps everywhere, set the list to - '/'
  102. Commands_To_Apply:
  103. - /msg
  104. - /tell
  105.  
  106. # How many warning points to give when the player triggers the filter?
  107. # [NOTICE] Only works if Points are enabled. To disable, set: 'Amount: 0'
  108. Points:
  109. Warn_Set: spam
  110.  
  111. # You can write a valid mathematical expression here. The result will be rounded to a whole number (without decimals).
  112. Amount: 4 * ({capsPercentage} / 2)
  113.  
  114. # Allow player names to be spelled in caps? Disable if having performance issues (especially on large servers).
  115. Ignore_Usernames: false
  116.  
  117. Min_Message_Length: 5
  118. Min_Caps_Percentage: 50
  119. Min_Caps_In_A_Row: 5
  120. Whitelist:
  121. - OMG
  122. - LOL
  123. - WTF
  124. - WOW
  125. - ROFL
  126.  
  127. # ---------------------------------------------------------------------------------------
  128. # Prevent flooding the chat with junk / repetitive messages
  129. # ---------------------------------------------------------------------------------------
  130. Anti_Spam:
  131.  
  132. # This section applies for both commands and messages.
  133. #
  134. # Similarity check compares player's message to their last one(s),
  135. # and prevents sending the same or similar message(s) multiple times.
  136. Similarity_Check:
  137.  
  138. # If running a non-english server, disable to improve the check.
  139. Ignore_Special_Characters: true
  140.  
  141. Ignore_Duplicate_Characters: false
  142.  
  143. # Ignore first and second argument in commands. Makes check less annoying in
  144. # messages of type "/tell <player> message", where "/tell" and "<player>" are ignored.
  145. Ignore_First_Arguments_In_Commands: true
  146.  
  147. # Anti-spam section for commands.
  148. Commands:
  149.  
  150. # How many seconds the player must wait till their next command? Set to 0 to disable.
  151. Delay_Between_Commands: 0
  152.  
  153. # Warning points.
  154. # [NOTICE] Only works if Points are enabled. To disable, set: 'Amount: 0'
  155. Delay_Points:
  156. Warn_Set: fastmessages
  157.  
  158. # The {delay} is the delay between the current and last command in seconds.
  159. Amount: 3 - {delay}
  160.  
  161. # Block the command if it's similar to the previous one, in percent.
  162. # Set to 0 or 100 to disable.
  163. Similar_Percentage_Block: 80
  164.  
  165. # Warning points.
  166. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  167. Similarity_Points:
  168. Warn_Set: spam
  169. Amount: 4 * ({similarityPercentage} / 2)
  170.  
  171. # If enabled, *ONLY* the commands listed in the whitelist will be checked.
  172. Whitelist_Works_Like_Blacklist: false
  173.  
  174. # Commands that the player can run them multiple times after each other.
  175. Whitelist_Similarity:
  176. - tell
  177. - pm
  178. - t
  179. - w
  180. - r
  181.  
  182. # Commands that the player is not forced to wait before executing them next time.
  183. Whitelist_Delay:
  184. - spawn
  185. - hello
  186.  
  187. # Commands to handle as chat.
  188. # Includes anti-spam, rules, writer, points, anti-caps, capitalizing and punctuation.
  189. Handle_As_Chat:
  190. - me
  191.  
  192. # Anti-spam section for messages.
  193. Chat:
  194.  
  195. # How many seconds must the player wait between their next message? Set to 0 to disable.
  196. Delay_Between_Messages: 1
  197.  
  198. # Warning points.
  199. # [NOTICE] Only works if Points are enabled. To disable, set: 'Amount: 0'
  200. Delay_Points:
  201. Warn_Set: fastmessages
  202.  
  203. # The {delay} is the delay between the current and last message (in seconds)
  204. Amount: 3 - {delay}
  205.  
  206. # Block repetitive messages if they are similar to the previous one, in percent.
  207. # Set to 0 or 100 to disable.
  208. Similar_Percentage_Block: 80
  209.  
  210. # Amount of previous messages to check. Increases effectiveness and preventing spam like so:
  211. # <player> t
  212. # <player> lol
  213. # <player> t
  214. # <player> lol
  215. Similarity_Message_Check_Count: 1
  216.  
  217. # Warning points.
  218. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  219. Similarity_Points:
  220. Warn_Set: spam
  221. Amount: 4 * ({similarityPercentage} / 2)
  222.  
  223. # A message that starts with the following will be ignored from the similarity check.
  224. Whitelist_Similarity:
  225. - hello
  226. - hey
  227.  
  228. # A message that starts with the following will be ignored from the delay check.
  229. Whitelist_Delay:
  230. - test
  231.  
  232. # ---------------------------------------------------------------------------------------
  233. # Format the chat and correct player's grammar.
  234. # See chat.yml for creating chat and channel formats.
  235. # ---------------------------------------------------------------------------------------
  236. Chat:
  237.  
  238. # Alternative 1: The channel system. Channels are multiple 'chatting rooms', in which players
  239. # can chat together, preventing all messages appearing on the main chat.
  240. #
  241. # [NOTICE] Enabling channels disables the chat formatter.
  242. #
  243. # [TIP] To automatically put player into a certain channel when they join, give them
  244. # 'chatcontrol.channel.{channel}.autojoin' permission (replace {channel} with the channel name)
  245. # NB: Player can only join one channel at once! If you have multiple permissions,
  246. # the first found will be applied and the others ignored.
  247. #
  248. # [TIP 2] To automatically make player spy a channel when they join, give them
  249. # 'chatcontrol.channel.{channel}.autospy' permission (replace {channel} with the channel name)
  250. # PS: You can specify multiple channels to spy. Operators will spy on every channel unless
  251. # given negative autospy permissions.
  252. Channels:
  253. Enabled: true
  254.  
  255. Notify_On_Join: true
  256.  
  257. # [NOTICE] Enable this if you use DiscordSRV or DynMap.
  258. # [NOTICE] [Advanced] If false, removes receivers from AsyncPlayerChatEvent.
  259. # Otherwise, cancels the event. Used for compatibility reasons with third party plugins.
  260. Cancel_Event: false
  261.  
  262. # If Cancel_Event is false, then you can adjust the console message here:
  263. # For performance's sake, only the following variables are accepted:
  264. # {player}, {world}, {channel} and {message} for the message (which is already formatted)
  265. Console_Format: '&8[{channel}] &7{message}'
  266.  
  267. # Alternative 2: The standard chat formatter.
  268. Formatter:
  269. Enabled: false
  270.  
  271. # The default chat format applied over all worlds.
  272. Format: Example_Format
  273.  
  274. # Only works when writing to global chat and ranged mode is enabled, more info below.
  275. Global_Format: Global_Chat
  276.  
  277. # The format used in ranged mode when player with 'chatcontrol.chat.spy' permission receives
  278. # a message that he normally shouldn't see (because it's outside their range).
  279. # [TIP] To spy on private messages (e.g. /tell or /mail), use /spy feature.
  280. Spy_Chat_Format: Spy_Chat
  281.  
  282. # Used in "/chc ach" command which can be used by staff to communicate with each other.
  283. Admin_Chat_Format: Admin_Chat
  284.  
  285. # Used in "/chc global" command which sends messages over bungee.
  286. # [NOTICE] Requires BungeeCords support.
  287. Bungee_Chat_Format: Bungee_Chat
  288.  
  289. # If enabled, player's message will only be sent to players within the specified distance below.
  290. # [TIP] If you want per world chat, give everyone 'chatcontrol.chat.overrideranged' permission.
  291. Range:
  292. Enabled: false
  293. Distance: 100.0
  294.  
  295. # Worlds that shares the same chat.
  296. # [NOTICE] Other worlds ignore the distance above, and every player in the other world will see sender's message.
  297. Linked_Worlds:
  298. normal:
  299. - world
  300. - world_nether
  301. skyland:
  302. - skyland
  303. - skyland_nether
  304.  
  305. Grammar:
  306.  
  307. # Punctualize every sentence (insert a dot at the end).
  308. Insert_Dot:
  309. Enabled: true
  310. Min_Message_Length: 5
  311.  
  312. # Capitalize sentences (make the first letter uppercased).
  313. Capitalize:
  314. Enabled: true
  315. Min_Message_Length: 5
  316.  
  317. # ---------------------------------------------------------------------------------------
  318. # Remove all messages from the chat with the "/chc clear" command.
  319. # ---------------------------------------------------------------------------------------
  320. Clear:
  321. Broadcast: true
  322. Do_Not_Clear_For_Staff: true
  323.  
  324. # Amount of blank lines to be printed to the console.
  325. Console_Lines_To_Clear: 300
  326.  
  327. # ---------------------------------------------------------------------------------------
  328. # Stop people from writing to the chat with the "/chc mute" command.
  329. # ---------------------------------------------------------------------------------------
  330. Mute:
  331. Broadcast: true
  332.  
  333. # Deny following actions while the chat is muted.
  334. Prevent:
  335. Writing_Books: false
  336. Placing_Signs: true
  337.  
  338. # Hide the following messages while the chat is muted.
  339. Silence:
  340. Join_Messages: true
  341. Quit_Messages: true
  342. Death_Messages: true
  343.  
  344. Disabled_Commands_During_Mute:
  345. - me
  346. - tell
  347. - msg
  348. - r
  349. - w
  350.  
  351. # ---------------------------------------------------------------------------------------
  352. # Announce important messages with the "/chc announce" command.
  353. # You can customize the format in localization.
  354. # ---------------------------------------------------------------------------------------
  355. Announcer:
  356. Log_To_Console: true
  357. Ignore_Self: false
  358. Bungee: true
  359.  
  360. # Usage: <bukkitSoundName>, <volume>, <pitch>
  361. # For Minecraft 1.8.8 and older, it is recommended to use 'SUCCESSFUL_HIT'
  362. Sound: ENTITY_ARROW_HIT_PLAYER, 1.0, 0.1
  363.  
  364. # ---------------------------------------------------------------------------------------
  365. # Let staff communicate together with the "/chc ach" command.
  366. # ---------------------------------------------------------------------------------------
  367. Admin_Chat:
  368. Log_To_Console: true
  369.  
  370. # Write to logs/admin-chat.txt ?
  371. Write_To_File: true
  372.  
  373. # ---------------------------------------------------------------------------------------
  374. # Send messages over Bungee with the "/chc global" command.
  375. # ---------------------------------------------------------------------------------------
  376. Bungee_Chat:
  377.  
  378. # Enable bungee chat for players after login automatically. They can turn it off with '/chc g switch'
  379. Enabled_By_Default: false
  380.  
  381. Log_To_Console: true
  382.  
  383. # Write to logs/bungee-chat.txt ?
  384. Write_To_File: true
  385.  
  386. # -----------------------------------------------------------------------------------------------
  387. # Private messages allow you to secretly message another player without everyone else seeing.
  388. # There are currently following commands: /tell and /reply
  389. # [NOTICE] If disabled, you can still use commands with the same label from other plugins/server.
  390. # -----------------------------------------------------------------------------------------------
  391. Private_Messages:
  392. Enabled: false
  393. Bungee: false
  394. Aliases:
  395. Tell: [msg, t, whisper]
  396. Reply: [r]
  397.  
  398. # You can configure the formats in chat.yml file.
  399. Format_Sender: Private_Message_Sender
  400. Format_Receiver: Private_Message_Receiver
  401.  
  402. # ---------------------------------------------------------------------------------------
  403. # Features involving packets that require ProtocolLib.
  404. # ---------------------------------------------------------------------------------------
  405. Packets:
  406.  
  407. # Enable all features that require ProtocolLib
  408. # e.g. packet rules, tab complete
  409. Enabled: true
  410.  
  411. # Prevent using TAB to complete a message. Tab completing may reveal server information.
  412. Tab_Complete:
  413. Disable: true
  414.  
  415. # Allow completion in messages?
  416. Disable_Only_In_Commands: true
  417.  
  418. # Allow if the message/command contains space (' ') ?
  419. Allow_When_Message_Has_Space: false
  420.  
  421. # Allow when the message length is above a certain limit.
  422. # Not recommended as it might still reveal your server setup.
  423. Allow_When_Length_Above: 0
  424.  
  425. # ---------------------------------------------------------------------------------------
  426. # Most popular feature of ChatControl: Rules are user-defined filters that catch messages
  427. # based on regular expressions. See "rules/" folder for configuration and examples.
  428. # ---------------------------------------------------------------------------------------
  429. Rules:
  430. Check_Chat: true
  431. Check_Commands: true
  432.  
  433. # Check messages against rules/packets.txt? Can catch messages from server itself, or even other plugins.
  434. Check_Packets: true
  435.  
  436. Signs:
  437. Check: true
  438.  
  439. # Prevent the sign creation?
  440. Block_On_Rule_Violation: true
  441.  
  442. # Drop as an item?
  443. Drop_Sign: true
  444.  
  445. Books:
  446. Check: true
  447.  
  448. # Replace the title if a rule changes it? If false, denies creation.
  449. Replace_Title: true
  450.  
  451. # Replace pages if a rule changes them? If false, denies creation.
  452. Replace_Pages: true
  453.  
  454. Items:
  455. Check_Anvil: true
  456.  
  457. # Replace item name if a rule changes it? If false, denies creation.
  458. Replace_Name: true
  459.  
  460. # Let players choose which messages (caught be a rule) they want to see.
  461. # [TIP] Read ChatControl's Wiki for a better explanation: https://github.com/kangarko/ChatControl/wiki
  462. Chat_Ignorer:
  463. Enabled: true
  464. Sets:
  465. swear1:
  466. Ignored_By_Default: false
  467. swear:
  468. Ignored_By_Default: false
  469.  
  470. # You have to create a set here (just a section) to be able to ignore it. Create as many as you want.
  471. # You can limit sets that can be toggled by giving 'chatcontrol.ignoreset.<setName>' permission.
  472.  
  473. # This is an example set where all possible settings are used (currently just one).
  474. # Only players with permission 'chatcontrol.ignoreset.swearings' will be able to toggle this set for themselves.
  475. # You do not need to specify any parameters, at all.
  476. #swearings:
  477. # # Do not ignore by default. Player has to use "/chc ignore swearings" to make it effective for them.
  478. # # Default value: false
  479. # Ignored_By_Default: false
  480.  
  481.  
  482.  
  483. # ---------------------------------------------------------------------------------------
  484. # Remove unwanted messages from the console.
  485. # ---------------------------------------------------------------------------------------
  486. Console_Filter:
  487. Enabled: false
  488.  
  489. # Save messages that were caught and hidden to logs/console.txt?
  490. Log: false
  491.  
  492. # Remove certain messages from console.
  493. # Does not need to be whole message, just a part of the message you want to block.
  494. Filter_Console_Messages:
  495. - Reached end of stream for
  496. - Connection reset
  497. # The following is commented out as it causes issues with Multicraft.
  498. # If you don't use Multicraft you can comment them out to lower console spam.
  499. #- UUID of player
  500. #- lost connection
  501.  
  502. # ---------------------------------------------------------------------------------------
  503. # Play a sound to a player that has been mentioned.
  504. # ---------------------------------------------------------------------------------------
  505. Sound_Notify:
  506. Enabled: true
  507.  
  508. # The time before a player may receive sound notify again.
  509. Cooldown_Seconds: 10
  510.  
  511. # [NOTICE] Requires Essentials.
  512. Notify_Only_When_Afk: true
  513.  
  514. # Play a sound *only* when someone prepends the player name with the specific character.
  515. # Example: 'Hello @kangarko, are you there?'
  516. # Set to 'none' to always allow.
  517. Notify_Only_If_Prefixed_With: '@'
  518.  
  519. # Format: bukkit_sound_name, volume (float), pitch (float)
  520. # If you are on MC 1.8.x or older, the default sound name was 'CHICKEN_EGG_POP'
  521. Sound: ENTITY_CHICKEN_EGG, 1F, 1.5F
  522.  
  523. # High-light the name of the notified player. Set to none to disable.
  524. Color: '&a'
  525.  
  526. Enabled_In_Commands:
  527. - msg
  528. - tell
  529. - t
  530. - w
  531. - r
  532.  
  533. # ---------------------------------------------------------------------------------------
  534. # Set different settings from this file for people with certain permissions.
  535. # ---------------------------------------------------------------------------------------
  536. Groups:
  537. Enabled: false
  538.  
  539. Group_List:
  540.  
  541. # Example usage with all keys listed. Here, give the player 'chatcontrol.group.example_group' to put him into the group.
  542. # If you do not specify a key, the default will be used (from this file globally).
  543. # [NOTICE] If you are an OP, negate that permission for yourself, else it applies to you, too!
  544. #example_group:
  545. # # How much time to wait before their next message in seconds?
  546. # Message_Delay: 0
  547. #
  548. # # How much time to wait before their next command in seconds?
  549. # Command_Delay: 5
  550. #
  551. # # How many seconds must the player wait to log in again after logging out?
  552. # Rejoin_Delay: 0
  553. #
  554. # # How many seconds must the player wait to chat after logging in?
  555. # Chat_After_Login: 0
  556. #
  557. # # How many seconds must the player wait to run commands after logging in?
  558. # Command_After_Login: 0
  559. #
  560. # # Custom chat format for the group.
  561. # Interactive_Format: Admin_Chat_Format
  562. #
  563. # # Custom global chat format for the group, if ranged chat is enabled.
  564. # Interactive_Global_Format: Admin_Global_Format
  565.  
  566. vip:
  567. Message_Delay: 0
  568. Command_Delay: 0
  569.  
  570. # ---------------------------------------------------------------------------------------
  571. # Give player warning points for violating rules/actions.
  572. # ---------------------------------------------------------------------------------------
  573. Points:
  574. Enabled: false
  575.  
  576. # Shall the last action be repeated until the reset task gets scheduled?
  577. Repeat_Last_Action: true
  578.  
  579. # Should player only get ONE warning (the one from warning set) and not both from rules and warning sets.
  580. Smart_Warnings: true
  581.  
  582. # Players will loose their warning points when you reload or shut down the server (unless you use
  583. # MySQL, and, once upon a time, in the reset task:
  584. Reset_Task:
  585.  
  586. # The delay between taking points (in seconds). Set 0 to only reset points on plugin or server reload.
  587. # [TIP] If this is disabled, enable Repeat_Last_Action
  588. Repeat_Every_Seconds: 20
  589.  
  590. # How much points to take from different sets. If you do not specify a set, no points will be taken from it.
  591. Remove_Points_Amount:
  592. global: 5
  593. spam: 1
  594.  
  595. # To punish the player in different ways for doing a specific thing, you can create multiple warning sets.
  596. Warn_Sets:
  597.  
  598. # [NOTICE] This is a special set. Unless removed, all points will go there if you do not specify the set name.
  599. # example: you don't need to write "then points global 5", but just "then points 5" (in rules)
  600. global:
  601.  
  602. # Specify the commands to execute if the player reaches a specific points threshold.
  603. # Use operator "warn" to send the message directly to the player, otherwise, run commands as the console.
  604. # Use operator "bungeeconsole" to send commands to Bungeecords directly.
  605. 5:
  606. - "warn &7Please obey the &2rules &7otherwise you will be &4punished&7."
  607. #- "bungeeconsole tell {player} &cYou have been warned for not respecting the server rules."
  608. 15:
  609. - "warn &c**** &lHey &c{player} ****\n &7-> &cThis is your &6final &cwarning!"
  610. #- "mute {player} 5m Do not observing warnings" # Only works if you have a mute plugin
  611. 30:
  612. - "kick {player} &cKicked for breaking the rules"
  613.  
  614. swear:
  615. 4:
  616. - "warn &cYou have received first warning for swearing."
  617. 6:
  618. - "warn &cPlease do not swear, otherwise an action will be taken!"
  619. 8:
  620. - "kick {player} &cInappropriate language (last warning)"
  621. 20:
  622. - "tempban {player} 30m autoban for swearing" # This requires compatible third party plugin installed
  623.  
  624. spam:
  625. 6:
  626. - "warn &cPlease do not act like spammer."
  627. 10:
  628. - "warn &cPlease do not spam, otherwise you will be banned."
  629. 12:
  630. - "kick {player} &cSpamming the chat (last warning)"
  631. 26:
  632. - "tempban {player} 10m autoban for chat spam" # This requires compatible third party plugin installed
  633.  
  634. fastmessages:
  635. 6:
  636. - "warn &cPlease slow down chat messages."
  637. 10:
  638. - "warn &cSlow down chat, otherwise you will be banned."
  639. 14:
  640. - "kick {player} &cSlow down chat (last warning)"
  641. 30:
  642. - "tempban {player} 10m autoban for chat spam" # This requires compatible third party plugin installed
  643.  
  644. # ---------------------------------------------------------------------------------------
  645. # A variable (placeholder) is a string in brackets {}, which is replaced by
  646. # the actual data. Example: {player} is replaced with the player name.
  647. # ---------------------------------------------------------------------------------------
  648. Variables:
  649.  
  650. # Create own placeholders using JavaScript to get properties from any other plugin or even server itself.
  651. # [NOTICE] See global/variables.txt file for their management and creation.
  652. Custom_Enabled: false
  653.  
  654. # If Vault is installed, display players' prefix/suffix from each of their group together.
  655. # Limitation: Only displayed if the player has multiple groups, NO when a group inheritances multiple prefixes from other.
  656. Vault:
  657. Multi_Prefix: false
  658. Multi_Suffix: false
  659.  
  660. # -----------------------------------------------------------------------------------------
  661. # Save chat communication to see what happened in chat while you were offline.
  662. # -----------------------------------------------------------------------------------------
  663. Writer:
  664.  
  665. # Write chat messages to logs/chat.txt?
  666. Save_Chat_Communication: true
  667.  
  668. Ignore_Players:
  669. - ignoredAdmin
  670.  
  671. # Commands that will be saved along with the chat messages. To log all, set Write_Commands: ['']
  672. Write_Commands:
  673. - me
  674. - msg
  675. - m
  676. - tell
  677. - t
  678. - reply
  679. - r
  680. - mail
  681.  
  682. # -----------------------------------------------------------------------------------------
  683. # Welcome players to the server with a Message of The Day
  684. # -----------------------------------------------------------------------------------------
  685. Motd:
  686. Enabled: false
  687.  
  688. # How long to wait before displaying after login? Used to avoid covering by other messages.
  689. Delay_Ticks: 2
  690.  
  691. # Sound to play. Format: <bukkitSoundName>, <volume>, <pitch>
  692. Sound: ENTITY_FIREWORK_LAUNCH, 1F, 0.1F
  693.  
  694. # Below it's just an example of the message you can send to players when they log in.
  695. Message:
  696. - '&8*--------------------------------------------------*'
  697. - '&fHello {player}, we kindly welcome you to &e{server_name}&f and wish you great experience :)'
  698. - '\n'
  699. - '&6Version: &f{nms_version} &7/&f 08.04.2017'
  700. - '&6Changelog:'
  701. - ' &7- &fAdded ChatControl Pro plugin'
  702. - '\n'
  703. - '&6Help &7- &f/help &6Settings &7- &f/menu &6Web &7- &f/web'
  704. - '&8*--------------------------------------------------*'
  705.  
  706.  
  707. # -----------------------------------------------------------------------------------------
  708. # Spying allows to see others' commands, including content of private messages.
  709. # [TIP] Give staff chatcontrol.spy.autoenable permission to auto enable spy on join.
  710. # -----------------------------------------------------------------------------------------
  711. Spy:
  712. Prefix: '&8&o[&4&oSpying {player}&8&o] &7'
  713.  
  714. # Send to staff on other servers as well?
  715. Bungee: false
  716.  
  717. # If true, ALL commands except for those listed below shall be monitored. NOT recommended.
  718. # If false, ONLY commands below are to be monitored.
  719. Command_List_Works_Like_Blacklist: false
  720.  
  721. Command_List:
  722. - /tell
  723. - /msg
  724. - /t
  725. - /whisper
  726. - /r
  727. - /reply
  728.  
  729. # -------------------------------------------------------------------------------------------
  730. # Integration with BungeeCords
  731. # You need BungeeControlBridge on your bungee network. (https://spigotmc.org/resources/13079)
  732. # -------------------------------------------------------------------------------------------
  733. BungeeCords:
  734. Enabled: false
  735.  
  736. Enabled_In:
  737. Rule_Alerts: true
  738. Handler_Alerts: true
  739. Admin_Chat: true
  740.  
  741. # The prefix used in front of all messages coming from other servers.
  742. Prefix: "&5[Bungee/{server_name}] &7"
  743.  
  744. # -------------------------------------------------------------------------------------------
  745. # MySQL connection allows to store same information over multiple servers.
  746. # -------------------------------------------------------------------------------------------
  747. MySQL:
  748. Enabled: false
  749.  
  750. Enabled_In:
  751.  
  752. # Store in which channel player was, when they logged out?
  753. Channels: true
  754.  
  755. # Store warning points for players.
  756. Points: true
  757.  
  758. # Synchronize data more agressively. Enable if you share one MySQL database over multiple servers.
  759. # Enabling may impose a slight performance penaulty.
  760. Assume_Shared: false
  761.  
  762. # Warning: Never change those on a live server. Do not reload, always restart.
  763. Connection:
  764. Host: 'localhost'
  765. Database: 'minecraft'
  766. Port: '3306'
  767. User: ''
  768. Password: ''
  769. Table: 'ChatControl_data'
  770. # For very advanced users, you may customize the connector syntax to MySQL here.
  771. Connector_Advanced: "jdbc:mysql://{host}:{port}/{database}?autoReconnect=true"
  772.  
  773. # -------------------------------------------------------------------------------------------
  774. # Allows you to print specific debug messages only about certain parts of this plugin.
  775. # You normally don't need to edit this unless you have problems or been navigated by the dev.
  776. # -------------------------------------------------------------------------------------------
  777. Debugger:
  778. # Which sections to debug? Current possible: pm
  779. Sections: []
  780.  
  781. # Save to logs/debug.txt ?
  782. Save: true
  783.  
  784. # Log to console ?
  785. Log: false
  786.  
  787. # ----------------------------------------------------------------------------------------
  788. # Advanced: Affects the order in which we format and check the chat. No need to touch.
  789. # Read https://github.com/kangarko/ChatControl-Pro/wiki/Listener-Priorities for more information.
  790. #
  791. # Plugins which may require changing priority of Formatter: FactionsChat, BanManager and WorldGuard.
  792. # You need to find the correct combination for your server yourself. Restart after each change.
  793. # ----------------------------------------------------------------------------------------
  794. Listener_Priority:
  795.  
  796. # Used for formatting or channels. Should have the last say, meaning highest priority.
  797. Formatter: NORMAL
  798.  
  799. # Used for checking a message against duplication, time or rules.
  800. Checker: NORMAL
  801.  
  802. # Handle characters with accents internally as without the accents (e.g. รก goes to a)?
  803. # Makes rules and anti-spam more effective on non-english servers.
  804. Translate_Diacritical_Marks: true
  805.  
  806. # Prevent regular expressions freezing the server if they take more time than specified (in milliseconds).
  807. Regex_Timeout_Milis: 100
  808.  
  809. # Currently available: en (english), de (german), sk (slovak), cz (czech), es (spanish), pt (portugese), hu (hungarian), fr (french), nl (dutch) and cn (chinese), danish (dk)
  810. # [TIP] Read the header on how to customize your localization.
  811. Locale: en
  812.  
  813. # Time of some plugin's operations is measured. Print a message to the console if they take
  814. # over the specified amount of time in milliseconds. Set 0 to disable.
  815. Log_Lag_Over_Milis: 100
  816.  
  817. # Print the 'Rule match [...]' and messages about warning points into the console?
  818. # You can hide rules from appearing individually with "dont verbose" operator.
  819. Verbose_Rules: true
  820.  
  821. # Make the startup messages less intrusive. Disable if having issues.
  822. Silent_Startup: false
  823.  
  824. # Remove colors from checked messages to prevent bypasses of rules.
  825. # Disable if you wish to retain colors in the message after it's replaced by a rule.
  826. Regex_Strip_Colors: true
  827.  
  828. # Plugin saves player data, such as their last message or command for anti-spam to use.
  829. # Should the data be reset on player quit? Recommended in lobbies (on bungee), but not elsewhere.
  830. Reset_Cache_On_Quit: false
  831.  
  832. # Set to true if the \n operator does not work for you.
  833. # Before that, please ensure you've saved the file in an encoding that supports new line operator (usually UTF-8).
  834. Enforce_New_Line: false
  835.  
  836. # The server name used in {server_name} variable. By default, the 'server-name' property from server.properties is used.
  837. # It is mainly used for BungeeCords integration. Colors are supported.
  838. Server_Name: default
  839.  
  840. # Notifies about new versions.
  841. Check_Updates: true
  842.  
  843. # Prints info to the console about various events/configurations.
  844. # [TIP] Don't be afraid to enable it - it helps you understand how plugin sees what
  845. # you have configured, thus enabling you to solve issues by yourself with a glance.
  846. Debug: false
  847.  
  848. # Do not change this value, otherwise it will corrupt your plugin installation!
  849. Version: 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement