Advertisement
Guest User

Untitled

a guest
May 10th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.24 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: 2
  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: 2
  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: false
  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: true
  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. - world_the_end
  302. skyland:
  303. - skyland
  304. - skyland_nether
  305.  
  306. Grammar:
  307.  
  308. # Punctualize every sentence (insert a dot at the end).
  309. Insert_Dot:
  310. Enabled: true
  311. Min_Message_Length: 5
  312.  
  313. # Capitalize sentences (make the first letter uppercased).
  314. Capitalize:
  315. Enabled: true
  316. Min_Message_Length: 5
  317.  
  318. # ---------------------------------------------------------------------------------------
  319. # Remove all messages from the chat with the "/chc clear" command.
  320. # ---------------------------------------------------------------------------------------
  321. Clear:
  322. Broadcast: true
  323. Do_Not_Clear_For_Staff: true
  324.  
  325. # Amount of blank lines to be printed to the console.
  326. Console_Lines_To_Clear: 300
  327.  
  328. # ---------------------------------------------------------------------------------------
  329. # Stop people from writing to the chat with the "/chc mute" command.
  330. # ---------------------------------------------------------------------------------------
  331. Mute:
  332. Broadcast: true
  333.  
  334. # Deny following actions while the chat is muted.
  335. Prevent:
  336. Writing_Books: false
  337. Placing_Signs: true
  338.  
  339. # Hide the following messages while the chat is muted.
  340. Silence:
  341. Join_Messages: true
  342. Quit_Messages: true
  343. Death_Messages: true
  344.  
  345. Disabled_Commands_During_Mute:
  346. - me
  347. - tell
  348. - msg
  349. - r
  350. - w
  351.  
  352. # ---------------------------------------------------------------------------------------
  353. # Announce important messages with the "/chc announce" command.
  354. # You can customize the format in localization.
  355. # ---------------------------------------------------------------------------------------
  356. Announcer:
  357. Log_To_Console: true
  358. Ignore_Self: false
  359. Bungee: true
  360.  
  361. # Usage: <bukkitSoundName>, <volume>, <pitch>
  362. # For Minecraft 1.8.8 and older, it is recommended to use 'SUCCESSFUL_HIT'
  363. Sound: ENTITY_ARROW_HIT_PLAYER, 1.0, 0.1
  364.  
  365. # ---------------------------------------------------------------------------------------
  366. # Let staff communicate together with the "/chc ach" command.
  367. # ---------------------------------------------------------------------------------------
  368. Admin_Chat:
  369. Log_To_Console: true
  370.  
  371. # Write to logs/admin-chat.txt ?
  372. Write_To_File: true
  373.  
  374. # ---------------------------------------------------------------------------------------
  375. # Send messages over Bungee with the "/chc global" command.
  376. # ---------------------------------------------------------------------------------------
  377. Bungee_Chat:
  378.  
  379. # Enable bungee chat for players after login automatically. They can turn it off with '/chc g switch'
  380. Enabled_By_Default: false
  381.  
  382. Log_To_Console: true
  383.  
  384. # Write to logs/bungee-chat.txt ?
  385. Write_To_File: true
  386.  
  387. # -----------------------------------------------------------------------------------------------
  388. # Private messages allow you to secretly message another player without everyone else seeing.
  389. # There are currently following commands: /tell and /reply
  390. # [NOTICE] If disabled, you can still use commands with the same label from other plugins/server.
  391. # -----------------------------------------------------------------------------------------------
  392. Private_Messages:
  393. Enabled: false
  394. Bungee: false
  395. Aliases:
  396. Tell: [msg, t, whisper]
  397. Reply: [r]
  398.  
  399. # You can configure the formats in chat.yml file.
  400. Format_Sender: Private_Message_Sender
  401. Format_Receiver: Private_Message_Receiver
  402.  
  403. # ---------------------------------------------------------------------------------------
  404. # Features involving packets that require ProtocolLib.
  405. # ---------------------------------------------------------------------------------------
  406. Packets:
  407.  
  408. # Enable all features that require ProtocolLib
  409. # e.g. packet rules, tab complete
  410. Enabled: true
  411.  
  412. # Prevent using TAB to complete a message. Tab completing may reveal server information.
  413. Tab_Complete:
  414. Disable: true
  415.  
  416. # Allow completion in messages?
  417. Disable_Only_In_Commands: true
  418.  
  419. # Allow if the message/command contains space (' ') ?
  420. Allow_When_Message_Has_Space: false
  421.  
  422. # Allow when the message length is above a certain limit.
  423. # Not recommended as it might still reveal your server setup.
  424. Allow_When_Length_Above: 0
  425.  
  426. # ---------------------------------------------------------------------------------------
  427. # Most popular feature of ChatControl: Rules are user-defined filters that catch messages
  428. # based on regular expressions. See "rules/" folder for configuration and examples.
  429. # ---------------------------------------------------------------------------------------
  430. Rules:
  431. Check_Chat: true
  432. Check_Commands: true
  433.  
  434. # Check messages against rules/packets.txt? Can catch messages from server itself, or even other plugins.
  435. Check_Packets: true
  436.  
  437. Signs:
  438. Check: true
  439.  
  440. # Prevent the sign creation?
  441. Block_On_Rule_Violation: true
  442.  
  443. # Drop as an item?
  444. Drop_Sign: true
  445.  
  446. Books:
  447. Check: true
  448.  
  449. # Replace the title if a rule changes it? If false, denies creation.
  450. Replace_Title: true
  451.  
  452. # Replace pages if a rule changes them? If false, denies creation.
  453. Replace_Pages: true
  454.  
  455. Items:
  456. Check_Anvil: true
  457.  
  458. # Replace item name if a rule changes it? If false, denies creation.
  459. Replace_Name: true
  460.  
  461. # Let players choose which messages (caught be a rule) they want to see.
  462. # [TIP] Read ChatControl's Wiki for a better explanation: https://github.com/kangarko/ChatControl/wiki
  463. Chat_Ignorer:
  464. Enabled: false
  465.  
  466. # You have to create a set here (just a section) to be able to ignore it. Create as many as you want.
  467. # You can limit sets that can be toggled by giving 'chatcontrol.ignoreset.<setName>' permission.
  468. Sets:
  469.  
  470. # This is an example set where all possible settings are used (currently just one).
  471. # Only players with permission 'chatcontrol.ignoreset.swearings' will be able to toggle this set for themselves.
  472. # You do not need to specify any parameters, at all.
  473. #swearings:
  474. # # Do not ignore by default. Player has to use "/chc ignore swearings" to make it effective for them.
  475. # # Default value: false
  476. # Ignored_By_Default: false
  477.  
  478. swear:
  479. Ignored_By_Default: false
  480.  
  481. # ---------------------------------------------------------------------------------------
  482. # Remove unwanted messages from the console.
  483. # ---------------------------------------------------------------------------------------
  484. Console_Filter:
  485. Enabled: false
  486.  
  487. # Save messages that were caught and hidden to logs/console.txt?
  488. Log: false
  489.  
  490. # Remove certain messages from console.
  491. # Does not need to be whole message, just a part of the message you want to block.
  492. Filter_Console_Messages:
  493. - Reached end of stream for
  494. - Connection reset
  495. # The following is commented out as it causes issues with Multicraft.
  496. # If you don't use Multicraft you can comment them out to lower console spam.
  497. #- UUID of player
  498. #- lost connection
  499.  
  500. # ---------------------------------------------------------------------------------------
  501. # Play a sound to a player that has been mentioned.
  502. # ---------------------------------------------------------------------------------------
  503. Sound_Notify:
  504. Enabled: true
  505.  
  506. # The time before a player may receive sound notify again.
  507. Cooldown_Seconds: 10
  508.  
  509. # [NOTICE] Requires Essentials.
  510. Notify_Only_When_Afk: true
  511.  
  512. # Play a sound *only* when someone prepends the player name with the specific character.
  513. # Example: 'Hello @kangarko, are you there?'
  514. # Set to 'none' to always allow.
  515. Notify_Only_If_Prefixed_With: '@'
  516.  
  517. # Format: bukkit_sound_name, volume (float), pitch (float)
  518. # If you are on MC 1.8.x or older, the default sound name was 'CHICKEN_EGG_POP'
  519. Sound: ENTITY_CHICKEN_EGG, 1F, 1.5F
  520.  
  521. # High-light the name of the notified player. Set to none to disable.
  522. Color: '&a'
  523.  
  524. Enabled_In_Commands:
  525. - msg
  526. - tell
  527. - t
  528. - w
  529. - r
  530.  
  531. # ---------------------------------------------------------------------------------------
  532. # Set different settings from this file for people with certain permissions.
  533. # ---------------------------------------------------------------------------------------
  534. Groups:
  535. Enabled: false
  536.  
  537. Group_List:
  538.  
  539. # Example usage with all keys listed. Here, give the player 'chatcontrol.group.example_group' to put him into the group.
  540. # If you do not specify a key, the default will be used (from this file globally).
  541. # [NOTICE] If you are an OP, negate that permission for yourself, else it applies to you, too!
  542. #example_group:
  543. # # How much time to wait before their next message in seconds?
  544. # Message_Delay: 0
  545. #
  546. # # How much time to wait before their next command in seconds?
  547. # Command_Delay: 5
  548. #
  549. # # How many seconds must the player wait to log in again after logging out?
  550. # Rejoin_Delay: 0
  551. #
  552. # # How many seconds must the player wait to chat after logging in?
  553. # Chat_After_Login: 0
  554. #
  555. # # How many seconds must the player wait to run commands after logging in?
  556. # Command_After_Login: 0
  557. #
  558. # # Custom chat format for the group.
  559. # Interactive_Format: Admin_Chat_Format
  560. #
  561. # # Custom global chat format for the group, if ranged chat is enabled.
  562. # Interactive_Global_Format: Admin_Global_Format
  563.  
  564. vip:
  565. Message_Delay: 0
  566. Command_Delay: 0
  567.  
  568. # ---------------------------------------------------------------------------------------
  569. # Give player warning points for violating rules/actions.
  570. # ---------------------------------------------------------------------------------------
  571. Points:
  572. Enabled: false
  573.  
  574. # Shall the last action be repeated until the reset task gets scheduled?
  575. Repeat_Last_Action: true
  576.  
  577. # Should player only get ONE warning (the one from warning set) and not both from rules and warning sets.
  578. Smart_Warnings: true
  579.  
  580. # Players will loose their warning points when you reload or shut down the server (unless you use
  581. # MySQL, and, once upon a time, in the reset task:
  582. Reset_Task:
  583.  
  584. # The delay between taking points (in seconds). Set 0 to only reset points on plugin or server reload.
  585. # [TIP] If this is disabled, enable Repeat_Last_Action
  586. Repeat_Every_Seconds: 20
  587.  
  588. # How much points to take from different sets. If you do not specify a set, no points will be taken from it.
  589. Remove_Points_Amount:
  590. global: 5
  591. spam: 1
  592.  
  593. # To punish the player in different ways for doing a specific thing, you can create multiple warning sets.
  594. Warn_Sets:
  595.  
  596. # [NOTICE] This is a special set. Unless removed, all points will go there if you do not specify the set name.
  597. # example: you don't need to write "then points global 5", but just "then points 5" (in rules)
  598. global:
  599.  
  600. # Specify the commands to execute if the player reaches a specific points threshold.
  601. # Use operator "warn" to send the message directly to the player, otherwise, run commands as the console.
  602. # Use operator "bungeeconsole" to send commands to Bungeecords directly.
  603. 5:
  604. - "warn &7Please obey the &2rules &7otherwise you will be &4punished&7."
  605. #- "bungeeconsole tell {player} &cYou have been warned for not respecting the server rules."
  606. 15:
  607. - "warn &c**** &lHey &c{player} ****\n &7-> &cThis is your &6final &cwarning!"
  608. #- "mute {player} 5m Do not observing warnings" # Only works if you have a mute plugin
  609. 30:
  610. - "kick {player} &cKicked for breaking the rules"
  611.  
  612. swear:
  613. 4:
  614. - "warn &cYou have received first warning for swearing."
  615. 6:
  616. - "warn &cPlease do not swear, otherwise an action will be taken!"
  617. 8:
  618. - "kick {player} &cInappropriate language (last warning)"
  619. 20:
  620. - "tempban {player} 30m autoban for swearing" # This requires compatible third party plugin installed
  621.  
  622. spam:
  623. 6:
  624. - "warn &cPlease do not act like spammer."
  625. 10:
  626. - "warn &cPlease do not spam, otherwise you will be banned."
  627. 12:
  628. - "kick {player} &cSpamming the chat (last warning)"
  629. 26:
  630. - "tempban {player} 10m autoban for chat spam" # This requires compatible third party plugin installed
  631.  
  632. fastmessages:
  633. 6:
  634. - "warn &cPlease slow down chat messages."
  635. 10:
  636. - "warn &cSlow down chat, otherwise you will be banned."
  637. 14:
  638. - "kick {player} &cSlow down chat (last warning)"
  639. 30:
  640. - "tempban {player} 10m autoban for chat spam" # This requires compatible third party plugin installed
  641.  
  642. # ---------------------------------------------------------------------------------------
  643. # A variable (placeholder) is a string in brackets {}, which is replaced by
  644. # the actual data. Example: {player} is replaced with the player name.
  645. # ---------------------------------------------------------------------------------------
  646. Variables:
  647.  
  648. # Create own placeholders using JavaScript to get properties from any other plugin or even server itself.
  649. # [NOTICE] See global/variables.txt file for their management and creation.
  650. Custom_Enabled: false
  651.  
  652. # If Vault is installed, display players' prefix/suffix from each of their group together.
  653. # Limitation: Only displayed if the player has multiple groups, NO when a group inheritances multiple prefixes from other.
  654. Vault:
  655. Multi_Prefix: false
  656. Multi_Suffix: false
  657.  
  658. # -----------------------------------------------------------------------------------------
  659. # Save chat communication to see what happened in chat while you were offline.
  660. # -----------------------------------------------------------------------------------------
  661. Writer:
  662.  
  663. # Write chat messages to logs/chat.txt?
  664. Save_Chat_Communication: true
  665.  
  666. Ignore_Players:
  667. - ignoredAdmin
  668.  
  669. # Commands that will be saved along with the chat messages. To log all, set Write_Commands: ['']
  670. Write_Commands:
  671. - me
  672. - msg
  673. - m
  674. - tell
  675. - t
  676. - reply
  677. - r
  678. - mail
  679.  
  680. # -----------------------------------------------------------------------------------------
  681. # Welcome players to the server with a Message of The Day
  682. # -----------------------------------------------------------------------------------------
  683. Motd:
  684. Enabled: false
  685.  
  686. # How long to wait before displaying after login? Used to avoid covering by other messages.
  687. Delay_Ticks: 2
  688.  
  689. # Sound to play. Format: <bukkitSoundName>, <volume>, <pitch>
  690. Sound: ENTITY_FIREWORK_LAUNCH, 1F, 0.1F
  691.  
  692. # Below it's just an example of the message you can send to players when they log in.
  693. Message:
  694. - '&8*--------------------------------------------------*'
  695. - '&fHello {player}, we kindly welcome you to &e{server_name}&f and wish you great experience :)'
  696. - '\n'
  697. - '&6Version: &f{nms_version} &7/&f 08.04.2017'
  698. - '&6Changelog:'
  699. - ' &7- &fAdded ChatControl Pro plugin'
  700. - '\n'
  701. - '&6Help &7- &f/help &6Settings &7- &f/menu &6Web &7- &f/web'
  702. - '&8*--------------------------------------------------*'
  703.  
  704.  
  705. # -----------------------------------------------------------------------------------------
  706. # Spying allows to see others' commands, including content of private messages.
  707. # -----------------------------------------------------------------------------------------
  708. Spy:
  709. Prefix: '&8&o[&4&oSpying {player}&8&o] &7'
  710.  
  711. # Send to staff on other servers as well?
  712. Bungee: false
  713.  
  714. # If true, ALL commands except for those listed below shall be monitored. NOT recommended.
  715. # If false, ONLY commands below are to be monitored.
  716. Command_List_Works_Like_Blacklist: false
  717.  
  718. Command_List:
  719. - /tell
  720. - /msg
  721. - /t
  722. - /whisper
  723. - /r
  724. - /reply
  725.  
  726. # -------------------------------------------------------------------------------------------
  727. # Integration with BungeeCords
  728. # You need BungeeControlBridge on your bungee network. (https://spigotmc.org/resources/13079)
  729. # -------------------------------------------------------------------------------------------
  730. BungeeCords:
  731. Enabled: false
  732.  
  733. Enabled_In:
  734. Rule_Alerts: true
  735. Handler_Alerts: true
  736. Admin_Chat: true
  737.  
  738. # The prefix used in front of all messages coming from other servers.
  739. Prefix: "&5[Bungee/{server_name}] &7"
  740.  
  741. # -------------------------------------------------------------------------------------------
  742. # MySQL connection allows to store same information over multiple servers.
  743. # -------------------------------------------------------------------------------------------
  744. MySQL:
  745. Enabled: false
  746.  
  747. Enabled_In:
  748.  
  749. # Store in which channel player was, when they logged out?
  750. Channels: true
  751.  
  752. # Store warning points for players.
  753. Points: true
  754.  
  755. Connection:
  756. Host: 'localhost'
  757. Database: 'minecraft'
  758. Port: '3306'
  759. User: ''
  760. Password: ''
  761. # For very advanced users, you may customize the connector syntax to MySQL here.
  762. Connector_Advanced: "jdbc:mysql://{host}:{port}/{database}?autoReconnect=true"
  763.  
  764. # -------------------------------------------------------------------------------------------
  765. # Allows you to print specific debug messages only about certain parts of this plugin.
  766. # You normally don't need to edit this unless you have problems or been navigated by the dev.
  767. # -------------------------------------------------------------------------------------------
  768. Debugger:
  769. # Which sections to debug? Current possible: pm
  770. Sections: []
  771.  
  772. # Save to logs/debug.txt ?
  773. Save: true
  774.  
  775. # Log to console ?
  776. Log: false
  777.  
  778. # ----------------------------------------------------------------------------------------
  779. # Advanced: Affects the order in which we format and check the chat. No need to touch.
  780. # Read https://github.com/kangarko/ChatControl-Pro/wiki/Listener-Priorities for more information.
  781. #
  782. # Plugins which may require changing priority of Formatter: FactionsChat, BanManager and WorldGuard.
  783. # You need to find the correct combination for your server yourself. Restart after each change.
  784. # ----------------------------------------------------------------------------------------
  785. Listener_Priority:
  786.  
  787. # Used for formatting or channels. Should have the last say, meaning highest priority.
  788. Formatter: NORMAL
  789.  
  790. # Used for checking a message against duplication, time or rules.
  791. Checker: NORMAL
  792.  
  793. # Handle characters with accents internally as without the accents (e.g. รก goes to a)?
  794. # Makes rules and anti-spam more effective on non-english servers.
  795. Translate_Diacritical_Marks: true
  796.  
  797. # Prevent regular expressions freezing the server if they take more time than specified (in milliseconds).
  798. Regex_Timeout_Milis: 100
  799.  
  800. # 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)
  801. # [TIP] Read the header on how to customize your localization.
  802. Locale: en
  803.  
  804. # Time of some plugin's operations is measured. Print a message to the console if they take
  805. # over the specified amount of time in milliseconds. Set 0 to disable.
  806. Log_Lag_Over_Milis: 100
  807.  
  808. # Print the 'Rule match [...]' and messages about warning points into the console?
  809. # You can hide rules from appearing individually with "dont verbose" operator.
  810. Verbose_Rules: true
  811.  
  812. # Make the startup messages less intrusive. Disable if having issues.
  813. Silent_Startup: false
  814.  
  815. # Remove colors from checked messages to prevent bypasses of rules.
  816. # Disable if you wish to retain colors in the message after it's replaced by a rule.
  817. Regex_Strip_Colors: true
  818.  
  819. # Plugin saves player data, such as their last message or command for anti-spam to use.
  820. # Should the data be reset on player quit? Recommended in lobbies (on bungee), but not elsewhere.
  821. Reset_Cache_On_Quit: false
  822.  
  823. # Set to true if the \n operator does not work for you.
  824. # Before that, please ensure you've saved the file in an encoding that supports new line operator (usually UTF-8).
  825. Enforce_New_Line: false
  826.  
  827. # The server name used in {server_name} variable. By default, the 'server-name' property from server.properties is used.
  828. # It is mainly used for BungeeCords integration. Colors are supported.
  829. Server_Name: default
  830.  
  831. # Notifies about new versions.
  832. Check_Updates: true
  833.  
  834. # Prints info to the console about various events/configurations.
  835. # [TIP] Don't be afraid to enable it - it helps you understand how plugin sees what
  836. # you have configured, thus enabling you to solve issues by yourself with a glance.
  837. Debug: false
  838.  
  839. # Do not change this value, otherwise it will corrupt your plugin installation!
  840. Version: 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement