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 ;)
@Crazyaust
If you go to the github page you can remove the check for the same message repeated twice. Or can wait for me to get around to re-doing this plugin. Since my recent state of getting back into Minecraft I plan to be updating my plugins again.
I have no problems for the plugin but what do u type to make it so where one of the messages don't show up no more I want to get rid of the repeating message, what do I type? or delete
Plugin still fine working fine for me on 1.7.5 not giving me any errors.
Just letting everyone know ChatHelp is now released and ready for download http://dev.bukkit.org/bukkit-plugins/chathelp/
This plugin seems to be dead, I've created a plugin called ChatHelp that consists of several features such as:
I'm planning to add more features in future! http://dev.bukkit.org/bukkit-plugins/chathelp/
@littleshot999
I can confirm that this does not need to be updated. It works fine. Until Mojang updates the chat somehow, it shouldn't break.
What I want to see is a way to clear warnings.
This is a Amazing Plugin is this ever going to be updated to 1.7.9 or if someone already picked up on this development can I get a link?
Are this thing use on AEM Network server?
@Cakelord0815
Hello Cakelord0815, I have not had time to do any work, on any of my plugins. Unfortunately I am a full time University student, and need to make money to stay a float. I will try to set some time aside this weekend, but I don't see having any time. This is the reason I set the project to inactive.
I do plan to bring it back, but if I do I am going to re-write the entire plugin to better integrate features like regex, and other features people have requested that I really want to add. There are some other perfectly well working plugins besides NCP that do pretty much the exact same thing as my plugin though.
Again I am completely sorry for your inconvenience, but I will try my best to test it this weekend and try to replicate your issues, and push out a patch if I can easily address the issue.
@andrewkuo313
you obviously know english whats the problem here?
Updated recently to the newest craftbukkit build which I guess broke the plugin. Since the update if you type a command like for an example /home for the first time with nothing before being every typed you get instant a warning for spaming commands even if you have not. Players can not use a single command because of this. Disabling Anti-Command spam even does not disable it. I barely managed to get a temporary solution which atleast blocks chat spam with NCP, but I if the plugin really broke with the new craftbukkit builds I really would like an update. This is the best chat protection plugin I every used and I do not want to stop using it.
Hello,Could I translate your ChatProtection+ to Chinese ? This is a very good plugin.
Could you add an antiswear please that would make me have this plugin over PwnFilter since there is some problems with that plugin.
@00petar00
odd, its working fine for us over at CM. I am changing the entire way the configuration file is handled in the new update. Hopefully it will fix your issue.
I really like the features and all, but my config file isn't loading, i tried reloading server even restarting. It doesn't load config i saved, it uses the default one, i don't know how or why.
Does This Stop People From Spamming IP's? If Not I Would Suggest That As Another Feature.
@burntapples
I have been really busy in my day to day life. I have to make money, this is a side hobby in which no one contributes but hey I am still here because I like to program in my spare time.
As of now, the plugin still works with 1.6.x, and see no reason why it will be breaking any time soon. I have been doing a entire re-write to the plugin, adding a massive load of features to better make it the swiss army knife of chat protection plugins versatile to all servers. one of the features is a Regex chat filter which will by default have a regex expression to block domain names ipv4 addresses. Regex is very powerful and can be used to do many things people have been suggesting. I had it semi working, but I am extremely OCD about my code, and did not like how I had it organized. So I have torn it into pieces, and in the works of version 1.2.0
Id like to offer a suggestion. I think IP blocking (domain names/ipv4/ipv6) would make this the ultimate chat plugin. I cant find any good updated ones with all of those features.
@saxons12
I have been busy with some other life related stuff, but I have been working on a regex filter system for the plugin.
As of now the plugin just uses the default bukkit banning system, I am planning to implement more options to make it more versatile for servers.
Great plugin! But instead of ban tempban should be added.
Also kicking the players is a bad idea. This way they can escape PvP. Instead they should be muted for 10minutes. And I wan't to allow each player to send a message every 5 seconds. But I don't want to punish them when they send a message earlier. Only disabling that message would suffice.
Also does this work with Essentials Chat?
Would you be able to implant these? Thanks