Guest User

Untitled

a guest
Jan 30th, 2023
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 19.01 KB | None | 0 0
  1. # DO NOT DELETE THIS LINE
  2. config-version: '2.0'
  3.  
  4. # ******************************************************
  5. # * Chatty
  6. #   Universal chat-system for Bukkit-server.
  7. #
  8. #   Creator: MrBrikster
  9. #
  10. # * Optional dependencies:
  11. #   Vault, PlaceholderAPI, NameTagEdit.
  12. # ******************************************************
  13.  
  14. # * GENERAL
  15. general:
  16.   # Plugin localization.
  17.   #
  18.   # en - English.
  19.   # ru - Russian.
  20.   # de - German.
  21.   # zh_CN - Simplified Chinese
  22.   locale: ru
  23.  
  24.   # Chat listener priority.
  25.   # Possible values:
  26.   # lowest, low, normal, high, highest.
  27.   priority: low
  28.  
  29.   # Chat logging in "plugins/Chatty/logs/".
  30.   log: true
  31.  
  32.   # Completely cancels chat events,
  33.   # if it cancelled by moderation method
  34.   # (instead of clearing recipients).
  35.   completely-cancel: false
  36.  
  37.   # Keep recipients list from previous listeners.
  38.   # Useful if you have some plugins, that changes recipients list, and Chatty ignores it
  39.   # (for example, Chatty may corrupt "/ignore" command of EssentialsX).
  40.   #
  41.   # Default: true
  42.   keep-old-recipients: true
  43.  
  44.   # Hides vanished players from recipients (and sends "no-recipients" message when all recipients are vanished)
  45.   # Supports EssentialsX, SuperVanish, PremiumVanish, VanishNoPacket etc.
  46.   # Default: false
  47.   hide-vanished-recipients: true
  48.  
  49.   # Storage player data mode.
  50.   # true - data will store by UUIDs.
  51.   # false - data will store by nicknames.
  52.   uuid: false
  53.  
  54.   # Enables support for "-3" chat range.
  55.   # Messages from that chats will be sent to all BungeeCord servers with Chatty.
  56.   #
  57.   # Notes:
  58.   # * Console logs will not prints on empty BungeeCord servers (non-fixable)
  59.   # * So Chatty send message to another server, there must be chat with the same name and range -3.
  60.   bungeecord: false
  61.  
  62. # * CHATS
  63. #
  64. # On the server there can be different chats with different settings,
  65. # whether it's donate-chat, admin-chat, or the usual local and global.
  66. #
  67. # Permissions:
  68. # chatty.chat.<chat> - permission for both writing and seeing messages.
  69. # chatty.chat.<chat>.write - permission for writing messages.
  70. # chatty.chat.<chat>.see - permission for seeing messages.
  71. #
  72. # Chat has the following options:
  73. # *enable*       - on/off chat.
  74. # *display-name* - name of chat, displaying in placeholders and locale messages. Default: regular name of chat.
  75. # *format*       - chat format string.
  76. # *range*        - chat range. -1 to world-wide chat, -2 to server-wide, -3 to BungeeCord-wide chat.
  77. # *symbol*       - character from which message should begin.
  78. # *cooldown*     - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
  79. # *money*        - message price (depends on Vault).
  80. # *permission*   - check permissions for this chat? Default: true.
  81. # *command*      - Command that is used to switch chat to use it by default if symbol is not specified OR to write at chat: /<command> <message>. Default: empty.
  82. # *aliases*      - Aliases for command. Default: empty.
  83. chats:
  84.   local:
  85.     enable: true
  86.     display-name: 'Local'
  87.     format: '&a&lⓁ &r{prefix}{player}{suffix}&8: &f{message}'
  88.     range: 100
  89.     cooldown: -1
  90.     command: 'localchat'
  91.     aliases: [ 'lchat' ]
  92.  
  93.   global:
  94.     enable: true
  95.     display-name: 'Global'
  96.     format: '&b&lⒼ &r{prefix}{player}{suffix}&8: &f{message}'
  97.     range: -1
  98.     symbol: '!'
  99.     cooldown: -1
  100.     command: 'globalchat'
  101.     aliases: [ 'gchat' ]
  102.  
  103.   # Example chat with multiline format
  104.   notify:
  105.     enable: true
  106.     format: |
  107.  
  108.       &6&l▰▰▰▰▰▰▰▰▰▰▰▰▰▰
  109.       &6&l▰ &r&e&lОбъявление!
  110.       &6&l▰ {message}
  111.       &6&l▰ &rот {player}
  112.       &6&l▰▰▰▰▰▰▰▰▰▰▰▰▰▰
  113.     range: -3
  114.     symbol: '$'
  115.     cooldown: -1
  116.  
  117.     # Plays sound for all chat recipients
  118.     sound: CLICK
  119.  
  120.     # Disables some moderation methods for this chat
  121.     moderation:
  122.       caps: false
  123.       swear: false
  124.       advertisement: false
  125.  
  126.     # Disables spy-mode for this chat
  127.     spy: false
  128.  
  129. # * PRIVATE MESSAGING
  130. pm:
  131.   # Enables private messaging function.
  132.   enable: true
  133.  
  134.   # Allows console to messaging players
  135.   # and messaging players to console.
  136.   # Default: false
  137.   allow-console: false
  138.  
  139.   # Allows to PM players, that in vanish
  140.   # Supports EssentialsX, SuperVanish, PremiumVanish, VanishNoPacket etc.
  141.   # Default: true
  142.   allow-pm-vanished: false
  143.  
  144.   # Format of messages
  145.   #
  146.   # Variables:
  147.   # {sender-name}, {recipient-name} - nicknames of sender and recipient.
  148.   # {sender-prefix}, {recipient-prefix} - prefixes of sender and recipient.
  149.   # {sender-suffix}, {recipient-suffix} - suffixes of sender and recipient.
  150.   # {message} - private message.
  151.   format:
  152.     recipient: '&7{sender-prefix}{sender-name} &6-> &7{recipient-prefix}{recipient-name}: &f{message}'
  153.     sender: '&7{sender-prefix}{sender-name} &6-> &7{recipient-prefix}{recipient-name}: &f{message}'
  154.  
  155.   # Plays sound to recipient
  156.   # Remove the line if not needed.
  157.   sound: CLICK
  158.  
  159.   # Sound volume and pitch parameters
  160.   sound-volume: 1.0
  161.   sound-pitch: 1.0
  162.  
  163.   commands:
  164.     msg:
  165.       # Enables "/msg" command.
  166.       # Permission: chatty.command.msg
  167.       enable: true
  168.       # Aliases for "/msg" command.
  169.       aliases: [ 'message', 'pm', 'm', 'whisper', 'w', 'tell', 't' ]
  170.  
  171.     # To keep compatibility with EssentialsX
  172.     # main name of command is "/r".
  173.     reply:
  174.       # Enables "/r" command.
  175.       # Permission: chatty.command.reply
  176.       enable: true
  177.       # Aliases for "/r" command.
  178.       aliases: [ 'reply' ]
  179.  
  180.     ignore:
  181.       # Enables "/ignore" command.
  182.       # Permission: chatty.command.ignore
  183.       enable: true
  184.       # Aliases for "/ignore" command.
  185.       aliases: [ ]
  186.  
  187. # * SPY
  188. #
  189. # Mode for spying for chat and private messages.
  190. spy:
  191.   enable: true
  192.  
  193.   # Spy-mode message format.
  194.   format:
  195.     # Permission: chatty.spy.<chat>
  196.     chat: '&7[&dСлежка&7] &7[&aL&7] &r{format}'
  197.  
  198.     # Permission: chatty.spy.pm
  199.     #
  200.     # Uses sender format of PM.
  201.     # Supports variables:
  202.     # {format}, {sender-prefix}, {sender-name}, {sender-suffix},
  203.     # {recipient-prefix}, {recipient-name}, {recipient-suffix}, {message}
  204.     pm: '&7[&dСлежка&7] &r{format}'
  205.  
  206. # * JSON
  207. #
  208. # Chat formatting with additional interactive features.
  209. #
  210. # 1.7.10 and newer.
  211. json:
  212.   enable: true
  213.  
  214.   # Command or text that executes (by player) when you click on the player's name.
  215.   #
  216.   # *** You can use EITHER "command" OR "suggest" OR "link".
  217.   #
  218.   # Supports PlaceholderAPI.
  219.   # You can use "{player}" variable here.
  220.   command: /home
  221.  
  222.   # Command or text that suggests when you click on the player's name.
  223.   #
  224.   # *** You can use EITHER "command" OR "suggest" OR "link".
  225.   #
  226.   # Supports PlaceholderAPI.
  227.   # You can use "{player}" variable here.
  228.   suggest: '/msg {player} '
  229.   #Тут пиши link: 'Ссылка' чтобы при клике на ник в чате заходило на сайт
  230.  
  231.   # Hover tooltip for the player's name.
  232.   # Supports PlaceholderAPI.
  233.   #
  234.   # You can use "{player}" variable here.
  235.   tooltip:
  236.     - ' &r'
  237.     - ' ▪ &f&lИгрок &6&l%player_name%'
  238.     - ' ▪ &f&lИнформация:'
  239.     - ' ▪ &f&lБаланс: &e&l%vault_eco_balance%'
  240.     - ' ▪ &f&lПиксы: &b%playerpoints_points% 兀'
  241.     - ' ▪ &f&lКлан: %javascript_clans_clan_tag%'
  242.     - ' ▪ &f&lУбийств: &c&l%statistic_player_kills%'
  243.     - ' ▪ &f&lСмертей: &9&l%statistic_deaths%'
  244.     - '  '
  245.     - '  &8&l╔═════════════════════╗'
  246.     - '      &7Нажмите чтобы написать'
  247.     - '      &7сообщение этому игроку'
  248.     - '  &8&l╚═════════════════════╝'
  249.  
  250.  
  251.   # Mentions.
  252.   # "@nickname" will notify player that he's mentioned.
  253.   # Also it will replaced to a clickable JSON-part.
  254.   #
  255.   # Requires permission: chatty.mentions
  256.   mentions:
  257.     enable: true
  258.  
  259.     # Display format of mention.
  260.     format: '&e&l@{player}'
  261.  
  262.     # Plays sound to player, that was mentioned.
  263.     # Remove the line if not needed.
  264.     sound: CLICK
  265.  
  266.     # Sound volume and pitch parameters
  267.     sound-volume: 1.0
  268.     sound-pitch: 1.0
  269.  
  270.     # Allows to mention vanished players
  271.     # Default: true
  272.     allow-vanished: false
  273.  
  274.     # Command or text that executes (by player) when you click on the mention.
  275.     #
  276.     # *** You can use EITHER "command" OR "suggest" OR "link".
  277.     #
  278.     # Supports PlaceholderAPI.
  279.     # You can use "{player}" variable here.
  280.     command: /home
  281.  
  282.     # Command or text that suggests when you click on the mention.
  283.     #
  284.     # *** You can use EITHER "command" OR "suggest" OR "link".
  285.     #
  286.     # Supports PlaceholderAPI.
  287.     # You can use "{player}" variable here.
  288.     suggest: '/msg {player} '
  289.  
  290.     # URL that opens when when you click on the mention.
  291.     #
  292.     # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
  293.     #
  294.     # *** You can use EITHER "command" OR "suggest" OR "link".
  295.     #
  296.     # Supports PlaceholderAPI.
  297.     # You can use "{player}" variable here.
  298.     link: 'https://example.com/players?name={player}'
  299.  
  300.     # Hover tooltip for the mention.
  301.     # Supports PlaceholderAPI.
  302.     #
  303.     # You can use "{player}" variable here.
  304.     tooltip:
  305.       - '&fClick here to message &e{player}'
  306.  
  307.   # Swears hovers.
  308.   #
  309.   # Available properties:
  310.   # tooltip, suggest
  311.   #
  312.   # Permission: chatty.swears.see
  313.   swears:
  314.     enable: false
  315.     tooltip:
  316.       - '&o{word}'
  317.       - ''
  318.       - '&eClick here to add word to whitelist.'
  319.     suggest: /swears add {word}
  320.  
  321.   # Replacements for chat formats.
  322.   #
  323.   # You can replace some plain text with clickable parts
  324.   # to make chat more interactive.
  325.   #
  326.   # Available properties:
  327.   # text, tooltip, command, suggest, link.
  328.   replacements:
  329.     'Admin':
  330.       # Original text.
  331.       original: '&cAdmin'
  332.  
  333.       # New text.
  334.       #
  335.       # Supports PlaceholderAPI.
  336.       # You can use "{player}" variable here.
  337.       #
  338.       # Remove this line, if you need original text.
  339.       text: '&cAdmin'
  340.  
  341.       # Hover tooltip for the text.
  342.       #
  343.       # Supports PlaceholderAPI.
  344.       #
  345.       # You can use "{player}" variable here.
  346.       tooltip:
  347.         - '&cThis is admin.'
  348.         - '&4&lBe afraid of him!'
  349.         - ''
  350.         - '&eClick here to see the server rules.'
  351.  
  352.       # *** You should use "command" OR "suggest-command" OR "link" and cannot combine.
  353.       # Command that executes when you click on the text.
  354.       #
  355.       # Supports PlaceholderAPI.
  356.       #
  357.       # You can use "{player}" variable here.
  358.       command: /rules
  359.  
  360. # * NOTIFICATIONS
  361. #
  362. # There are four types of notifications:
  363. # via Chat, Title (1.8.8 and newer), ActionBar (1.8.8 and newer) and Advancements (1.12 and newer).
  364. notifications:
  365.   # Chat notifications.
  366.   chat:
  367.     # On/off chat notifications.
  368.     enable: false
  369.  
  370.     # Notification lists.
  371.     lists:
  372.       # List "default".
  373.       # Permission: chatty.notification.chat.default
  374.       default:
  375.         # Messages interval.
  376.         time: 60
  377.  
  378.         # Messages prefix.
  379.         prefix: ''
  380.  
  381.         # List of messages.
  382.         # Supports PlaceholderAPI.
  383.         # Supports JSON formatting.
  384.         #
  385.         # Notification messages are using "/tellraw" JSON format.
  386.         # For example: {"text":"","extra":[{"text":"Try to search it with ","color":"white"},{"text":"search system","color":"yellow","clickEvent":{"action":"open_url","value":"http://google.com"},"hoverEvent":{"action":"show_text","value":"Search it in Google"}}]}
  387.         # This JSON will be a message "Try to search it with search system" with hover and clickable text
  388.         messages:
  389.           - '&cThe server is using Chatty!\n&aOur address: 127.0.0.1\n&aVisit out site: example.com'
  390.           - '&aThe server is using Chatty!'
  391.  
  392.         # Permission for seeing notification.
  393.         # Default: true
  394.         permission: false
  395.  
  396.         # Show messages in random order.
  397.         # Default: false
  398.         random: false
  399.  
  400.   # ActionBar notifications.
  401.   # It's static notifications,
  402.   # which changes the message with interval.
  403.   #
  404.   # Permission: chatty.notification.actionbar
  405.   actionbar:
  406.     # On/off ActionBar notifications.
  407.     # Only 1.8+.
  408.     enable: false
  409.  
  410.     # One message time.
  411.     time: 60
  412.  
  413.     # Messages prefix.
  414.     prefix: ''
  415.  
  416.     # List of messages.
  417.     # Supports PlaceholderAPI.
  418.     messages:
  419.       - '&cThe server is using Chatty!'
  420.       - '&aThe server is using Chatty!'
  421.  
  422.     # Permission for seeing notification.
  423.     # Default: true
  424.     permission: false
  425.  
  426.     # Show messages in random order.
  427.     # Default: false
  428.     random: true
  429.  
  430.   # Title notifications.
  431.   title:
  432.     # On/off title notifications.
  433.     enable: false
  434.  
  435.     # Notification lists.
  436.     lists:
  437.       # List "default".
  438.       # Permission: chatty.notification.title.default
  439.       default:
  440.         # Messages interval.
  441.         time: 60
  442.  
  443.         # List of messages.
  444.         # Supports PlaceholderAPI.
  445.         messages:
  446.           - |
  447.             &cThe server is using Chatty!
  448.             &eOur address: 127.0.0.1
  449.           - '&aThe server is using Chatty!'
  450.  
  451.         # Permission for seeing notification.
  452.         # Default: true
  453.         permission: false
  454.  
  455.         # Show messages in random order.
  456.         # Default: false
  457.         random: false
  458.  
  459.   # Advancements (Achievements) notifications.
  460.   advancements:
  461.     # Advancements notifications.
  462.     # Only 1.12 and newer.
  463.     enable: false
  464.     # Notification lists.
  465.     lists:
  466.       # List "default".
  467.       # Permission: chatty.notification.advancements.default
  468.       default:
  469.         # Messages interval.
  470.         time: 10
  471.  
  472.         # List of messages.
  473.         messages:
  474.           - icon: 'minecraft:diamond'
  475.             header: '&bChatty'
  476.             footer: '&fThank you for using!'
  477.           - icon: 'minecraft:gold_ingot'
  478.             header: '&eChatty'
  479.             footer: '&fThank you for using!'
  480.  
  481.         # Permission for seeing notification.
  482.         # Default: true
  483.         permission: false
  484.  
  485.         # Show messages in random order.
  486.         # Default: false
  487.         random: false
  488.  
  489. # * MODERATION
  490. #
  491. # Automatic chat moderation tools.
  492. # Works with private messages.
  493. moderation:
  494.   caps:
  495.     # On/off caps protection.
  496.     # Bypass permission: chatty.moderation.caps
  497.     enable: true
  498.  
  499.     # Minimal length of message to caps checking.
  500.     length: 6
  501.  
  502.     # Minimal upper case percent for caps.
  503.     percent: 80
  504.  
  505.     # On/off caps message blocking.
  506.     # When false, message will be sent in lower case.
  507.     block: true
  508.  
  509.   advertisement:
  510.     # On/off advertisement protection.
  511.     # Bypass permission: chatty.moderation.advertisement
  512.     enable: false
  513.  
  514.     # Regular expressions for IP-addresses and websites.
  515.     patterns:
  516.       ip: '\b((\d{1,2}|2(5[0-5]|[0-4]\d))[._,)(-]+){3}(\d{1,2}|2(5[0-5]|[0-4]\d))(:\d{2,7})?'
  517.       web: '(?i)\b(https?:\/\/)?[\w\.а-яА-Я-]+\.([a-z]{2,4}|[рР][фФ]|[уУ][кК][рР])\b(:\d{2,7})?(\/\S+)?'
  518.  
  519.     # On/off advertisement message blocking.
  520.     # When false, advertisement will be replaced.
  521.     block: true
  522.  
  523.     # Replacement for advertisement.
  524.     replacement: '<advertisement>'
  525.  
  526.     # Whitelisted IP-addresses and sites.
  527.     whitelist:
  528.       - 'example.com'
  529.       - 'vk.com'
  530.       - 'google.com'
  531.       - 'youtube.com'
  532.       - 'yandex.ru'
  533.       - '192.168.1.1'
  534.       - '127.0.0.1'
  535.  
  536.   swear:
  537.     # On/off swear protection.
  538.     # Bypass permission: chatty.moderation.swear
  539.     enable: false
  540.  
  541.     # On/off swear message blocking.
  542.     # When false, swears will be replaced.
  543.     block: true
  544.  
  545.     # Replacement for swears.
  546.     replacement: '<swear>'
  547.     # Files with swears are located at "Chatty/swears"
  548.  
  549. # * MISCELLANEOUS
  550. miscellaneous:
  551.   commands:
  552.     # Used to switch default chat (when symbol is not specified): /chat <chat>
  553.     # Permission: chatty.command.chat
  554.     chat:
  555.       enable: false
  556.       aliases: [ 'chats', 'switchchat' ]
  557.  
  558.     # Clear chat for yourself: /clearchat
  559.     # Permission: chatty.command.clearchat
  560.     #
  561.     # Clear chat for all: /clearchat all
  562.     # Permission: chatty.command.clearchat.all
  563.     clearchat:
  564.       enable: true
  565.       aliases: [ 'chatclear' ]
  566.  
  567.     # Change chat (and NametagEdit, if enabled) prefix
  568.     # /prefix <player> <prefix>
  569.     #
  570.     # Permissions:
  571.     # chatty.command.prefix
  572.     # chatty.command.prefix.others
  573.     prefix:
  574.       enable: false
  575.  
  576.       # Automatically appends a substring after prefix.
  577.       after-prefix: ' '
  578.  
  579.       # Limits prefix length (inclusive "after-prefix")
  580.       length-limit:
  581.         min: 3
  582.         max: 16
  583.  
  584.       # Auto-applying in NametagEdit.
  585.       # (Requires NameTagEdit plugin).
  586.       auto-nte: false
  587.  
  588.     # Change chat (and NametagEdit, if enabled) suffix
  589.     # /suffix <player> <suffix>
  590.     #
  591.     # Permissions:
  592.     # chatty.command.suffix
  593.     # chatty.command.suffix.others
  594.     suffix:
  595.       enable: true
  596.  
  597.       # Automatically appends a substring before suffix.
  598.       before-suffix: ' '
  599.  
  600.       # Limits suffix length (inclusive "before-suffix")
  601.       length-limit:
  602.         min: 3
  603.         max: 16
  604.  
  605.       # Auto-applying in NametagEdit.
  606.       # (Requires NameTagEdit plugin).
  607.       auto-nte: false
  608.  
  609.   # Change vanilla Minecraft messages.
  610.   # Supports PlaceholderAPI.
  611.   vanilla:
  612.     join:
  613.       enable: false
  614.  
  615.       # Set to '' if you want to make it hidden.
  616.       message: '&8> &e{prefix}{player}{suffix} &ejoined the server.'
  617.  
  618.       # Plays sound to all, when player joins.
  619.       # Remove the line if not needed.
  620.       sound: ORB_PICKUP
  621.  
  622.       # Sound volume and pitch parameters
  623.       sound-volume: 1.0
  624.       sound-pitch: 1.0
  625.  
  626.       # Permission: chatty.misc.joinmessage
  627.       # Default: true
  628.       permission: false
  629.  
  630.       # Specified parameters for the first join
  631.       first-join:
  632.         # First join message.
  633.         # Set to '' if you don't want to see special message for the first join.
  634.         message: '&8> &e{prefix}{player}{suffix} &6joined the server for the first time!'
  635.         # Plays sound to all, when player joins.
  636.         # Remove the line if not needed.
  637.         sound: ORB_PICKUP
  638.  
  639.         # Sound volume and pitch parameters
  640.         sound-volume: 1.0
  641.         sound-pitch: 1.0
  642.  
  643.     quit:
  644.       enable: false
  645.  
  646.       # Set to '' if you want to make it hidden.
  647.       message: '&8> &e{prefix}{player}{suffix} &eleft the server.'
  648.  
  649.       # Plays sound to all, when player quits.
  650.       # Remove the line if not needed.
  651.       sound: ORB_PICKUP
  652.  
  653.       # Sound volume and pitch parameters
  654.       sound-volume: 1.0
  655.       sound-pitch: 1.0
  656.  
  657.       # Permission: chatty.misc.quitmessage
  658.       # Default: true
  659.       permission: false
  660.  
  661.     death:
  662.       enable: false
  663.  
  664.       # Set to '' if you want to make it hidden.
  665.       message: '&8> &e{prefix}{player}{suffix} &edied.'
  666.  
  667.       # Plays sound to all, when player dies.
  668.       # Remove the line if not required.
  669.       sound: BAT_DEATH
  670.  
  671.       # Sound volume and pitch parameters
  672.       sound-volume: 1.0
  673.       sound-pitch: 1.0
  674.  
  675.       # Permission: chatty.misc.deathmessage
  676.       # Default: true
  677.       permission: false
  678.  
Advertisement
Add Comment
Please, Sign In to add comment