1. Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.
    Скрыть объявление
Скрыть объявление
В преддверии глобального обновления, мы проводим исследования, которые помогут нам сделать опыт пользования форумом ещё удобнее. Помогите нам, примите участие!

Решено У меня почему-то не работает глобал чат в плагине chatty

Тема в разделе "Помощь", создана пользователем Olegcegth25, 1 янв 2023.

Статус темы:
Закрыта.
  1. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    chats:
    local:
    enable: true
    format: '&6[L] {prefix}{player}{suffix} &a➢ &r{message}'
    range: 100
    cooldown: -1
    command: 'localchat'

    global:
    enable: true
    format: '&e[G] {prefix}{player}{suffix} &a➢ &r{message}'
    range: -1
    symbol: '!'
    cooldown: -1
    command: 'globalchat'
     
    Последнее редактирование: 2 янв 2023
  2. Snon_S

    Snon_S Активный участник Пользователь

    Баллы:
    76
    range: -1 где global
     
  3. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    даже так не работает
     
  4. Xickudar

    Xickudar Ньюби Пользователь

    Баллы:
    1
    Имя в Minecraft:
    Xickudar
    Полностью конфиг залей на Pastebin там посмотрим что не так с ним
     
  5. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    Окей, щас сделаю
     
  6. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    залил что делать?
     
  7. _Ruleto4ka_

    _Ruleto4ka_ Активный участник Пользователь

    Баллы:
    76
  8. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
  9. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
  10. Dymeth

    Dymeth Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    Показывай логи и текущий конфиг. Чтобы конфиг выглядел нормально - используй вставку кода
     
  11. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    хз логи я не нашол
     
  12. Dymeth

    Dymeth Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    В смысле логи не нашёл? Папка logs, файл latest.log
     
  13. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
  14. _Ruleto4ka_

    _Ruleto4ka_ Активный участник Пользователь

    Баллы:
    76
  15. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
  16. Dymeth

    Dymeth Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    Судя по логам, с Chatty всё в порядке, загружается корректно. Но по-прежнему ждём актуальный конфиг
     
  17. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    то есть вам скинуть конфиг?
     
  18. Dymeth

    Dymeth Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    А кому ещё-то? Сюда, в тему скидывай. Третий раз прошу уже
     
  19. Автор темы
    Olegcegth25

    Olegcegth25 Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    Olegcegth25
    # ******************************************************
    # * 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: ru

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

    # 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: true

    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: '&6[L] {prefix}{player}{suffix} &a➢ &r{message}'
    range: 100
    cooldown: -1

    global:
    enable: true
    format: '&e[G] {prefix}{player}{suffix} &r➢ &7{message}'
    range: -1
    symbol: '!'
    cooldown: -1


    # * 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:
    - '&fPlayer &e{player}'
    - '&fThis tooltip supports'
    - '&fPlaceholderAPI placeholders!'

    # Swears hovers.
    #
    # Permission: chatty.swears.see
    swears:
    enable: true
    tooltip:
    - '&o{word}'
    - ''
    - '&eClick here to add word to whitelist.'
    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:
    - '&cThis is admin.'
    - '&4&lBe afraid of him!'
    - ''
    - '&eClick here to see the server rules.'

    # *** 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: false
    # Notification lists.
    lists:
    # List "default".
    # Permission: chatty.notification.chat.default
    default:
    # Messages interval.
    time: 60
    # Messages prefix.
    prefix: ''
    # List of messages.
    messages:
    - '&c&bMineSborka.ru! &fЛучший сайт по майнкрафт!'
    - '&eMineSborka.ru &fЛучший сайт по майнкрафт!'
    # 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: true
    # One message time.
    time: 25
    # Messages prefix.
    prefix: ''
    # List of messages.
    messages:
    - '&5TovRand.ml! &fЛучший сервер по майнкрафт!'
    - ' '
    # Disable permission checking.
    # Delete the line, if you need this.
    permission: false

    # Advancements (Achievements) notifications.
    advancements:
    # Advancements notifications.
    # Only 1.12+.
    enable: true
    # Notification lists.
    lists:
    # List "default".
    # Permission: chatty.notification.advancements.default
    default:
    # Messages interval.
    time: 25
    # List of messages.
    messages:
    - icon: 'minecraft:diamond'
    header: '&bTovRand.ml'
    footer: '&fЛучший сервер по майнкрафт!'
    - icon: 'minecraft:gold_ingot'
    header: '&eTovRand.ml'
    footer: '&fЛучший сервер по майнкрафт!'
    # 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
     
  20. Dymeth

    Dymeth Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Dymeth
    Тут табуляции нет и гора текста.
    Сюда: https://pastes.dev/
     
Статус темы:
Закрыта.

Поделиться этой страницей