Войти или зарегистрироваться
  • Вы находитесь в сообществе Rubukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на различные языки плагины наших коллег из других стран.

Плагин [ADMIN/SEC/CHAT] ChatGuard 7.6.2 - анти-мат, анти-флуд, анти-капс и анти-реклама [1.5.2-∞]

Такой вопрос, при выдаче мута чере команду /chatguard mute заблокируется написание в ЛС?
 
хей, хелпаните тут.
как настроить cfg так, чтобы при спаме, флуде и рекламе не кикало, а давало мут?
 
Обнаружился дюп, связанный с этим плагином. Если у вас на сервере стоит ChatGuard, советую выключить настройку check items в конфиге, это исправит дюп:
Код:
Other settings:
    check items: false
В целях безопасности инструкцию по воспроизведению дюпа я отправил только в лс Den_Abr.
 
У меня предложение: Автоматически считать, что все ники игроков на сервере добавлены в список исключений. Многие игроки создают ники с капсом, да и часто атимат срабатывает на них. Например на ники:
huligun (huli)
godlikeboy (ebo)
cheburek (ebu)
и т.п. В результате этому игроку никто не может писать =)
 
У меня предложение: Автоматически считать, что все ники игроков на сервере добавлены в список исключений. Многие игроки создают ники с капсом, да и часто атимат срабатывает на них. Например на ники:
huligun (huli)
godlikeboy (ebo)
cheburek (ebu)
и т.п. В результате этому игроку никто не может писать =)
На инглишь лучше не составлять мат фильтр вообще.
 
В последней версии 7.5.2 если в вайтлисте есть ники на инглише, то все равно такие ники считаются за мат. Пришлось снова откатиться на 7.3.3. Просьба исправить это.
 
В последней версии 7.5.2 если в вайтлисте есть ники на инглише, то все равно такие ники считаются за мат. Пришлось снова откатиться на 7.3.3. Просьба исправить это.

Не могу подтвердить. У меня много ников в whitelist и они за мат не считаются.
 
Ребят, как быть с сообщениями вроде ***UNKNOWN MESSAGE wait cooldown/swearing/caps/spam***?
oeTJDdU1rNU.jpg
Очевидно, что они выписываются после написания флуда/мата/спама/капса
Можно ли их как-то убрать или хотя бы перевести?
Вот скрины с config'a и locale'a

P.S. Кстати, так же имеется проблема, написанная чуть выше.
Должен выписываться мут, но он не выдается.
321321.png
321321321.png
 
MarshalSadness,
1. файл locale.yml сохрани в формате UTF8+BOM
2. скинь полностью конфиг
Извиняюсь за задержку.
Сохранение locale'a в формате UTF8 не помогло, в UTF8 без BOM тоже.
Вот конфиг:

Код:
# ---------------------- ChatGuard 7.0 default configuration file --------------------- #
# Dont worry if you have just updated plugin. Old configuration saved as old_config.yml #
#        Please read comments and dont ask silly questions about configuration          #
#   Dont use Notepad++ default tabulation. Enable 'Replace by space' in Tab Settings    #
# ------------------------------------------------------------------------------------- #

# dont touch this
Version: 5

Check for updates: true

# NOTICE: Enabling Hard Mode enables message cancelling automatically
# experimental function
Hard mode: false

# Max warnings and custom replacement work only if Separated warnings are enabled
swear settings:
    enabled: true
    inform admins: true
    max warnings: 5
    # supports color codes
    custom replacement: '&4<&c&lЦЕНЗУРА&4>'
caps settings:
    enabled: true
    inform admins: true
    max warnings: 5
    max caps percent: 60
    # dont check if message smaller than your value(ex. for escaping smiles)
    min message lenght: 3
flood settings:
    # flood messages will be cancelled in any way
    enabled: true
    inform admins: true
    max warnings: 5
    # in seconds
    flood time: 10
    # set to 0 to disable function
    message cooldown: 3
    # 1 value means that the last player's message will be checked for flood only(2 - with penultimate, etc.)
    flood levels: 1
spam settings:
    enabled: true
    inform admins: true
    max warnings: 5
    custom replacement: '&4<&c&lСПАМ&4>'
    # set how many numbers can players send in one message, 0 - disable
    max numbers: 3
Messages:
    # bad words and spam will be replaced with appropriate replacement if disabled
    cancel if violation: true
    # works only if separated warnings are enabled
    replacement: '&4<&c&lЦЕНЗУРА&4>'
    enable character whitelist: true
Warnings settings:
    enabled: true
    separate: false
    # works only if separate is false
    max count: 5
Punishment settings:
    # execute commands from commands section if player gains max warning count
    enabled: true
    # max mute time for native /cg mute command(set to 0 for unlimited). Time format - 1s, 1m, 1h, 1d
    max mute time: 1h
    # you can add any reason with any name how many as you want(but for what?)
    reasons:
        1: '&l{Player} &cполучил мут на 10 минут за нарушение правил чата!'
        second: '{Player} banned for capsing'
        another: '{Player} killed for spamming'
        flooder: 'Our chat was flooded because of {Player}'
        silent: '-s'
        mute-time: '10m'
    commands:
        custom: false
        # common commands will be executed if custom is false, you can use any reason described in reasons section
        # just use {Reason_(name)} tag
        common commands:
            - mute {Player} 10 m
            - broadcast {Reason_1}
        swear commands:
            - mute {Player} 10 m
            - broadcast {Reason_1}
        caps commands:
            - mute {Player} 10 m
            - broadcast {Reason_1}
        flood commands:
            - mute {Player} 10 m
            - broadcast {Reason_1}
        spam commands:
            - mute {Player} 10 m
            - broadcast {Reason_1}
# replace first element with second element in messages
Substitutions:
- 'green|red'
Other settings:
    check signs: false
    check items: false
    # check player's command for swearing, capsing and flooding
    # to disable this set value to []. Number after colon means how many arguements in command we should skip
    check commands: ['/me:0', '/msg:1', '/tell:1', '/w:1', '/r:0']
    # may be useful if you find a bug and want report it to developer
    debug level: 0
    # if traditional messages listening system doesnt work(or smth else) plugin can listen packets
    use packets: false
    # works only if packet listening is disabled
    # available priorities HIGHEST, HIGH, NORMAL, LOW, LOWEST, MONITOR(not recommended to use)
    event priority: HIGHEST
 

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

Назад
Верх