CMI-CHAT.

Dinar75

Переводчик
Пользователь
Сообщения
77
Решения
2
Плагин
CMI
Ядро сервера
  1. Paper
Версия сервера
  1. 1.19
Привет всем. Кто подскажет как сделать глобальный чат в CMI?
Объединено

Если у кого-то уже сделаны чаты в CMI. Пожалуйста, пришлите мне сюда конфиг текст прям целый с чатами,себе поставлю, а то никак не разберусь .
 
Отвратительное поведение, ты родился с эгоизмом ? Или это в течении жизни далось?
В течении жизни далось, надеюсь с возрастом пройдет. На самом деле это не совсем эгоизм, просто мое мнение. Почему я не могу сказать, что CMI хуже, если я так считаю?
 
Ну, знаешь CMI лучше. Тот же Essentials устарел. МНОГИЕ функции заменяются в cmi, уж легче скопить, и потратиться на него. Я например, забыл о плагинах AutoMessage, ClearLag. Знаешь почему? Потому что все есть в cmi.
 
Ну, знаешь CMI лучше. Тот же Essentials устарел. МНОГИЕ функции заменяются в cmi, уж легче скопить, и потратиться на него. Я например, забыл о плагинах AutoMessage, ClearLag. Знаешь почему? Потому что все есть в cmi.
А, ну это возможно. Просто у меня на сервере нет авто-сообщениq, предметы очищает сам spigot, а не какие-то модификации и т.д
Школосерверам, конечно же, лучше CMI. Да и как Essentials мог устареть, если он обновляется до сих пор?
 
В настройках конфига есть маленькая загвоздка. Не помню точно, вроде нужно установить BungeePublicMessages: false или BungeeMessages: false
Объединено

Это если сервер одиночка и не в банже связке.
 
В настройках конфига есть маленькая загвоздка. Не помню точно, вроде нужно установить BungeePublicMessages: false или BungeeMessages: false
Объединено

Это если сервер одиночка и не в банже связке.
Позже проверю. Надеюсь что будет работать, уже хотелось просто Chatty поставить.
Объединено

В настройках конфига есть маленькая загвоздка. Не помню точно, вроде нужно установить BungeePublicMessages: false или BungeeMessages: false
Объединено

Это если сервер одиночка и не в банже связке.
The_stas, ты не знаешь как добавлять запрещенные слова/значения в ChatFilter?
 
Последнее редактирование:
Самый простой способ.
Я пока сам не разбирался в настройках и написании игроком этих слов в разном регистре. По этому метаду будет отслеживаться только точное написание слова из списка ниже.

YAML:
  ChatFilter:
    Enabled: true
    Deny:
      ipBlock:
        # If not set to true, this filter will not be used
        Enabled: true
        # Defines filter group and defines required permission node to bypass this filter: cmi.chatfilter.bypass.[groupName]
        Group: Advertising
        # When set to true, each time player triggers filter, console will receive information about who triggered it, which filter and with what message
        InformConsole: true
        # Regex expression to filter by. How to use regex https://regexone.com/
        Regex:
        - '[a-zA-Z0-9\-\.]+\s?(\.|dot|\(dot\)|-|;|:|,|_|\/)\s?([a-zA-Z]{2}|aero|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel)\b'
        - \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
        # With what we need to replace word, if not defined found expression will not be changed
        ReplaceWith: ''
        # possible: none, others, all
        # Where 'none' means everyone will receive this message
        # 'others' means that sender will get message but not other players, this is usefull to prevent advertising and silently block it
        # 'all' means that no one will receive sent message
        BlockType: others
        # When enabled rule will be applied to private messages
        includePrivateMessages: true
        # Players with cmi.chatfilter.inform permission will receive defined message when rule is broken
        msgToStaff: '&4!&6[playerName] &4advertising with: &r[message]'
        # List of commands to perform when rule is broken. Use [senderName] to include message sender name. Supports global variables same as locale file
        Commands: []
      swearing1:
        Enabled: true
        Group: Swearing
        InformConsole: true
        Regex:
        - 6лядь
        - 6лять
        - b3ъeб
        - e6aль
        - ebal
        - eblan
        - eбaл
        - eбaть
        - eбyч
        - eбать
        - eбёт
        - eблантий
        - zaeb
        - zaebal
        - zaebali
        - zaebat
        - архипиздрит
        - ахуел
        - ахуеть
        - бздение
 
Самый простой способ.
Я пока сам не разбирался в настройках и написании игроком этих слов в разном регистре. По этому метаду будет отслеживаться только точное написание слова из списка ниже.

YAML:
  ChatFilter:
    Enabled: true
    Deny:
      ipBlock:
        # If not set to true, this filter will not be used
        Enabled: true
        # Defines filter group and defines required permission node to bypass this filter: cmi.chatfilter.bypass.[groupName]
        Group: Advertising
        # When set to true, each time player triggers filter, console will receive information about who triggered it, which filter and with what message
        InformConsole: true
        # Regex expression to filter by. How to use regex https://regexone.com/
        Regex:
        - '[a-zA-Z0-9\-\.]+\s?(\.|dot|\(dot\)|-|;|:|,|_|\/)\s?([a-zA-Z]{2}|aero|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel)\b'
        - \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
        # With what we need to replace word, if not defined found expression will not be changed
        ReplaceWith: ''
        # possible: none, others, all
        # Where 'none' means everyone will receive this message
        # 'others' means that sender will get message but not other players, this is usefull to prevent advertising and silently block it
        # 'all' means that no one will receive sent message
        BlockType: others
        # When enabled rule will be applied to private messages
        includePrivateMessages: true
        # Players with cmi.chatfilter.inform permission will receive defined message when rule is broken
        msgToStaff: '&4!&6[playerName] &4advertising with: &r[message]'
        # List of commands to perform when rule is broken. Use [senderName] to include message sender name. Supports global variables same as locale file
        Commands: []
      swearing1:
        Enabled: true
        Group: Swearing
        InformConsole: true
        Regex:
        - *****
        - *****
        - *****
        - *****
        - ****
        - *****
        - ****
        - *****
        - ****
        - *****
        - ****
        - ********
        - ****
        - ******
        - *******
        - ******
        - ***********
        - *****
        - ******
        - *******
Сейчас буду проверять чаты. Отпишу.
 
Назад
Сверху Снизу