ChatProtection+
Updates
So I have recently gotten back into Minecraft and plan on re-doing this entire plugin to better allow integration for servers and other plugins, but I will start once this who DMCA is resolved and bukkit is being once actively updated again.
Current Available Version: 1.0.1
Version(s) Awaiting BukkitDev Approval: N/A
About the plugin
ChatProtection+ was created by me for another server, that was looking for a way to prevent spam bots from spamming their chat, and commands. ChatProtection+ eventually evolved from a simple anti-spam plugin to a more versatile plugin that allows server administrators the amount of capital letters a user is allowed to use in their messages. ChatProtection+ is still a growing plugin, and is open to suggestions!
Features
- Anti-Spam
- AntiCommand-Spam
- Limit Caps
- Ban Spammers
- Clear/Lock your chat
- Configurable from a simple configuration file! - Configuration File
- Message file to change messages to what you want! - Messages File
- Open Source! - Github Page
How to Use
All you have to do is download the plugin from the "download" button to the right, and place it in you plugins folder. If you want to use permissions, and you do not already have Vault, then you will have to go download Vault and install it as well. The Configuration file will be created when the plugin first starts.
Permission Nodes
Permission Node | Description | |
---|---|---|
1 | cpp.admin | Access to /CPP command |
2 | cpp.admin.* | Access to /CPP command, and all sub-commands |
3 | cpp.admin.reload | Access to /CPP RELOAD sub-command |
4 | cpp.admin.chat | Access to /CPP CHAT sub-command |
5 | cpp.ignore.* | Will make ChatProtection+ ignore the user on all flags |
6 | cpp.ignore.chat.lock | Will let the user bypass the chat lock |
7 | cpp.ignore.chat.spam | Will let the user bypass the anti-spam feature |
8 | cpp.ignore.anticaps | Will let the user bypass the maximum capital letters feature |
9 | cpp.ignore.command.spam | Will let the user bypass the command-spam feature |
Commands
Command | Description | |
---|---|---|
1 | /cpp | Main command |
2 | /cpp reload | Will reload messages, and configuration file |
3 | /cpp chat lock | Will lock the chat |
4 | /cpp chat clear | Will clear the chat |
Questions and Answers
Q: How does the Anti-Spam exactly work?
A: The Anti-Spam works in two ways. It prevents users/bots from repeating the same message over, and over, and over, but also compares the time of the previous message. If the message delay is too fast and falls within the red zone, the plugin will issue a infraction, and after a set amount of infractions it will either Kick or IP-Ban the spammer.
Q: Are admins notified of spammers when they spam?
A: Yes, if a spammer triggers the Anti-Spam, or AntiCommand-Spam; it will notify all administrators currently online.
Q: Is there permissions support?
A: Yes, there are 2 permission nodes currently. "cpp.admin", and "cpp.ignore"
Q: Is my {name} permissions plugin supported?!
A: This plugin uses Vault. It will support any permissions plugin that Vault does.
Q: I don't want to use Vault!
A: Alright, it is only set as a soft dependency. They plugin will still work without it, rather then use permissions it will resort to if the use is OP, or not.
Q: I WANT THIS FEATURE ADDED!!!!
A: Alright, alright. Calm down now. Please post a suggestion/feature you would like added, and if I feel it will benefit the plugin, and community as a whole I will add it.
German Tutorial Video
I would like to thank CraftTheParadise for this video.
Support the Author
I am just like everyone of you, I have to work, and make money, so that I can work on my projects. If you want to help buy me a meal, or me with a generous donation, it is graciously appreciated. I will update this plugin as much as I have time for, and get it ready for the new Bukkit releases. I will add new features when ever I have time, but money is always a great motivator to get me to work faster ;)
@TheNicklander
I am actually working on a Regex filter, which you can add your own regex to. You can solve this issue using regex, so you will be able to do this in the next major release.
Hello,
Can you add, a sort of "massive character blocker". If you write something like this : "Hello??????!!!!!!!!!!!" or like this : "Teeeeessssssttttttttt" it will be blocked. More than 3-4 same characters in succession are blocked. This will be nice !
@RenMiuChan First off, let me apologize for the late response. I have been quite busy with school. Are you sure? We run this on a linux distro on http://craftedminers.com As do many other users
http://mcstats.org/plugin/ChatProtectionPlus
This plugin doesn't work for linux ?
i already tried .. but doesn't work for linux ..
i need this plugin ..
i tried on my windows xp / 7 computer .. is work
but why doesn't work on my vps linux? :( please help
@Bf3Chilled
Just tested it, it still works on 1.5.2 No need to push a update.
great plugin! i'll use it! thank you, keep it up, please. can you update to 1.5.2?
@metalman488
offline-mode: false
@metalman488
You could set an AFK kicker that kicks someone if they don't do anything for x-amount of time. Another solution could be to not allow more than one person on your server from a IP (Could cause issues with 2 or more family members trying to play on your server, but could be mediated with a permission node)
Is your server cracked?
On my server the spambots don't move, talk, or do commands. They join by the dozens. Is there any thing you or someone else can do to stop them? besides whitelisting, limiting how fast they can join, and blocking proxies. Maybe something that detects random names like jdhkfhskdj? that is what their names look like.
@nejcneo
Between school and some other stuff going on, I kinda put this on the back burner, but now that everything is starting to catch up to were I like, I am planning on working on this heavily again.
Track my progress to the next update, the project in eclipse is now linked to my github page. https://github.com/Bill1993/ChatProtectionPlus
Woow! Best for now. Can you add here IP/links spam.
Very very glad to hear that. Seeing as Bukkit or Minecraft its self doesnt give us very much security. Some people actually care about respect and giving what should be given.. not taken or ruined.
@cris12821 What you want is PwnFilter. You can use some simple RegEx to block out all ip's/domain names. Bill is currently very busy with some other things. I'm sure this feature will be added soon.
@Absolutionmc
Yes there are plans to add this in. :)
Another amazing idea, is allow it to block ips.. websites that are not your own servers.
Sure, exactly what i'm using.. Just wanted to know if there are plans to add the feature in the future.
@Absolutionmc
For now you might want to use PwnFilter along side this plugin, and set some regexes.
Hey I have a suggestion. Just talked with Sway over IRC. It would be awesome if you added an anti ad feature into the plugin. Everytime someone posts an url or ip the server would ping the ip/url to check if there's a mc server running. If there is then ban/kick the player. Could also add a whitelist of ips/urls that are safe to use to prevent someone being banned for posting their own server's ip
Something like this: http://dev.bukkit.org/server-mods/antiadvertising/
Thanks
Nice plugin :D
@PCM_Tazmaik
I plan to add a way to edit the messages within the plugin. I am looking into the best way to do this. I will not add something that is inefficient.
@PCM_Tazmaik
That is going to be added soon.