Chat Guard
This plugin protects your server from flood, spam, caps and swearwords in chat, commands and signs. You can configure list of swearwords, punishments and the number of warnings after which the player will be punished.
Features
- Flood prevention
- Caps prevention
- Swearword prevention
- Advetisment prevention
- Informing admins/moders about violations
- Chat cleaning
- Global mute
- Any punishment that you can do with commands
- Player get warnings
- Removing disallowed characters
- Checking for updates (Can be disabled in the config)
- Removes spam from items
Video tutorial
Waiting for tutorial with new version. Contact me if you did :)
Commands
[] - required, () - optional
/chatguard - copyright and version
/chatguard ban [WORD] - Add new banned [WORD]
/chatguard unban [WORD] - Remove banned [WORD]
/chatguard whitelist [WORD] - Do not mark [WORD] as advertisment or swearing
/chatguard cc (ALL|Player) - Clear your (or everyone's/Player's)
/chatguard info (Player) - Show your warnings or (Player)'s
/chatguard globalmute - Toggle globalmute
/chatguard warn [Player] [Type] - Warn [Player]
/chatguard mute [Player] ([Time] (Reason)) - mute player(time format - 1s, 1m, 1h, 1d, default - seconds)
/chatguard unmute [Player] - unmute player
/chatguard clear (Type) (Player) - Clear some warnings
/chatguard help - Show help page
/chatguard reload - Reload plugin configurations
Permissions
Permission | Description |
---|---|
chatguard.* | Full Access! |
chatguard.banword | add new swearwords |
chatguard.unbanword | and remove swearwords |
chatguard.warn | access to /cg warn command |
chatguard.mute | ability to mute players |
chatguard.unmute | and unmute players |
chatguard.whitelist | access to /cg whitelist command |
chatguard.clearwarnings | access to /cg clear command |
chatguard.info | access to /cg list command |
chatguard.info.others | watch information about other players |
chatguard.inform.[flood,spam,swear,caps] | for receiving alerts about violations |
chatguard.clearchat | access to /cg cc commad |
chatguard.clearchat.all | ability to clear chats of all players |
chatguard.clearchat.others | access to cleaning another's chat |
chatguard.globalmute | access to /cg globalmute command |
chatguard.reload | access to /cg reload command |
chatguard.ignore.* | ignore all protections |
chatguard.ignore.[flood,spam,swear,caps,characters] | ignore [flood,spam,swear,caps] protection |
chatguard.ignore.globalmute | ignore global mute |
chatguard.ignore.cooldown | ignore cooldown |
chatguard.ignore.cc | ignore /cg cc ALL |
Metrics and Updater
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version and core
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- The server's location
- Enabled filters
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true. Also plugin checks for updates, that you can change by editing plugins/ChatGuard/config.yml
@windoffreedom
На рб
Когда можно ждать обновления на 1.9?
Please update to 1.9)
<3 this plugin
@MasterMithrandir
Good idea :)
@Den_Abr
Suggestion: Could you add word substitution? :P it should prove to be quite fun.
http://pastebin.com/ydPeRH8B
@Den_Abr
А как тогда Донатам выдавать возможность мутить? Лучше сделайте просто возможность подключения к MySQL.
Спасибо за отличный плагин! Есть вопрос: делаю UA-проект и с вашим плагином вышла трудность - UA-символы не выводятся в чат. Вставил в allowedsymbols.txt следующее: ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ¯²ÜªÞßàáâãäåæçèéêëìíîïðñòóôõö÷øù¿³üºþÿБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЇІЬЄЮЯабвгдежзийклмнопрстуфхцчшщїіьєюя !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_¸abcdefghijklmnopqrstuvwxyz{|}§АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЫЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя
Символы стали отображаться в чате, НО пропал пробел... Помогите, пожалуйста!!!
@Sitmobedaf
Возможно я займусь отдельной версией для BungeeCord.
Плохие слова, заткнутых игроков и WhiteList (который у меня не работает). Это было бы очень полезно. Особенно на BungeeCord сервере. Я уже задолбался с рекламщиками, в последнее время как клещи... На каждом режиме прописывать /cg ban и /cg mute - долго и неэффективно.
@Sitmobedaf
И что там хранить?
Добавьте поддержку MySQL. Для ByngeeCord сервера необходимо
@Den_Abr
Den_Abr, I left you two tickets, happy new year :)
Есть хорошая идея для антирекламы - запретить использовать с целом слове быквы с разных раскладок. А то задоблали рекламироваться, берут в доменных именах меняют a (Английскую), на a (Русскую) и т.д. Так же, учитывать "-" и "." для целого слова.
@aviswing
Check your permissions plugin. ChatGuard permissions works correct(right variant chatguard.ignore.caps)
@MasterMithrandir
You can suggest an idea :)
Happy New Year!
Need... more control... over the chat D:<
Hi Avi here,
I think the permissions on this plugin are broken, I have given myself the Caps bypass and I keep getting the spam bypass problem: (I have tried these 4 perms)
- chatguard.ignore.caps - chatguard.ignore.[caps] - chatguard.ignore.flood - chatguard.ignore.[flood]
Not urgent, but would be handy if you could get back to me.
Cheers, Avi.
@Den_Abr
Ok :)
@MasterMithrandir
Sorry but I'm not so good in regex :( If you find better variant please share with us :)