Вопрос Chatty - Формата сообщений в чате нет

Kluffy

Пользователь
Сообщения
813
Решения
28
Плагин
Chatty
Ядро сервера
  1. Paper
Версия сервера
  1. 1.20
Ссылка
https://www.spigotmc.org/resources/chatty-lightweight-universal-bukkit-chat-system-solution-1-7-10-1-20.59411/
Здравствуйте! Столкнулся с проблемой в плагине Chatty из за которой формат чата в плагине просто не работает, можете подсказать в чём причина? Версия последняя, 20 минут назад скачал
Вам необходимо зарегистрироваться для просмотра изображений-вложений
Вот весь конфиг плагина
YAML:
# DO NOT DELETE THIS LINE
config-version: '2.0'

# ******************************************************
# * Chatty (version 2.18.1)
#   Universal chat-system for Bukkit-server.
#
#   Creator: MrBrikster
#
# * Optional dependencies:
#   Vault, PlaceholderAPI, NameTagEdit.
# ******************************************************

# * GENERAL
general:
  # Plugin localization.
  #
  # en - English.
  # ru - Russian.
  # de - German.
  locale: ru

  # Chat listener priority.
  # Possible values:
  # lowest, low, normal, high, highest.
  priority: highest

  # Chat logging in "plugins/Chatty/logs/".
  log: true

  # Completely cancels chat events,
  # if it cancels by moderation method
  # (instead of clearing recipients).
  completely-cancel: true

  # Storage player data mode.
  # true - data will store by UUIDs.
  # false - data will store by nicknames.
  uuid: true

  # Enables support for "-3" chat range.
  # Messages from that chats will be sent to all BungeeCord servers with Chatty.
  #
  # Notes:
  # * Console logs will not prints on empty BungeeCord servers (non-fixable)
  # * So Chatty send message to another server, there must be chat with the same name and range -3.
  #
  # !!! Chatty must be also installed in BungeeCord !!!
  bungeecord: false

# * CHATS
#
# On the server there can be different chats with different settings,
# whether it's donate-chat, admin-chat, or the usual local and global.
#
# Permissions:
# chatty.chat.<chat> - permission for both writing and seeing messages.
# chatty.chat.<chat>.write - permission for writing messages.
# chatty.chat.<chat>.see - permission for seeing messages.
#
# Chat has the following options:
# *enable*      - on/off chat.
# *format*      - chat format string.
# *range*       - chat range. -1 to world-wide chat, -2 to server-wide, -3 to BungeeCord-wide chat.
# *symbol*      - character from which message should begin.
# *cooldown*    - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
# *money*       - message price (depends on Vault).
# *permission*  - check permissions for this chat? Default: true.
# *command*     - Command that is used to switch to chat to use it by default if symbol is not specified. Default: empty.
chats:
  local:
    enable: true
    format: '{#0090fd}&lʟ&r%javascript_clanchat% &f{prefix} &f%javascript_nick%%luckperms_meta_plus% %javascript_chat%&6&l → &7{message}'
    range: 100
    cooldown: 1
    command: 'lc'

  global:
    enable: true
    format: '{#fdaa00}&lɢ&r%javascript_clanchat%&f {prefix} &f%javascript_nick%%luckperms_meta_plus% %javascript_chat%&6&l → &f%luckperms_meta_chatcolor%{message}'
    range: -2
    symbol: '!'
    cooldown: 5
    command: 'glc'
    
  staff:
    enable: true
    format: '{#fd0000}&ls &f{prefix} &f%mycommand_playerdata_number% &6&l→ &a{message}'
    range: -3
    symbol: ','
    cooldown: 3
    command: 'schat'
    

# * PRIVATE MESSAGING
pm:
  # Enables private messaging function.
  enable: true

  # Allows console to messaging players
  # and messaging players to console.
  allow-console: true

  # Format of messages
  #
  # Variables:
  # {sender-name}, {recipient-name} - nicknames of sender and recipient.
  # {sender-prefix}, {recipient-prefix} - prefixes of sender and recipient.
  # {sender-suffix}, {recipient-suffix} - suffixes of sender and recipient.
  # {message} - private message.
  format:
    recipient: '&8&l[&f{#007edb}{sender-name}&l → &fЯ&8&l] &8» &f{message}'
    sender: '&8&l[&fЯ&l → &f{#007edb}{recipient-name}&8&l] &8» &f{message}'

  commands:
    msg:
      # Enables "/msg" command.
      # Permission: chatty.command.msg
      enable: false
      # Aliases for "/msg" command.
      aliases: ['message', 'pm', 'm', 'w', 'tell', 't']

    reply:
      # Enables "/reply" command.
      # Permission: chatty.command.reply
      enable: false
      # Aliases for "/reply" command.
      aliases: ['r']

    ignore:
      # Enables "/ignore" command.
      # Permission: chatty.command.ignore
      enable: false
      # Aliases for "/ignore" command.
      aliases: [ign]

# * SPY
#
# Mode for spying for chat and private messages.
spy:
  enable: false

  # Spy-mode message format.
  format:
    # Permission: chatty.spy.<chat
    chat: '&7[&6Слежка&7]: &r{format}'

    # Permission: chatty.spy.pm
    #
    # Uses sender format of PM.
    # Supports variables:
    # {format}, {sender-prefix}, {sender-name}, {sender-suffix},
    # {recipient-prefix}, {recipient-name}, {recipient-suffix}, {message}
    pm: '&7[&6Слежка&7]: &r{format}'

# * JSON
#
# Chat formatting with additional interactive features.
#
# 1.7.10 and newer.
json:
  enable: true

  # Command or text that executes (by player) when you click on the player's name.
  #
  # *** You can use EITHER "command" OR "suggest" OR "link".
  #
  # Supports PlaceholderAPI.
  # You can use "{player}" variable here.
  command: /home

  # Command or text that suggests when you click on the player's name.
  #
  # *** You can use EITHER "command" OR "suggest" OR "link".
  #
  # Supports PlaceholderAPI.
  # You can use "{player}" variable here.
  suggest: '/msg {player} '
  # URL that opens when when you click on the player's name.
  #
  # You must use "http://" or "https://" prefix, else you will crash Minecraft client :D
  #
  # *** You can use EITHER "command" OR "suggest" OR "link".
  #
  # Supports PlaceholderAPI.
  # You can use "{player}" variable here.
  link: ''

  # Hover tooltip for the player's name.
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  tooltip:

  # Swears hovers.
  #
  # Available properties:
  # tooltip, suggest
  #
  # Permission: chatty.swears.see
  swears:
    enable: true
    tooltip:
    - '&o{word}'
    - ''
    - '&eКликни чтоб добавить это слово!'
    suggest: /swears add {word}

  # Replacements for chat formats.
  #
  # You can replace some plain text with clickable parts
  # to make chat more interactive.
  #
  # Available properties:
  # text, tooltip, command, suggest, link.
  replacements:
    'Admin':
      # Original text.
      original: '&cAdmin'

      # New text.
      #
      # Supports PlaceholderAPI.
      # You can use "{player}" variable here.
      #
      # Remove this line, if you need original text.
      text: '&cAdmin'

      # Hover tooltip for the text.
      #
      # Supports PlaceholderAPI.
      #
      # You can use "{player}" variable here.
      tooltip:

      # *** You should use "command" OR "suggest-command" OR "link" and cannot combine.
      # Command that executes when you click on the text.
      #
      # Supports PlaceholderAPI.
      #
      # You can use "{player}" variable here.
      command: /rules

# * NOTIFICATIONS
#
# There are four types of notifications:
# via Chat, Title (1.8.8 and newer), ActionBar (1.8.8 and newer) and Advancements (1.12 and newer).
notifications:
  # Chat notifications.
  chat:
    # On/off chat notifications.
    enable: false

    # Notification lists.
    lists:
      # List "default".
      # Permission: chatty.notification.chat.default
      default:
        # Messages interval.
        time: 1

        # Messages prefix.
        prefix: ''

        # List of messages.
        messages:
        - ''
        - ''

        # Permission for seeing notification.
        # Default: true
        permission: false

  # ActionBar notifications.
  # It's static notifications,
  # which changes the message with interval.
  #
  # Permission: chatty.notification.actionbar
  actionbar:
    # On/off ActionBar notifications.
    # Only 1.8+.
    enable: false

    # One message time.
    time: 60

    # Messages prefix.
    prefix: ''

    # List of messages.
    messages:

    # Permission for seeing notification.
    # Default: true
    permission: false

  # Title notifications.
  title:
    # On/off title notifications.
    enable: false

    # Notification lists.
    lists:
      # List "default".
      # Permission: chatty.notification.title.default
      default:
        # Messages interval.
        time: 60

        # List of messages.
        messages:
        - '&cВаши сообщения!'
        - '&aВаши сообщения!'

        # Permission for seeing notification.
        # Default: true
        permission: false

  # Advancements (Achievements) notifications.
  advancements:
    # Advancements notifications.
    # Only 1.12 and newer.
    enable: false
    # Notification lists.
    lists:
      # List "default".
      # Permission: chatty.notification.advancements.default
      default:
        # Messages interval.
        time: 60

        # List of messages.
        messages:
        - icon: 'minecraft:diamond'
          header: '&bChatty v.2.18.1'
          footer: '&fThank you for using!'
        - icon: 'minecraft:gold_ingot'
          header: '&eChatty v.2.18.1'
          footer: '&fThank you for using!'

        # Permission for seeing notification.
        # Default: true
        permission: false

# * MODERATION
#
# Automatic chat moderation tools.
# Works with private messages.
moderation:
  caps:
    # On/off caps protection.
    # Bypass permission: chatty.moderation.caps
    enable: true

    # Minimal length of message to caps checking.
    length: 6

    # Minimal upper case percent for caps.
    percent: 50

    # On/off caps message blocking.
    # When false, message will be sent in lower case.
    block: true

  advertisement:
    # On/off advertisement protection.
    # Bypass permission: chatty.moderation.advertisement
    enable: true

    # Regular expressions for IP-addresses and websites.
    patterns:
      ip: '(?:\d{1,3}[.,-:;\/()=?}+ ]{1,4}){3}\d{1,3}'
      web: '[-a-zA-Zа-яА-Я0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Zа-яА-Я0-9@:%_\+~#?&//=]*)?'

    # On/off caps message blocking.
    # When false, advertisement will be replaced.
    block: true

    # Replacement for advertisement.
    replacement: '<Реклама>'

    # Whitelisted IP-addresses and sites.
    whitelist:
    - 'example.com'
    - 'vk.com'
    - 'google.com'
    - 'youtube.com'
    - 'yandex.ru'
    - '192.168.1.1'
    - '127.0.0.1'

  swear:
    # On/off swear protection.
    # Bypass permission: chatty.moderation.swear
    enable: false

    # On/off swear message blocking.
    # When false, swears will be replaced.
    block: true

    # Replacement for swears.
    replacement: '<Мат, ругань!>'
    # Files with swears is located at "Chatty/swears"

# * MISCELLANEOUS
miscellaneous:
  commands:
    # Used to switch default chat (when symbol is not specified): /chat <chat>
    # Permission: chatty.command.chat
    chat:
      enable: true
      aliases: ['chats', 'switchchat']

    # Clear chat for yourself: /clearchat
    # Permission: chatty.command.clearchat
    #
    # Clear chat for all: /clearchat all
    # Permission: chatty.command.clearchat.all
    clearchat:
      enable: true
      aliases: ['clch']

    # Change chat (and NametagEdit, if enabled) prefix
    # /prefix <player> <prefix>
    #
    # Permissions:
    # chatty.command.prefix
    # chatty.command.prefix.others
    prefix:
      enable: true

      # Automatically appends a substring after prefix.
      after-prefix: ' '

      # Limits prefix length (inclusive "after-prefix")
      length-limit:
        min: 3
        max: 16

      # Auto-applying in NametagEdit.
      # (Requires NameTagEdit plugin).
      auto-nte: false

    # Change chat (and NametagEdit, if enabled) suffix
    # /suffix <player> <suffix>
    #
    # Permissions:
    # chatty.command.suffix
    # chatty.command.suffix.others
    suffix:
      enable: false

      # Automatically appends a substring before suffix.
      before-suffix: ' '

      # Limits suffix length (inclusive "before-suffix")
      length-limit:
        min: 3
        max: 16

      # Auto-applying in NametagEdit.
      # (Requires NameTagEdit plugin).
      auto-nte: false

  # Change vanilla Minecraft messages.
  vanilla:
    join:
      enable: false

      # Set to '' if you want to make it hidden.
      message: '&e{prefix}{player}{suffix} &eзашел на сервер!'

      # Permission: chatty.misc.joinmessage
      # Default: true
      permission: false
    quit:
      enable: false

      # Set to '' if you want to make it hidden.
      message: '&e{prefix}{player}{suffix} &eвышел с сервера!'

      # Permission: chatty.misc.quitmessage
      # Default: true
      permission: false
    death:
      enable: false

      # Set to '' if you want to make it hidden.
      message: '&e{prefix}{player}{suffix} &eумер.'

      # Permission: chatty.misc.deathmessage
      # Default: true
      permission: false
 
возможно конфликтует с другим(и) плагином(ами) на чат, если они есть.
Вот все плагины которые есть на сервере, вроде никаких нету, разве что CMI, но еще вчера все отлично работало, в CMI я ничего не менял
Вам необходимо зарегистрироваться для просмотра изображений-вложений
 
Назад
Сверху Снизу