Advertisement
Guest User

ChatControl+ Settings

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