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
error log: http://pastebin.com/xFHQ39cs
@lst96
Remove patterns section
@Den_Abr
ChatGuard 6.0
ProtocolLib 3.1.2
@piritacraft
Nope. It checks word by word
swearing can have spaces? Exmple: |fuck you| ?
Hey, I got ProtocolLab and it's working, but now when a say an added swear word, it does nothing!!! How come??? plz help!!!
- AGENT000037
When I start it says "ProtocolLib not found! Disabling..." How can I Fix this
Pleas report as soon as possible!!!
Thx, - AGENT
@cbprog
I think this issue has something to do with what aadnk said about ProtocolLib 1.7.2 packhandling as I tested this with 1.6.4 and had no problems.
@VitalGrigoryev
Как понимать коренные замены? В мат файле есть пример, как их добавлять
Как правильно заполнять swearlist.txt? Есть ли коренные замены?
@CedZO Enclose the message in quotes
caps: '&cStop capsing!'
@Den_Abr
Not working? caps: &cStop capsing!
After a reload the color code is gone?
@CedZO
Messages supports colors. It using normal colorcode &
Pleas can you add color support? the normal colorcodes? '&'
@VitalGrigoryev
Основная команда - /chatguard
Конфликтует по командам с CreativeGates! Добавьте префикс какой-нибудь пожалуйста!
@Coolboy12327
Of course. ProtocolLib isn't out for 1.7
This plugin isnt working for 1.7.2
@RealIncorrect
Проблема известная. Исправлю, как появится время.