Advertisement
Guest User

Chatcontrolsettings1.8.8

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