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
# CapsBlock
# Set the percent of caps in a message which defines it as excessive, the default is 50%
# Choose a response for when an excessive CAPS message is caught, options are...
#
# ReplaceWithLowerCase - Replace all the caps in the message with lowercase and display it as normal
# ReplaceText - Replace the message text with your own text
# CancelText - Cancel a message with excessive caps
# KickOnCaps - Kick a user who sends a message with excessive caps
#
# Once you've chosen and set the option to 'true' you can decide whether or not to notify the user
# of the action taken, and define your own notification message.
MinMsgLength: 3
CapsPercent: 50
ReplaceWithLowerCase: true
NotifyOnReplaceWithLowerCase: true
ReplaceWithLowerCaseMessage: Your message contained an excessive use of CAPS and has been amended
ReplaceText: false
NotifyOnReplaceText: true
ReplaceTextMessage: Your message contained an excessive use of CAPS and has been replaced
NewText: I've Used Too many Caps!
CancelText: true
NotifyOnCancelText: true
CancelTextMessage: Your message contained an excessive use of CAPS and has been cancelled
KickOnCaps: false
KickMessage: You have been removed for excessive CAPS use
---------------------------------------------------------------------------------------------------------------
it still kick's players when they use excessive caps
/me has support but /action does not?
I'd love to see a chat cooldown option set in config.
@Zeroi9
No, /socialspy is only for private messaging between players, like /msg, /whipser, /mail.. etc.
@Minecraftian_Servers
If you use essentials I think it is, you can use /socialspy :)
@Odiumxxx
Yeah, I was going to point that out xD Amazing plugin though, works great :)
(A little note; your siggy is broken. You forgot an 'a' in the link location)
@Odiumxxx
You should add a configuration method to 'spy' on specicifed commands, eg:
commands: - /me - /r - /reply - /whisper - /tell ..etc.
@schuttle
Will be looking to make this update soon. :)
Thanks for the great plugin, it has really helped keeping chat a bit cleaner.
But, my members go around capsblock with /me.
If I'm not mistaken, CapsBlock doesn't currently have this feature. My request is to add support to track /me as well.
Thanks again!
@davidp5118
Certanily will
This is such an awesome plugin, and i recommend it to anyone who owns a server, its vital!
Will the current version work with 1.5?
This plugin is great, thanks alot for maintaining it! Cheers
Hey man i'm glad to find this plugin, hopefully this is the right plugin for me! I'll give feedback once I use it :) Thanks!
EDIT: Hey, I just tested it out and it works like a charm :) Thank you! Keep this up because I couldn't find any better plugin for keeping caps off! Thanks again!
I have it set so caps turn to lowercase. But it sends the caps AND the lowercase.
I am using bChatManager for my chat plugin.
I've been using capsblock for a long time, but I'm sad to say that I have to remove it now that I've started using herochat, too.
@BoomerBR
CapsBlock doesn't support herochat.
Though now you've brought it to my attention, I might see what I can do about supporting it in the future.
in herochat, if i say:
/g HELLO ALL
The message will not converted to lowercase.
I've setup the plugin to only convert messages to lowercase
@Mhjort
Please open a ticket and include the following details:
@Odiumxxx
Hi,
I still get it in 0.6.2 2012-12-01 21:04:44 [SEVERE] Could not pass event AsyncPlayerChatEvent to CapsBlock v0.6.2 org.bukkit.event.EventException
@md_5
Nicely spotted, thanks again for the heads up.
Fixed in 0.6.2