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
thanks
@Matt19901
Disable CheckUpdates in config. Now my site not works
I updated yesterday i stopped my server to back it up and it wont start up because it freezes with the msg [ChatGuard] Looking for updates and it is the first time it happened, i removed the plugin and it loaded up perfectly
@Den_Abr
Yay, testing (;
Thanks!
@rfsantos1996
New version with this feature is coming soon
@Den_Abr
Can we change the command list that should work like normal chat spam?
@QuAd205
It will be added in new version
Possible support for /msg spamming?
@TanveerGT5
I have not checked it, but should work
Does this work with HeroChat?
@killermanaa2
List of swearwords it a regular expressions. Ffffffuuuucccckkk should be blocked if added to swearlist expression f+u+c+k. If bad word shows in chat, change compability settings
Oh and a bug, When there is a blocked word, and they say it, It still shows the word in chat but gives them a warning, So try to fix that XD
Just a idea can you add that if you block a word, it blocks most words close to it, because if you block "Fuck" People will say "Fuuck" And then you have to keep blocking each word, any way to block all those little aliases
@TheR3ktor
Add word with command
@Den_Abr
Проблема видимо была в ру фикс.
All people on my server can say fuck and I already addet that word?
@mcraftus
Вполне пригодилось бы
<<reply 1405906 Если что, могу сикнуть лог где эта ошибка выходит, после которой конфиг становится сломанным. Ну и сам - остатки конфига тоже.
@mcraftus
С последней версии CPfix полностью вытесняет руфикс.
Как только восстановлю работу своих серверов, проверю на них.
Привет. Столкнулся с такой проблемой. Стоит спижот 1.5.1, твой плагин, ру-фикс, CPfix (тоже для русского). Если писать в игре команду cg add слово - то все нормально. Если команду задать с консоли, то конфиг крашится, обнуляется до 1-2 строк. Я так понимаю проблемы с кодировкой. Только не могу понять в каком месте проблема.