Синхронизация префиксов из LuckPerms и Chatty

RemFex

Отключён
Пользователь
Привет всем.
Дело в том, что префиксы групп из LuckPerms не отображаются в чате Chatty. Как это можно исправить?
 

MrGold

Пользователь
@RemFex, Приветствую. Скиньте настройки плагина Chatty, а также как настроены префиксы в LuckPerms. Сколько раз использовал эти два плагина вместе, не замечал подобных проблем. :)

Они прям вообще не отображаются?
 

RemFex

Отключён
Пользователь
Когда пишу в чат - ник и все.
/lp group группа setdisplayname префикс
1570637276079.png
 

MrGold

Пользователь
@RemFex, Скиньте конфигурацию Chatty. Ошибок в консоли никаких не возникает случайно?
 

RemFex

Отключён
Пользователь
Ага, префикс поставил с помощью /lp group admin meta addprefix "[Admin]", но все равно не работает.
1570637453691.png
В консоли есть варны, но это из-за того что я в своем плагине использую Deprecated-метод. А еще ProtocolLib кричит, что он не тестировался на 1.14.4. Он если что для античита нужен.
Конфиг весь?
 

RemFex

Отключён
Пользователь
YAML:
# ******************************************************
# * Chatty (version 2.15.1)
#   Universal chat-system for Bukkit-server.
#   Creator: MrBrikster.
# * Optional dependencies:
#   Vault, PlaceholderAPI, NameTagEdit.
# ******************************************************

# * General settings section.
# Common settings and small features.
general:
  # Plugin localization.
  # Possible values:
  # en - English.
  # ru - Russian.
  # de - German.
  locale: en

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

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

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

  # Storage player data mode.
  # true - for online-mode servers and under BungeeCord.
  # false - for offline-mode servers.
  uuid: false

  # Spy-mode.
  # Permission:
  # chatty.spy.<chat>
  # or chatty.spy.
  #
  # Permission for /spy:
  # chatty.command.spy
  spy:
    # On/off spy-mode.
    enable: true
    # Spy-mode message format.
    format: '&6[Spy] &r{format}'
    # PM spy-mode message format.
    # Permission: chatty.spy
    # or chatty.spy.pm
    pm-format: '&6[Spy] &7{sender} &6-> &7{recipient}: &f{message}'

# * Commands.
commands:
  prefix:
    # Enables "/prefix command.
    # Permission: chatty.command.prefix
    enable: true
    # Automatically adds a string after prefix.
    after-prefix: ' '
    # Auto-applying in NametagEdit.
    # (Requires NameTagEdit plugin).
    auto-nte: false

  suffix:
    # Enables "/suffix command.
    # Permission: chatty.command.suffix
    enable: true
    # Automatically adds a string before suffix.
    before-suffix: ' '
    # Auto-applying in NametagEdit.
    # (Requires NameTagEdit plugin).
    auto-nte: false

  msg:
    # Enables "/msg" command.
    # Permission: chatty.command.msg
    enable: true
    # Aliases for "/msg" command.
    aliases: ['message', 'pm', 'm', 'w']
    allow-console: false

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

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

# * 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 formatting string.
# range - chat range. -1 to world-wide chat, -2 to server-wide chat.
# symbol - the character from which the messages begin.
# cooldown - message cooldown in seconds (bypass permission - chatty.cooldown.<chat>).
# money - message price (depends on Vault).
# permission - should this chat use permissions? Default value is true.
chats:
  local:
    enable: true
    format: '&7[&eL&7] {prefix}{player}{suffix}&8:&7 {message}'
    range: 100
    cooldown: 1
  global:
    enable: true
    format: '&7[&aG&7] {prefix}{player}{suffix}&8:&f {message}'
    range: -1
    symbol: '!'
    cooldown: 2
  staff:
    enable: true
    format: '&7[&6Staff&7] &c{player}&8: &6 {message}'
    symbol: '#'
  broadcast:
    enable: true
    format: '&7[&cОбъявление&7] &e'
    symbol: '$'
    money: 5000
    cooldown: 120
# * JSON.
# Formatting chat messages with JSON.
# 1.7.10+.
json:
  # 1.7.10+
  enable: false

  # Command that executes (by player) when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  command: /home

  # Command that suggests when you click on the player's name.
  # Supports PlaceholderAPI.
  # *** You should use "command" OR "suggest_command" OR "link" and cannot combine.
  #
  # You can use "{player}" variable here.
  suggest_command: '/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
  #
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  link: 'http://google.com'

  # Hover tooltip for the player's name.
  # Supports PlaceholderAPI.
  #
  # You can use "{player}" variable here.
  tooltip:
  - '&fИгрок &e{player}'
  - '&fThis tooltip supports'
  - '&fPlaceholderAPI placeholders!'

  # Swears hovers.
  #
  # Permission: chatty.swears.see
  swears:
    enable: true
    tooltip:
    - '&o{word}'
    - ''
    - '&eНажмите чтобы добавить слова в вайтлист.'
    suggest_command: /swears add {word}

  # Replacements for chat formats
  #
  # You can replace plain text with JSON-pieces
  # to make chat more interactive.
  #
  # Available properties:
  # text, tooltip, command, suggest_command, link.
  replacements:
    'Admin':
      # Original text.
      original: '&cAdmin'
      # Text to replace.
      #
      # Supports PlaceholderAPI.
      # You can use "{player}" variable here.
      #
      # You can remove this line, if you need original text.
      text: '&cAdmin'

      # Hover tooltip for the text.
      #
      # Supports PlaceholderAPI.
      #
      # You can use "{player}" variable here.
      tooltip:
      - '&cЭто админ.'
      - '&4&lБойся его!'
      - ''
      - '&eНажмите чтобы посмотреть правила сервера.'

      # *** 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 three types of notifications:
# via Chat, ActionBar (1.8+) and Advancements (1.12+).
notifications:
  # Chat notifications..
  chat:
    # On/off chat notifications.
    enable: true
    # Notification lists.
    lists:
      # List "default".
      # Permission: chatty.notification.chat.default
      default:
        # Messages interval.
        time: 60
        # Messages prefix.
        prefix: ''
        # List of messages.
        messages:
        - '&cThe server is using Chatty!'
        - '&aThe server is using Chatty!'
        # Disable permission checking.
        # Delete the line, if you need this.
        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:
    - '&cThe server is using Chatty!'
    - '&aThe server is using Chatty!'
    # Disable permission checking.
    # Delete the line, if you need this.
    permission: false

  # Advancements (Achievements) notifications.
  advancements:
    # Advancements notifications.
    # Only 1.12+.
    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.15.1'
          footer: '&fThank you for using!'
        - icon: 'minecraft:gold_ingot'
          header: '&eChatty v.2.15.1'
          footer: '&fThank you for using!'
        # Disable permission checking.
        # Delete the line, if you need this.
        permission: false

# * Moderation.
# Automatic chat moderation tools.
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 procent for caps.
    procent: 80
    # 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 sites.
    patterns:
      ip: '(?:\d{1,3}[.,-:;\/()=?}+ ]{1,4}){3}\d{1,3}'
      web: '[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+~#?&//=]*)?'
    # On/off caps message blocking.
    # When false, advertisements will be replaced.
    block: true
    # Replacement for advertisement.
    replacement: '<ads>'
    # Whitelisted IP-addresses and sites.
    whitelist:
    - 'example.com'
    - 'vk.com'
    - 'google.com'
    - 'yandex.ru'
    - '192.168.1.1'
    - '127.0.0.1'
  swear:
    # On/off swear protection.
    # Bypass permission: chatty.moderation.swear
    enable: true
    # On/off caps message blocking.
    # When false, swears will be replaced.
    block: true
    # Replacement for swears.
    replacement: '<swear>'
    # Swear-list configuration: "Chatty/swears"

# * Misc.
# Change default Minecraft messages.
misc:
  join:
    # Set '' to disable.
    message: '&e{prefix}{player}{suffix} &eзашел на сервер.'
    # If player doesn't have permission, message won't send.
    #
    # Permission: chatty.misc.joinmessage
    permission: false
  quit:
    # Set '' to disable.
    message: '&e{prefix}{player}{suffix} &eвышел с сервера'
    # If player doesn't have permission, message won't send.
    #
    # Permission: chatty.misc.quitmessage
    permission: false
  death:
    # Set '' to disable.
    message: '&e{prefix}{player}{suffix} &eумер.'
    # If player doesn't have permission, message won't send.
    #
    # Permission: chatty.misc.deathmessage
    permission: false
 
Последнее редактирование модератором:

MrGold

Пользователь
@RemFex, Вообще, попробуйте сам плагин до 2.15.2 обновить.
Если не поможет, то есть вариант заменить {prefix} на <luckperms_prefix>

И да, проверьте, установлены ли Placeholder'ы для LuckPerms.

offtop А вообще, пока попробуйте, я гляну, как у меня всё было настроено.
 

RemFex

Отключён
Пользователь
1570638590790.png
В PAPI все прекрасно работает. Попробую заменить {prefix} на другое, может сработает..
Авто объединение сообщений:

При замене чат вообще ломается.
1570638841350.png
Авто объединение сообщений:

<luckperms_prefix> сработало. Спасибо.
 
Последнее редактирование модератором:

Комнаты в чате

Верх Низ