Advertisement
Guest User

Untitled

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