CapsBlock
Description:
I've been looking for and have found a number of plugins which aim to block the excessive use of caps that often comes with younger players, however having had no luck getting any of them to work, I wrote my own. CapsBlock filters messages which contain excessive caps usage, currently 'excessive' is defined in the config, default is anything above 50% Caps. The message can then either be blocked, replaced, or converted to lowercase. Alternatively, a user can be kicked for attempting to send a message which contains a percentage of caps greater than what is allowed.
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
ReplaceWithLowerCase - Replace all the caps in the message with lowercase and display it as normal
NotifyOnReplaceWithLowerCase - Notify the user their message has been amended?
ReplaceWithLowerCaseMessage - Define the notification to send the user ReplaceText - Replace the message text with your own text
NotifyOnReplaceText - Notify the user why their message has been replaced?
ReplaceTextMessage - Define the notification to send the user
NewText - Define the text to replace the user's message with CancelText - Cancel a message with excessive caps
NotifyOnCancelText - Notify the user their message has been cancelled? KickOnCaps - Kick a user who sends a message with excessive caps
KickMessage - Define the kick message PercentCaps - Define what percent of caps in a message is considered 'excessive'
MinMsgLength - Define the minimum length of a message to be filtered
Commands:
• /CapsBlock - Display CapsBlock Menu
• /CapsBlock reload - Reload the config
Permissions:
• capsblock.ignore - Users with this permission will not have their messages filtered.
• capsblock.reload - Users with this permission will be able to reload the CapsBlock config
Youtube Review by Ultibyte To Do:
•Add option to define the minimum length for a filtered message (Currently messages under 2 chars are not filtered) Done in 0.6
•Cater for punctuation by not counting it toward the total message length Done in 0.3
Thankyou for your support! :D Change-Log:
I've been looking for and have found a number of plugins which aim to block the excessive use of caps that often comes with younger players, however having had no luck getting any of them to work, I wrote my own. CapsBlock filters messages which contain excessive caps usage, currently 'excessive' is defined in the config, default is anything above 50% Caps. The message can then either be blocked, replaced, or converted to lowercase. Alternatively, a user can be kicked for attempting to send a message which contains a percentage of caps greater than what is allowed.
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
ReplaceWithLowerCase - Replace all the caps in the message with lowercase and display it as normal
NotifyOnReplaceWithLowerCase - Notify the user their message has been amended?
ReplaceWithLowerCaseMessage - Define the notification to send the user ReplaceText - Replace the message text with your own text
NotifyOnReplaceText - Notify the user why their message has been replaced?
ReplaceTextMessage - Define the notification to send the user
NewText - Define the text to replace the user's message with CancelText - Cancel a message with excessive caps
NotifyOnCancelText - Notify the user their message has been cancelled? KickOnCaps - Kick a user who sends a message with excessive caps
KickMessage - Define the kick message PercentCaps - Define what percent of caps in a message is considered 'excessive'
MinMsgLength - Define the minimum length of a message to be filtered
Commands:
• /CapsBlock - Display CapsBlock Menu
• /CapsBlock reload - Reload the config
Permissions:
• capsblock.ignore - Users with this permission will not have their messages filtered.
• capsblock.reload - Users with this permission will be able to reload the CapsBlock config
Youtube Review by Ultibyte To Do:
•
•
Thankyou for your support! :D Change-Log:
0.6.4
- Added /me command to capsblock monitoring (Compatible with mChat)
0.6.3
- Minor Bugfix: Updated Command alias
- Minor Bugfix: Removed some debug text from menu
0.6.2
- Kicking user changed to execute in main server thread (Updated for Thread Safety)
0.6.1
- Updated for 1.3
0.6
- Added MinMsgLength configuration option.
0.5
- Fixed the menu /capsblock
- Minor bugfix / code cleanup
0.4
- Fixed the menu
- Mild improvements to the way punctuation is handled
@CombatWiZ
Only in 0.2 and earlier, which means you're using an outdated version.
As of 0.3 punctuation isn't counted towards the total message length. See the ChangeLog
The caps filter can be bypassed if you place periods before the caps...
For example:
.... CAPSLOCK
@Odiumxxx
Great plugin!
Just a suggestion, don't rename the jar every new version! Just keep it as CapsBlock.jar or whatever... it's boring have to delete the old one instead of replacing it :P.
Very good plugin. Now just add VERY simple spam blocker, other plugins have complicated. with permission support, and I love you forever!
Thanks for great plugin ::)
@rtcabooservb
https://github.com/OdiumxXx/CapsBlock/downloads
:)
:o Could you upload a temp link for 0.2 since bukkit dev takes awhile to verify?
Very nice plug in! In later versions, you should add the option to kick them from the server when the message has more than 50% caps.
Will this have a feature that instead of blocking the message it allows it but also makes all caps to lowercase and then broadcasts to the player saying no caps?
Looks good. I'll test it soon. ;)
Nice! Suggestion: add kicks and bans if they do it x number of times.
Great plugin. I'll plan on using it :)