Guest User

Chat control config.yml

a guest
Aug 5th, 2014
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.91 KB | None | 0 0
  1. # Note: This is a configuration of the ChatControl plugin
  2. # Official page: http://www.spigotmc.org/resources/chatcontrol.271/
  3. # SLOVAK DEVELOPER FTW
  4. # Supports color codes: & + 0 - F
  5.  
  6. # For configuration help visit: https://github.com/kangarko/ChatControl/blob/master/config.yml
  7.  
  8. Chat:
  9.   Block_Duplicate_Messages: true
  10.   # Block 75% similar messages.
  11.   Block_Similar_Messages: false
  12.   # When blocking duplicate message, should we strip UTF-8 special characters from it?
  13.   # e.g messages "Hello" and "<<Hello!?!" will after this strip be detected as equals.
  14.   # Which can lower spam and preventing users bypassing this check by adding some characters like ! ? etc.
  15.   Strip_Unicode: false
  16.   Message_Delay: 0
  17.   Write_To_File: false
  18.   Ignore_Players:
  19.    - anonymouser1
  20.   # Commands that get writed along with the chat messages.
  21.   Include_Commands:
  22.    - /tell
  23.     - /msg
  24.     - /r
  25.     - /w
  26.     - /t
  27.     - /mail
  28.   # You need Essentials to enable it.  
  29.   Notify_Player_When_Mentioned:
  30.    # When enabled in chat the plugin is iterating over every online player, beware for lag on bigger servers.
  31.     Enabled: false
  32.     Enabled_In_Commands: true
  33.     Only_Notify_When_Afk: false
  34.     Sound: CHICKEN_EGG_POP
  35.     # Type none to notify when using just his plain name.
  36.     # By default you need to call him like @kangarko to play sound to him.
  37.     In_Chat_When_Prefixed_With: "@"
  38.     In_Commands:
  39.      - /tell
  40.       - /t
  41.       - /msg
  42.       - /m
  43.       - /reply
  44.       - /r
  45.    
  46. # Similar functionality as ChatManager, now a discontinued plugin that was part of the PermissionEx package.
  47. # Disabled by default. *NOT* compatible with EssentialsChat *OR* other chat formatting plugins.
  48. # You need to have PermissionEx installed.
  49. Chat_Formatter:
  50.   Enabled: false
  51.   Message_Format: '%group%prefix%player: %message'
  52.   Global_Message_Format: '%prefix%player &e%message'
  53.   Ranged_Mode: false
  54.   Chat_Range: 100.0
  55.  
  56. Messages:
  57.  # Default - not handled by ChatControl; none - message will not shown. Or just write your own message .
  58.   # Example: Join_Message: "&e&o%player &6just quit the game"
  59.   # Variables: %player and %prefix
  60.   Common:
  61.     Join_Message: default
  62.     Quit_Message: default
  63.     Kick_Message: default
  64.  
  65. Grammar:
  66.   Capitalize:
  67.     Enabled: false
  68.     Minimum_Msg_Length: 5
  69.   Insert_Dot:
  70.     Enabled: false
  71.     Minimum_Msg_Length: 5
  72.  
  73. Commands:
  74.   Block_Duplicate_Commands: false
  75.   Block_Similar_Commands: false
  76.   Strip_Unicode: false
  77.   Command_Delay: 0
  78.   Whitelist_Time:
  79.    - tell
  80.   Whitelist_Duplication:
  81.    - tpa
  82.     - spawn
  83.     - home
  84.  
  85. Protect:
  86.   Prevent_Tab_Complete: false
  87.  
  88. Signs:
  89.   Advertising_Check: true
  90.   # If false, plugin just disallow the text.
  91.   Rewrite_Lines: true
  92.   Rewrite_Text: "Advertising was:&4detected.:Please do not:advertise."
  93.   # Check for signs text duplication. Fair players can get annoyed, deal with caution.
  94.   Duplication_Check: false
  95.  
  96. Mute:
  97.   Broadcast: true
  98.   Disable:
  99.     Join_Messages: true
  100.     Quit_Messages: true
  101.     Kick_Messages: true
  102.     Death_Messages: true
  103.   Disabled_Commands_During_Mute:
  104.    - me
  105.    
  106. Clear:
  107.   Broadcast: true
  108.   Do_Not_Clear_For_Staff: false
  109.   Amount_Of_Lines_To_Clear_In_Console: 300
  110.  
  111. Anti_Bot:
  112.   Rejoin_Time: 0
  113.  
  114. Anti_Caps:
  115.   Enabled: true
  116.   Minimum_Message_Length: 4
  117.   Total_Caps_Percentage: 50
  118.   Caps_In_A_Row: 3
  119.   Warn_Player: true
  120.   Whitelist:
  121.    - LOL
  122.  
  123. Anti_Swear:
  124.   Enabled: true
  125.   Enabled_In_Commands: true
  126.   Command_Whitelist:
  127.    - /register
  128.     - /reg
  129.     - /login
  130.     - /l
  131.   Block_Message: false
  132.   # Send a message to player that sweared ? (Customizable below)
  133.   Warn_Player: true
  134.   Inform_Admins: true
  135.   # Replace the word ? Block_Message must be false for this to work.
  136.   Replace_Word: true
  137.   # Note: This fully works only on regex expressions.
  138.   Replacement: "!@#$"
  139.   # Use %player for player and %message for message.
  140.   Custom_Command: none
  141.   # Careful with Regular Expressions. Can broke the plugin!
  142.   Word_List:
  143.    - \bf(u|v)(c)(k|q)|\bf'ing|\bf(c)k\b
  144.     - b(i|1|!)tch
  145.     - \bpiss off
  146.     - \bsuck
  147.     - \bass\b
  148.     - n(o)(o|0|00)b
  149.     - l(o|0)(o)s(e|3)r
  150.     - ".*p+u+s+s+(y|ies|y+s).*"
  151.  
  152. Anti_Ad:
  153.   Enabled: true
  154.   Enabled_In_Commands: true
  155.   Command_Whitelist:
  156.    - /register
  157.     - /reg
  158.     - /login
  159.     - /l
  160.     - /auction
  161.     - //                   # Ignore WorldEdit.
  162.   Inform_Admins: true
  163.   Console_Message: true
  164.   Broadcast: false
  165.   Write_To_File: true
  166.   # Filter based on RegEx improves the standard filters below. It replaces characters [,],(,) by default.
  167.   Filter_Pre_Process: '[\(\[\]\)]'
  168.   # Careful with the Regular Expressions. Random changing might blow of your server!
  169.   IP_Filter: '\b[0-9]{1,3}(\.|dot|\(dot\)|-|;|:|,|(\W|\d|_)*\s)+[0-9]{1,3}(\.|dot|\(dot\)|-|;|:|,|(\W|\d|_)*\s)+[0-9]{1,3}(\.|dot|\(dot\)|-|;|:|,|(\W|\d|_)*\s)+[0-9]{1,3}\b'
  170.   Domain_Filter: '[a-zA-Z0-9\-\.]+\s?(\.|dot|\(dot\)|-|;|:|,)\s?(com|org|net|mil|cz|co|uk|sk|cc|ws|ca|biz|mobi|xxx|tv|eu)\b'
  171.   Custom_Filter: none
  172.   Custom_Command: none
  173.   Whitelisted:
  174.     IP:
  175.      - 0.0.0.0
  176.     Domains:
  177.      - youtube.com
  178.       - google.com
  179.  
  180. Miscellaneous:
  181.   Minimum_Players_To_Enable_Plugin: 0
  182.   Block_Chat_Until_Moved: true
  183.   Op_Has_Permissions: true
  184.   # How long we should tolerate a regex to freeze the server? Can prevent some malformed regex to crash the server.
  185.   RegEx_Timeout_Milis: 1500
  186.   Automatically_Update_Config: true
  187.   Check_For_Updates: true
  188.   Download_Automatically: true
  189.   Notify_New_Version: true
  190.   Debug: false
  191.  
  192. Localization:
  193.  # Use %prefix to add the prefix.
  194.   Dupe_Message: "&cPlease do not repeat the same (or similar) message."
  195.   Dupe_Command: "&cPlease do not repeat the same (or similar) command."
  196.   Dupe_Sign: "&cPlease do not repeat the same text on sign."
  197.   Time_Message: "&cPlease wait %time second(s) before next message."
  198.   Command_Message: "&cPlease wait %time second(s) before next command."
  199.  
  200.   Ad_Message: "&7Please do not advertise other websites or IP adresses."
  201.   Ad_Staff_Message: "&c%player possibly advertises: &f%message "
  202.   Ad_Broadcast_Message: "&c%player possibly advertises!"
  203.   Ad_Console_Message: "&c%player possibly advertises: &f%message"
  204.  
  205.   Caps_Message: "&cDo not use so much CAPS LOCK"
  206.  
  207.   Successful_Mute: "&7Chat was successfully muted."
  208.   Successful_Unmute: "&7The chat is now unmuted."
  209.  
  210.   Broadcast_Mute: "%prefix &eChat was muted by %player!"
  211.   Broadcast_Silent_Mute: "&cInitiated global chat mute."
  212.  
  213.   Broadcast_Unmute: "%prefix &eChat was unmuted by %player!"  
  214.   Broadcast_Silent_Unmute: "&cGlobal chat mute was cancelled."
  215.  
  216.   Broadcast_Clear: "%prefix &eChat was cleared by %player!"
  217.   Broadcast_Silent_Clear: "&cThe game chat was cleared."
  218.  
  219.   Successful_Console_Clear: "%prefix &7Console was successfuly cleared."
  220.   Do_Not_Swear: "&cPlease do not swear!"
  221.   Swear_Admin_Message: "&c%player swears:&f %message"
  222.  
  223.   Cannot_Chat_While_Muted: "&7You cannot chat while the chat is muted."
  224.   Cannot_Command_While_Muted: "&7You cannot use this command while the chat is muted."
  225.   Cannot_Chat_Until_Moved: "&7You cannot chat until you move."
  226.   Cannot_Broadcast_Empty_Message: "&cMessage at %event is none, therefore nothing is broadcasted."
  227.  
  228.   Staff_Chat_Clear_Message: "&7^----- [ == &fChat was cleared by %player &7== ] -----^"
  229.   Rejoin_Message: "&6Please wait &7%time second(s)&6 before logging in."
  230.   Update_Needed: "&2A new version of &3ChatControl&2 is available.\n&2Current version: &f%current&2; New version: &f%new\n&2You can disable this notification in its config."
  231.   Reload_Complete: "&7Plugin was reloaded successfully."
  232.   No_Permission: "&cYou do not have permission for this."
  233.  
  234.   Wrong_Args: "&cWrong arguments. Type &6/chc list&c for command list."
  235.   Wrong_Parameters: "&cWrong parameters, available are: &7%params"
  236.  
  237.   Usage_Fake_Cmd: "%prefix Usage: /chatcontrol fake <&bjoin&f/&aleave&f>"
  238.  
  239.   Reason: "&7Reason:&f%reason"
  240.   Prefix: "&8[&3ChatControl&8]&f"
  241.   Console: "&4server"
  242.  
  243. Do_Not_Change_Version_Number: 4.5.1
Advertisement
Add Comment
Please, Sign In to add comment