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
@Den_Abr
Hi :)
Sometimes I find people spamming domains without using dots ".", instead of which, they use other characters or spaces in order to avoid the filtering.
Is there any better regex method to spot those who camouflage their dns's this way?
I'm guessing any more complex regex for this purpose might block normal chatting :S
@Sitmobedaf
Воспользуйтесь встроенной командой мута или отключите информирование.
http://pastebin.com/TyYDVy4Q - это будете исправлять?
Привет, а я думал, что что-то неправильно делаю, оказывается реально были баги в плагине. Спасибо что исправили, будем тестировать дальше...
@MasterMithrandir
Anti spam function has ability to block IPs and domain names. If you dont want your site/ip get blocked, add it to whitelist
@Den_Abr
What would be the best way to block DNS's and website domains with the new ChatGuard system, but still permitting some whitelisted website urls and server DNS + IP's?
Up untill now, with the default anti spam configuration, Numeric IP's are being blocked brilliantly, but I'm an ignorant at Regular Expression, which I guess should give me some additional configuration options for stopping DNS's from spaming on chat.
@Den_Abr
I think your default config requires some more indepth explination, it's one of the most confusing configs I've ever seen. And believe me, I've seen many :P
Still, all the features that I got to work are great!
@Xtior
Use ticket system
@Den_Abr
I see, That's just what I thought xD Maybe someone can think of one.
@Den_Abr
Hi Den_Abr finally CG 7 is out... (Yeeeeeeee) But it doesn't start on my server, i see some error in console. I have already deleted all old files.
Where can i send you my consol log?
@MasterMithrandir
I forgot any reason why Reasons section can be useful. Please help me remember any one :D
@Den_Abr
The punishment system is a bit strange... Do I really have to use the "Reason system" Can't I just imput the command directly in each violation command?
It is also not clear if these commands execute when the warning limit is exceded, but I'm guessing that's how it works.
@Den_Abr Woah! 7.0 is out? :D
Testing it right now.
@Xtior
There will be full changelog after releasing here. Now its still in development.
@Den_Abr
Hi Den! Thx again for your works. Is there a changelog available to know what do you have added in this version?
Hi guys. Im working hard on ChatGuard. And today there are preview version available on my github repository! You can download and test it! The first release version I plan to upload here this sunday
@Xtior
Im still working on it:)
@Den_Abr
Awesome, thx :D
Can you say when CG 7 will be released?
@Xtior
Hi! This function is already done in CG 7! Thx
@Den_Abr Hi Den_ , i like your plugin and your work, anyway can you add something to block text like this : "hiiiiiiiiiiiiiiiiiiiiiiiiiii" in "hi" or "helloooooooo" in "hello". For me it will be very usefull. Thanks.