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:
•
•
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
-
View User Profile
-
Send Message
Posted Dec 18, 2016# 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
-
View User Profile
-
Send Message
Posted Mar 8, 2015/me has support but /action does not?
-
View User Profile
-
Send Message
Posted Aug 7, 2014I'd love to see a chat cooldown option set in config.
-
View User Profile
-
Send Message
Posted Jun 20, 2013@Zeroi9
No, /socialspy is only for private messaging between players, like /msg, /whipser, /mail.. etc.
-
View User Profile
-
Send Message
Posted May 29, 2013@Minecraftian_Servers
If you use essentials I think it is, you can use /socialspy :)
-
View User Profile
-
Send Message
Posted May 7, 2013@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)
-
View User Profile
-
Send Message
Posted Apr 16, 2013@Odiumxxx
You should add a configuration method to 'spy' on specicifed commands, eg:
commands: - /me - /r - /reply - /whisper - /tell ..etc.
-
View User Profile
-
Send Message
Posted Mar 29, 2013@schuttle
Will be looking to make this update soon. :)
-
View User Profile
-
Send Message
Posted Mar 18, 2013Thanks 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!
-
View User Profile
-
Send Message
Posted Mar 17, 2013@davidp5118
Certanily will
-
View User Profile
-
Send Message
Posted Mar 13, 2013This 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?
-
View User Profile
-
Send Message
Posted Feb 6, 2013This plugin is great, thanks alot for maintaining it! Cheers
-
View User Profile
-
Send Message
Posted Jan 7, 2013Hey 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!
-
View User Profile
-
Send Message
Posted Dec 23, 2012I have it set so caps turn to lowercase. But it sends the caps AND the lowercase.
I am using bChatManager for my chat plugin.
-
View User Profile
-
Send Message
Posted Dec 21, 2012I'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.
-
View User Profile
-
Send Message
Posted Dec 12, 2012@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.
-
View User Profile
-
Send Message
Posted Dec 10, 2012in 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
-
View User Profile
-
Send Message
Posted Dec 7, 2012@Mhjort
Please open a ticket and include the following details:
-
View User Profile
-
Send Message
Posted Dec 1, 2012@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
-
View User Profile
-
Send Message
Posted Nov 27, 2012@md_5
Nicely spotted, thanks again for the heads up.
Fixed in 0.6.2