Advertisement
Guest User

Untitled

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