Advertisement
Guest User

Untitled

a guest
Sep 25th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.82 KB | None | 0 0
  1. # ---------------------------------------------------------------------------------------
  2. # Welcome to the main configuration of ChatControl PRO
  3. # ---------------------------------------------------------------------------------------
  4. #
  5. # For support and updates, visit the official site:
  6. # https://spigotmc.org/resources/10258
  7. # ---------------------------------------------------------------------------------------
  8. #
  9. # Following tips applies to all ChatControl's files, so they are not
  10. # mentioned multiple times.
  11. #
  12. # 1) Color codes are supported with the '&' character, see
  13. # http://minecraftwiki.net/wiki/Formatting_codes
  14. #
  15. # 2) To not display a message, set it to 'none'.
  16. #
  17. # 3) Unicode /special characters/ only work if files are saved in UTF-8
  18. # encoding. Tested on Notepad++, WordPad on Windows is broken.
  19. #
  20. # 4) JSON is supported. To use it, prepend the message with '[JSON]'.
  21. # NB: Please use a) either quotes, b) write the json on a new line
  22. # or c) send a tellraw command in rules:
  23. # a) Warn_Message: '[JSON] {"text": "Hello World"}'
  24. # b) Example_Message: |-
  25. # [JSON]
  26. # {"text": "Hover Me","hoverEvent": {"action": "show_text","value": {"text": "Hey there!"}}}
  27. # c) then console tellraw {"text": "Hello world!"}
  28. #
  29. # 5) For placeholder (variables) list, visit the variables/javascript.txt file.
  30. #
  31. # 6) Minecraft 1.9 had changed sound names, see respective lists:
  32. # New names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  33. # Former names: https://goo.gl/ArzbZA
  34. #
  35. # Most of the messages (warnings, etc) are found in the localization.
  36. # To customize it, make a new file in "localization/messages_LOCALE.yml"
  37. # (Replace LOCALE with the actual locale name, by default 'en'). It will
  38. # be filled with all default values and kept with sync on updates.
  39. #
  40. # ---------------------------------------------------------------------------------------
  41.  
  42. # ---------------------------------------------------------------------------------------
  43. # Reduce impact of spaming bots
  44. # ---------------------------------------------------------------------------------------
  45. Anti_Bot:
  46.  
  47. # Amount of seconds the player needs to wait before logging in again.
  48. Rejoin_Delay_Seconds: 0
  49.  
  50. # Disallowed chat until player moved. They can still execute commands.
  51. Block_Chat_Until_Moved: true
  52.  
  53. # Disallowed commands until player moved.
  54. # Set to Block_Commands_Until_Moved: '[]' to disable.
  55. Block_Commands_Until_Moved:
  56. - /afk
  57. - /me
  58.  
  59. # [NOTICE] Requires AuthMe. Only show the quit message when the player was logged in?
  60. # [TIP] To disable join message, enable 'delayJoinMessage' in AuthMe's configuration.
  61. Show_Quit_Message_Only_If_Logged: true
  62.  
  63. # Nicknames containing following characters will be kicked.
  64. # Regular expressions are supported. See rules/rules.txt for examples of them.
  65. Disallowed_Nicknames:
  66. - WhatTheFuckDoIPutHereYouFuckingChatControl
  67.  
  68. # ---------------------------------------------------------------------------------------
  69. # Prevent messages written in BIG LETTERS
  70. # ---------------------------------------------------------------------------------------
  71. Anti_Caps:
  72. Enabled: true
  73. Enabled_In_Commands: false
  74. Warn_Player: true
  75.  
  76. # Commands checked for capitalization. Works only if "Enabled_In_Commands" is true.
  77. # The purpose of whitelist is to prevent corrupting arguments in some commands.
  78. Commands_To_Apply:
  79. - /msg
  80. - /tell
  81.  
  82. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  83. # Controls how many points to give when player triggers the filter.
  84. Points:
  85. Warn_Set: spam
  86.  
  87. # You can write a valid mathematical expression here. The result will be rounded to whole number (without decimals).
  88. Amount: 4 * ({capsPercentage} / 2)
  89.  
  90. # Ignore names of the players online?
  91. # [NOTICE] Can degrade performance on very large servers (100+ players)
  92. # because it needs to check the message against every of them separately.
  93. Ignore_Usernames: true
  94.  
  95. Min_Message_Length: 5
  96. Min_Caps_Percentage: 50
  97. Min_Caps_In_A_Row: 5
  98. Whitelist:
  99. - OMG
  100. - LOL
  101. - WTF
  102. - WOW
  103. - ROFL
  104. - BM
  105. - BATTLEMADE
  106.  
  107. # ---------------------------------------------------------------------------------------
  108. # Prevent flooding the chat with junk / repetitive messages
  109. # ---------------------------------------------------------------------------------------
  110. Anti_Spam:
  111.  
  112. # [NOTICE] Settings in this section apply for both commands and messages,
  113. # the actual settings for commands and messages are below.
  114. #
  115. # Similarity check compares player's message to their last one(s),
  116. # and prevents sending same or similar message(s) multiple times.
  117. Similarity_Check:
  118.  
  119. # [NOTICE] If running a non-english server, disable to improve the check.
  120. Ignore_Special_Characters: true
  121.  
  122. Ignore_Duplicate_Characters: false
  123.  
  124. # Ignore first and second argument in commands. Makes check less annoying in
  125. # messages of type "/tell <player> message", wherein "/tell" and "<player>" are so ignored.
  126. Ignore_First_Arguments_In_Commands: true
  127.  
  128. Commands:
  129.  
  130. # How many seconds must player wait between their commands? Set to 0 to disable.
  131. Delay_Between_Commands: 0
  132.  
  133. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  134. Delay_Points:
  135. Warn_Set: fastmessages
  136.  
  137. # The {delay} is the delay between the current and last command in seconds.
  138. Amount: 3 - {delay}
  139.  
  140. # Block command if it is similar to the previous one, in percent.
  141. # Set to 0 or 100 to disable.
  142. Similar_Percentage_Block: 100
  143.  
  144. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  145. Similarity_Points:
  146. Warn_Set: spam
  147. Amount: 4 * ({similarityPercentage} / 2)
  148.  
  149. # If enabled, *ONLY* the commands listed in white-list will be checked.
  150. Whitelist_Works_Like_Blacklist: false
  151.  
  152. # Commands ignored from the similarity check, meaning player can run them multiple times after each other.
  153. Whitelist_Similarity:
  154. - tell
  155. - pm
  156. - t
  157. - w
  158. - r
  159.  
  160. # Commands ignored from the delay check, meaning player is not forced to wait before executing them.
  161. Whitelist_Delay:
  162. - spawn
  163. - hello
  164.  
  165. # Commands to handle as chat. Includes anti-spam, rules, writer, points, etc.
  166. # Anti-caps, capitalizing and punctuation will also be applied.
  167. Handle_As_Chat:
  168. - me
  169. - tell
  170. - pm
  171. - t
  172. - w
  173. - r
  174.  
  175. Chat:
  176.  
  177. # How many seconds must player wait between their messages? Set to 0 to disable.
  178. Delay_Between_Messages: 0
  179.  
  180. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  181. Delay_Points:
  182. Warn_Set: fastmessages
  183.  
  184. # The {delay} is the delay between the current and last message (in seconds)
  185. Amount: 3 - {delay}
  186.  
  187. # Block repetitive messages if they are similar to the previous one, in percent.
  188. # Set to 0 or 100 to disable.
  189. Similar_Percentage_Block: 80
  190.  
  191. # Amount of previous messages to check. Increases effectiveness and preventing spam like so:
  192. # <player> t
  193. # <player> lol
  194. # <player> t
  195. # <player> lol
  196. Similarity_Message_Check_Count: 2
  197.  
  198. # [NOTICE] Only works if Points are enabled. To disable, set "Amount" to 0.
  199. Similarity_Points:
  200. Warn_Set: spam
  201. Amount: 4 * ({similarityPercentage} / 2)
  202.  
  203. # Enable regular expressions in "Whitelist_Similarity" and "Whitelist_Delay"?
  204. # [NOTICE] Can lead to unexpected behavior, it is advised not to use them.
  205. Regex_In_Whitelist: false
  206.  
  207. # A message that starts with following will be ignored from the similarity check.
  208. Whitelist_Similarity:
  209. - hello
  210. - hey
  211.  
  212. # A message that starts with following will be ignored from the delay check.
  213. Whitelist_Delay:
  214. - test
  215.  
  216. # ---------------------------------------------------------------------------------------
  217. # Format the chat and correct player's grammar.
  218. # [NOTICE] Requires Vault.
  219. # See chat.yml for further configuration and creating own, unique formats.
  220. # ---------------------------------------------------------------------------------------
  221. Chat:
  222.  
  223. # Channels are multiple 'chatting rooms', in which players can chat
  224. # preventing all messages to appear on the main chat.
  225. # [NOTICE] Enabling channels disables chat formatter.
  226. Channels:
  227. Enabled: false
  228.  
  229. # Channel to assign to the player on join, depending on their permission.
  230. # Do not specify anything to disable.
  231. Join_Channels_By_Permission:
  232.  
  233. # Players with 'chatcontrol.channel.standard' permission will
  234. # automatically be put in 'standard' channel when they log in.
  235. standard: 'chatcontrol.channel.standard'
  236.  
  237. # Tell player the channel they are in, on join.
  238. Notify_On_Join: true
  239.  
  240. # [NOTICE] Advanced users only. If false, removes all receivers from AsyncPlayerChatEvent.
  241. # Otherwise, cancells the event. Used to maximize compatibility with third party plugins.
  242. Cancel_Event: false
  243.  
  244. # If Cancel_Event is false, then you can adjust the console message here:
  245. # For perfomance's sake, only the following variables are accepted:
  246. # {player}, {world}, {channel} and {message} for the message (which is already formatted)
  247. Console_Format: '&8[{channel}] &7{message}'
  248.  
  249. Formatter:
  250. Enabled: false
  251.  
  252. # Works *ONLY* on Spigot 1.7.10 or greater
  253. # Disable if any other chat formatter plugin (e.g. DeluxeChat) is installed
  254. # [NOTICE] Required to be enabled to use interactive formatters, also in chat channels above.
  255. Interactive:
  256. Enabled: false
  257.  
  258. # If for some reason is the message is not visible in console, enable to print it manually.
  259. Force_Console_Log: false
  260.  
  261. # The default chat format applied over all worlds.
  262. Format: Example_Format
  263.  
  264. # Only works when writing to global chat and ranged mode is enabled, more info below.
  265. Global_Format: Global_Chat
  266.  
  267. # Used in "/chc ach" command which sends staff chat messages.
  268. Admin_Chat_Format: Admin_Chat
  269.  
  270. # [NOTICE] You must have BungeeCords support enabled to use this.
  271. # Used in "/chc global" command which sends messages over bungee.
  272. Bungee_Chat_Format: Bungee_Chat
  273.  
  274. # The classic, static formatter. Slight performance gain as it does not draws interactive
  275. # elements every time, but deprecated and might be removed in far future releases.
  276. Static:
  277.  
  278. # Default chat format.
  279. Message_Format: '{pl_prefix}{player}:{pl_suffix} {message}'
  280.  
  281. # Global chat format. Only works if Ranged_Mode is enabled and messages starts with "!"
  282. # [NOTICE] Player must have the 'chatcontrol.chat.global' permission to be able to speak into the global chat.
  283. Global_Message_Format: '&8[GLOBAL]&f {pl_prefix}{player}:{pl_suffix} {message}'
  284.  
  285. # If Ranged_Mode is enabled, this format is used when player with 'chatcontrol.chat.spy' permission receives
  286. # ranged message that he normally should't see. Useful for admins.
  287. # [TIP] To spy on private messages (e.g. /tell or /mail), use Essentials /socialspy feature.
  288. Spy_Message_Format: '&8SPY: [{world}&8]&f {pl_prefix}{player}:{pl_suffix} {message}'
  289.  
  290. # Effective on "/chc ach" command
  291. Admin_Chat_Format: '&8[&2A-Chat {player}&8]&2 {message}'
  292.  
  293. # Effective on "/chc global" command
  294. Bungee_Chat_Format: '&8[&fG&8] {player} &7>&f {message}'
  295.  
  296. # If enabled, player's message will only be sent to players within the specified distance below.
  297. # [TIP] If you want per world chat, give everyone 'chatcontrol.chat.overrideranged' permission.
  298. Range:
  299. Enabled: false
  300. Distance: 100.0
  301.  
  302. # If ranged (local) mode is enabled, you can specify worlds that will share chat.
  303. # [NOTICE] Other worlds ignore distance specified above and every player in the other world will see sender's message.
  304. Linked_Worlds:
  305. normal:
  306. - world
  307. - world_nether
  308. skyland:
  309. - skyland
  310. - skyland_nether
  311.  
  312. # [NOTICE] Numbers and URLs are automatically ignored.
  313. Grammar:
  314.  
  315. # Punctualize every sentence (insert a dot at the end).
  316. Insert_Dot:
  317. Enabled: false
  318. Min_Message_Length: 5
  319.  
  320. # Capitalize sentences (makes the first letter uppercased).
  321. Capitalize:
  322. Enabled: false
  323. Min_Message_Length: 5
  324.  
  325. # ---------------------------------------------------------------------------------------
  326. # Remove all messages from chat with the "/chatcontrol clear" command.
  327. # ---------------------------------------------------------------------------------------
  328. Clear:
  329. Broadcast: true
  330. Do_Not_Clear_For_Staff: true
  331.  
  332. # Amount of blank lines to be printed to the console.
  333. Console_Lines_To_Clear: 300
  334.  
  335. # ---------------------------------------------------------------------------------------
  336. # Stop people from writing to chat with the "/chatcontrol mute" command.
  337. # ---------------------------------------------------------------------------------------
  338. Mute:
  339. Broadcast: true
  340.  
  341. # Deny following actions while the chat is muted.
  342. Prevent:
  343. Writing_Books: false
  344. Placing_Signs: true
  345.  
  346. # Hide following messages while the chat is muted.
  347. Silence:
  348. Join_Messages: true
  349. Quit_Messages: true
  350. Kick_Messages: true
  351. Death_Messages: true
  352.  
  353. Disabled_Commands_During_Mute:
  354. - me
  355. - tell
  356. - msg
  357. - r
  358. - w
  359.  
  360. # ---------------------------------------------------------------------------------------
  361. # Announce important messages with the "/chatcontrol announce" command.
  362. # You can customize the format in localization.
  363. # ---------------------------------------------------------------------------------------
  364. Announcer:
  365. Log_To_Console: true
  366. Ignore_Self: false
  367.  
  368. # Broadcast also over BungeeCords? (if Bungee is enabled)
  369. Bungee: true
  370.  
  371. # Usage: <bukkitSoundName>, <volume>, <pitch>
  372. # For Minecraft 1.8.8 and older, it is recommended to use 'SUCCESSFUL_HIT'
  373. Sound: ENTITY_ARROW_HIT_PLAYER, 1.0, 0.1
  374.  
  375. # ---------------------------------------------------------------------------------------
  376. # Send messages to staff with the "/chatcontrol ach" command.
  377. # ---------------------------------------------------------------------------------------
  378. Admin_Chat:
  379. Log_To_Console: true
  380.  
  381. # Write to logs/admin-chat.txt ?
  382. Write_To_File: true
  383.  
  384. # ---------------------------------------------------------------------------------------
  385. # Send messages over Bungee with the "/chatcontrol global" command.
  386. # ---------------------------------------------------------------------------------------
  387. Bungee_Chat:
  388.  
  389. # Whenever to send all player's messages to Bungee unless they turn it off with '/chc g switch'
  390. Enabled_By_Default: false
  391.  
  392. Log_To_Console: true
  393.  
  394. # Write to logs/bungee-chat.txt ?
  395. Write_To_File: true
  396.  
  397. # -----------------------------------------------------------------------------------------------
  398. # Private messages allows to send messages directly to other player without everyone else to see.
  399. # There are currently following commands: /tell and /reply
  400. # [NOTICE] If disabled, you can still use commands with same label from other plugins/server.
  401. # -----------------------------------------------------------------------------------------------
  402. Private_Messages:
  403. Enabled: false
  404.  
  405. Bungee: false
  406.  
  407. Aliases:
  408. Tell: [msg, t, whisper]
  409. Reply: [r]
  410.  
  411. # Following two formats are effective if you have disabled interactive chat (Chat.Formatter.Interactive.Enabled).
  412. Static_Format_Sender: "&8[&6you &8-> &6{player}&8] &7{message}"
  413. Static_Format_Receiver: "&8[&6{player} &8-> &6you&8] &7{message}"
  414.  
  415. # Interactive formatters.
  416. Format_Sender: Private_Message_Sender
  417. Format_Receiver: Private_Message_Receiver
  418.  
  419. # ---------------------------------------------------------------------------------------
  420. # Features involving packets that require ProtocolLib.
  421. # ---------------------------------------------------------------------------------------
  422. Packets:
  423.  
  424. # Enable all features that requires ProtocolLib
  425. # e.g. packet rules, tab complete
  426. Enabled: true
  427.  
  428. # Prevent using TAB to complete a message. Tab completing can reveal confidential server information.
  429. Tab_Complete:
  430. Disable: true
  431.  
  432. # Allow completion in messages?
  433. Disable_Only_In_Commands: true
  434.  
  435. # Allow if the message/command contains space (' ') ?
  436. Allow_When_Message_Has_Space: true
  437.  
  438. # Allow when the message length is above specific number.
  439. # Not recommended as it might still reveal your server setup.
  440. Allow_When_Length_Above: 0
  441.  
  442. # ---------------------------------------------------------------------------------------
  443. # Custom user-defined rules that will catch certain messages.
  444. # [TIP] See "rules/" folder for configuration.
  445. # ---------------------------------------------------------------------------------------
  446. Rules:
  447.  
  448. # Enabled in chat?
  449. Check_Chat: true
  450.  
  451. # Enabled on commands?
  452. Check_Commands: true
  453.  
  454. # Enabled on signs?
  455. Signs:
  456. Check: true
  457.  
  458. # Check the sign text from top to bottom and from bottom to top.
  459. Both_Directions: true
  460.  
  461. # Enabled on books?
  462. Books:
  463. Check: true
  464.  
  465. # If the rule has changed the title, should we replace it? If false, denies creation.
  466. Replace_Title: true
  467.  
  468. # If the rule has changed pages, should we replace them? If false, denies creation.
  469. Replace_Pages: true
  470.  
  471. # Enabled on items?
  472. Items:
  473. Check_Anvil: true
  474.  
  475. # If rule has changed the name, should we replace it? If false, denies creation.
  476. Replace_Name: true
  477.  
  478. # Check messages against rules/packets.txt ? Can catch messages from bukkit or even other plugins.
  479. Packets:
  480. Check: true
  481.  
  482. # Since Minecraft 1.7x, every message is a chat component. Unpacking brings better/more expected results.
  483. # Disable if experiencing issues with chat formatting plugins. Hover/click messages aren't checked.
  484. Deserialize_Json: true
  485.  
  486. # Players are able to choose which messages (caught be a rule) they want/do not want to see.
  487. # Example: Can be used for example to allow players decide if they will see swear words.
  488. Chat_Ignorer:
  489. Enabled: false
  490.  
  491. # You have to create a set here (just a section) to be able to ignore it. Create as many as you want.
  492. # You can limit sets that can be toggled by giving 'chatcontrol.ignoreset.<setName>' permission.
  493. Sets:
  494.  
  495. # Only players with permission 'chatcontrol.ignoreset.swear' will be able to toggle this set for themselves.
  496. # You do not need to specify any parameters
  497. swear:
  498.  
  499. exampleSet:
  500.  
  501. # Do not ignore by default. Player have to use "/chc ignore anotherSet" to make it effective for him.
  502. Ignored_By_Default: false
  503.  
  504. anotherSet:
  505.  
  506.  
  507. # ---------------------------------------------------------------------------------------
  508. # Remove unwanted messages from the console.
  509. # ---------------------------------------------------------------------------------------
  510. Console:
  511. Filter:
  512. Enabled: false
  513.  
  514. # Save messages that were caught and hidden to logs/console.txt?
  515. Log: false
  516.  
  517. # Remove certain messages from console.
  518. # Does not need to be whole message, just a part of the message you want to block.
  519. Filter_Console_Messages:
  520. - Reached end of stream for
  521. - Connection reset
  522. # Following are commented out as they cause issues with Multicraft.
  523. # If you don't use Multicraft you can comment the out to lower console spam.
  524. #- UUID of player
  525. #- lost connection
  526.  
  527. # ---------------------------------------------------------------------------------------
  528. # Various settings that affect signs.
  529. # ---------------------------------------------------------------------------------------
  530. Signs:
  531. Duplication:
  532.  
  533. # Player will be unable to place two signs with same text.
  534. Deny_Signs_With_Same_Text: false
  535. Alert_Staff: true
  536.  
  537. # Block sign creation when rule matches its text.
  538. Block_When_Violates_A_Rule: true
  539. Drop_Sign: true
  540.  
  541. # ---------------------------------------------------------------------------------------
  542. # Play a sound to a player that has been mentioned.
  543. # ---------------------------------------------------------------------------------------
  544. Sound_Notify:
  545. Enabled: true
  546.  
  547. # The time before a player receives the sound notify again.
  548. Cooldown_Seconds: 10
  549.  
  550. # [NOTICE] Requires Essentials.
  551. Notify_Only_When_Afk: true
  552.  
  553. # Play a sound only when someone writes following character before player's name.
  554. # Example: "Hello @kangarko, are you there?"
  555. # Set to "none" to play a sound always when player's name is mentioned.
  556. Notify_Only_If_Prefixed_With: '@'
  557.  
  558. # Format: bukkit_sound_name, volume (float), pitch (float)
  559. # If you are on MC 1.8.x or older, the default sound name was 'CHICKEN_EGG_POP'
  560. Sound: ENTITY_CHICKEN_EGG, 1F, 1.5F
  561.  
  562. # The name of the called player will be colored according to the following.
  563. # Set to none to disable.
  564. Color: '&a'
  565.  
  566. Enabled_In_Commands:
  567. - msg
  568. - tell
  569. - t
  570. - w
  571. - r
  572.  
  573. # ---------------------------------------------------------------------------------------
  574. # Set different settings for people with certain permissions.
  575. # ---------------------------------------------------------------------------------------
  576. Groups:
  577. Enabled: false
  578.  
  579. # If a permission is given (e.g via PermissionsEx: /pex user <nick> add <perm>)
  580. # effects will be applied without the need of reloading. Can degrade performance.
  581. Always_Check_Updates: false
  582.  
  583. Group_List:
  584.  
  585. # Example usage. Give the player 'chatcontrol.group.trusted' to make it working.
  586. # If you do not specify the value, the default will be used.
  587. # [NOTICE] If you are an OP, negate that permission for yourself, else it applies for you, too!
  588. trusted:
  589. Message_Delay: 0
  590.  
  591. guest:
  592. Message_Delay: 4
  593. Command_Delay: 6
  594.  
  595. #admin:
  596. # Interactive_Format: Admin_Chat_Format
  597. # Interactive_Global_Format: Admin_Global_format
  598.  
  599. # ---------------------------------------------------------------------------------------
  600. # Give player warning points for violating rules/actions.
  601. # ---------------------------------------------------------------------------------------
  602. Points:
  603. Enabled: false
  604.  
  605. # Shall the last action be repeated until the reset task gets scheduled?
  606. Repeat_Last_Action: true
  607.  
  608. # Should player only get ONE warning (the one from warning set) and not both from rules and warning sets.
  609. Smart_Warnings: true
  610.  
  611. # Once upon a time, players' points are subtracted.
  612. Reset_Task:
  613.  
  614. # The delay between taking points in seconds. Set 0 to only reset points on plugin or server reload.
  615. # [TIP] If this is disabled, enable Repeat_Last_Action
  616. Repeat_Every_Seconds: 20
  617.  
  618. # How much points to take from different sets
  619. # If you do not specify, no points will be taken
  620. Remove_Points_Amount:
  621. global: 5
  622. spam: 1
  623.  
  624. # To punish player in different ways for doing specific thing, you can create multiple warning sets.
  625. Warn_Sets:
  626.  
  627. # [NOTICE] This is a special set. Unless removed, all points will go there if you do not specify the set name.
  628. # example: you don't need to write "then points global 5", but just "then points 5" (in rules)
  629. global:
  630.  
  631. # Specify the commands to execute if player reaches specific amount of points. Can be multiple commands.
  632. # Use operator "warn" to send message directly to the player.
  633. 5:
  634. - "warn &7Please obey the &2rules &7otherwise you will be &4punished&7."
  635. 15:
  636. - "warn &c**** &lHey &c{player} ****\n &7-> &cThis is your &6final &cwarning!"
  637. #- "mute {player} 5m Do not observing warnings" # Only works if you have a mute plugin
  638. 30:
  639. - "kick {player} &cKicked for breaking the rules"
  640.  
  641. swear:
  642. 4:
  643. - "warn &cYou have received first warning for swearing."
  644. 6:
  645. - "warn &cPlease do not swear, otherwise an action will be taken!"
  646. 8:
  647. - "kick {player} &cInappropriate language (last warning)"
  648. 20:
  649. - "tempban {player} 30m autoban for swearing" # This requires compatible third party plugin installed
  650.  
  651. spam:
  652. 6:
  653. - "warn &cPlease do not act like spammer."
  654. 10:
  655. - "warn &cPlease do not spam, otherwise you will be banned."
  656. 12:
  657. - "kick {player} &cSpamming the chat (last warning)"
  658. 26:
  659. - "tempban {player} 10m autoban for chat spam" # This requires compatible third party plugin installed
  660.  
  661. fastmessages:
  662. 6:
  663. - "warn &cPlease slow down chat messages."
  664. 10:
  665. - "warn &cSlow down chat, otherwise you will be banned."
  666. 14:
  667. - "kick {player} &cSlow down chat (last warning)"
  668. 30:
  669. - "tempban {player} 10m autoban for chat spam" # This requires compatible third party plugin installed
  670.  
  671. # ---------------------------------------------------------------------------------------
  672. # A variable (placeholder) is a string in brackets {}, which is replaced by
  673. # the actual data. Example: {player} is replaced with the player name.
  674. # [NOTICE] See global/variables.txt file for more information and variables.
  675. # ---------------------------------------------------------------------------------------
  676. Variables:
  677.  
  678. # Create own placeholders (like {ping}) to get properties from any plugin (and even server).
  679. # [NOTICE] Requires Java 8 or greater!
  680. Custom_Enabled: false
  681.  
  682. # If Vault is present, enforce player's prefix/suffix to contain them from each of their group.
  683. # Limitation: Only displayed if player has multiple groups, NO when a group inheritances multiple prefixes from other.
  684. Vault:
  685. Multi_Prefix: false
  686. Multi_Suffix: false
  687.  
  688. # Where should the custom placeholders be applied? Toggle to false to improve performnance.
  689. Apply_Custom_On:
  690. Chat_Formatter: true
  691.  
  692. # Join, Kick and Quit messages
  693. Player_Messages: true
  694.  
  695. Death_Messages: true
  696. Motd: true
  697.  
  698. # Rules for chat, commands, signs, books etc.
  699. Rules: true
  700.  
  701. # -----------------------------------------------------------------------------------------
  702. # Save chat communication to see what happened in chat while you were offline.
  703. # -----------------------------------------------------------------------------------------
  704. Writer:
  705. Write_Chat_Communication: true
  706.  
  707. Ignore_Players:
  708. - ignoredAdmin
  709.  
  710. # Commands that will be saved along with chat messages.
  711. Write_Commands:
  712. - me
  713. - msg
  714. - m
  715. - tell
  716. - t
  717. - reply
  718. - r
  719. - mail
  720.  
  721. # -----------------------------------------------------------------------------------------
  722. # Welcome players to the server with Message of The Day
  723. # -----------------------------------------------------------------------------------------
  724. Motd:
  725. Enabled: false
  726.  
  727. # How long to wait before displaying after login? Used to avoid covering by other messages.
  728. Delay_Ticks: 2
  729.  
  730. # Sound to play. Format: <bukkitSoundName>, <volume>, <pitch>
  731. Sound: ENTITY_FIREWORK_LAUNCH, 1F, 0.1F
  732.  
  733. Message:
  734. - '&8*--------------------------------------------------*'
  735. - '&fHello {player}, we kindly welcome you to &e{server_name}&f and wish you great experience :)'
  736. - '\n'
  737. - '&6Version: &f{nms_version} &7/&f 31.12.2016'
  738. - '&6Changelog:'
  739. - ' &7- &fAdded ChatControl Pro plugin'
  740. - '\n'
  741. - '&6Help &7- &f/help &6Settings &7- &f/menu &6Web &7- &f/web'
  742. - '&8*--------------------------------------------------*'
  743.  
  744.  
  745. # -----------------------------------------------------------------------------------------
  746. # Spying allows to see others' commands, including content of private messages.
  747. # -----------------------------------------------------------------------------------------
  748. Spy:
  749. Prefix: '&8&o[&4&oSpying {player}&8&o] &7'
  750.  
  751. # Notify users on other servers about others' commands?
  752. Bungee: false
  753.  
  754. # If true, ALL commands except for those listed below shall be monitored. NOT recommended.
  755. # If false, ONLY commands below are to be monitored.
  756. Command_List_Works_Like_Blacklist: false
  757.  
  758. Command_List:
  759. - /tell
  760. - /msg
  761. - /t
  762. - /whisper
  763. - /r
  764. - /reply
  765.  
  766. # -------------------------------------------------------------------------------------------
  767. # Integration with BungeeCords (https://spigotmc.org/threads/392)
  768. # You need BungeeControlBridge on your bungee network. (https://spigotmc.org/resources/13079)
  769. # -------------------------------------------------------------------------------------------
  770. BungeeCords:
  771. Enabled: false
  772.  
  773. Enabled_In:
  774. Rule_Alerts: true
  775. Handler_Alerts: true
  776. Admin_Chat: true
  777.  
  778. # The prefix used in front of all messages coming from other servers.
  779. Prefix: "&5[Bungee/{server_name}] &7"
  780.  
  781. # -------------------------------------------------------------------------------------------
  782. # MySQL connection allows to store same information over multiple servers.
  783. # -------------------------------------------------------------------------------------------
  784. MySQL:
  785. Enabled: false
  786.  
  787. # [NOTICE] There is no automatic updater if you change the prefix!
  788. Table_Prefix: 'ChatControl_'
  789.  
  790. Enabled_In:
  791.  
  792. # Store in which channel player was, when they logged out?
  793. Channels: true
  794.  
  795. Connection:
  796. Host: 'localhost'
  797. Database: 'minecraft'
  798. Port: '3306'
  799. User: ''
  800. Password: ''
  801.  
  802. # ---------------------------------------------------------------------------------------
  803. # Get a notify about a new plugin's version. Downloading is currently not possible.
  804. # ---------------------------------------------------------------------------------------
  805. Updater:
  806. Enabled: false
  807. Notify: true
  808.  
  809. # ----------------------------------------------------------------------------------------
  810. # Advanced users only: Absolutely no need to change, unless you:
  811. # a) Know what you are doing (http://wiki.bukkit.org/Event_API_Reference#Event_Priorities)
  812. # b) Was advised to change it by the developer
  813. #
  814. # Known plugins which require changing priority of Formatter:
  815. # FactionsChat, BanManagement (BanManager) and WorldGuard.
  816. # The priority that will function might differs on every server, therefore it is not listed.
  817. # ----------------------------------------------------------------------------------------
  818. Listener_Priority:
  819.  
  820. # Used for formatting or channels. Should have the last say, meaning highest priority.
  821. Formatter: NORMAL
  822.  
  823. # Used for checking a message against duplication, time or rules.
  824. Checker: NORMAL
  825.  
  826. # ---------------------------------------------------------------------------------------
  827. # Tells detailed info in the console about various events/configurations.
  828. # [TIP] Don't be afraid to enable, as it helps you to understand how plugin sees what
  829. # you have set up, thus enabling you to solve issues by yourself with a glance.
  830. # ---------------------------------------------------------------------------------------
  831. Debugger:
  832.  
  833. # Global debug displays various messages across different sections of the plugin.
  834. Global: false
  835.  
  836. # Log to the console? Global debug will always be logged no matter this setting.
  837. Log_To_Console: true
  838.  
  839. # Write to log/debug.txt ?
  840. Save_To_File: true
  841.  
  842. # What sections in this file to debug? Have to be exact name of a configuration section. Example:
  843. # List of currently supported sections:
  844. # Enabled_In:
  845. # - Points
  846. # - Death_Messages
  847. Enabled_In: []
  848.  
  849. # Only check commands and chat when there is more than specified amount of players.
  850. Minimum_Players_To_Enable_Checks: 0
  851.  
  852. # Characters with accents will internally be handled as without.
  853. # Makes rules and antispam more effective on non-english servers.
  854. Translate_Diacritical_Marks: true
  855.  
  856. # Prevent malformed regular expressions to freeze the server when they take more time then specified (in milliseconds).
  857. Regex_Timeout_Milis: 100
  858.  
  859. # [TIP] Read the header of this file for tutorial on customizing localizations.
  860. # Currently available: en (english), de (german), sk (slovak), cz (czech), es (spanish), pt (portugese), hu (hungarian), fr (french), nl (dutch) and cn (chinese)
  861. Locale: en
  862.  
  863. # Time of some plugin's operations is measured. Set 0 to disable.
  864. # Print a message in the console if they take over the specified amount of time in milliseconds.
  865. Log_Lag_Over_Milis: 100
  866.  
  867. # If rules catches a message, it will print information to the console.
  868. # It is possible to hide individual packet rules from appearing with "dont verbose" operator.
  869. Verbose_Rules: true
  870.  
  871. # Removes certain messages of ChatControl from startup (reduce spam in the console)
  872. # If you are having any issues, disable this and enable Verbose and Debug.
  873. Silent_Startup: false
  874.  
  875. # Remove all colors from the checked message to increase regex effectiveness.
  876. # Disabling might/will break some filters, while enabling you to get the caught message with its colors
  877. Regex_Strip_Colors: true
  878.  
  879. # Plugin saves some player data, such as their last message or command + date of writing them, for antispam to use.
  880. # You can decide if these data should be reset when the player quits. Recommended in lobby (when on bungee), but not elsewhere.
  881. Reset_Cache_On_Quit: false
  882.  
  883. # Set to true if the \n operator does not work for you.
  884. # Before that, please ensure you've saved the file in an encoding that supports new line operator.
  885. Enforce_New_Line: false
  886.  
  887. # The server name used in {server_name} variable. If set to 'default', the 'server-name' property from server.properties is used instead.
  888. # Used for example in functions related to BungeeCords, but not necessarily. Colors are supported.
  889. Server_Name: default
  890.  
  891. # Do not change this value, otherwise it will corrupt your plugin installation!
  892. Version: 16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement