make a plugin which will detect if someone using capital words like this HI HELLO IT WILL DETECT, and cancels the msg saying this right in the image
1 image attached
KodariSep 26 at 6:19 pm 1
AntiCapsChat
AntiCapsChat is a Minecraft plugin that monitors player chat messages for excessive use of capital letters. When a player sends a message where a significant portion of characters are uppercase, the plugin automatically cancels the message and sends a warning notification to the player, informing them that all-caps or excessive capitalization is not allowed. The plugin features configurable sensitivity thresholds, allowing server administrators to adjust the percentage of uppercase characters required to trigger the filter. It also supports permission-based exemptions, letting trusted players bypass the restriction. The plugin integrates seamlessly with the server's chat system, ensuring minimal performance impact while effectively moderating chat behavior and promoting a friendly, readable communication environment.
Add a chat listener that cancels all-caps messages and tells the sender “Easy on the caps.”
Add the plugin entry point, descriptor, and Gradle build file.
Created CapsFilter. It cancels chat messages with at least three letters and 70% or more uppercase, then sends the player a red “Easy on the caps.” warning.
every capital msg and not thee laters how many it doesnt matter it will block every single capital work if it like helLo it will also blocks it every word in world
KodariSep 26 at 6:21 pm 1
Updated the filter: any uppercase letter now cancels the entire message, even a single capital or mixed-case text like helLo. Messages with no uppercase letters are allowed.
Kodari can make mistakes. Review important code before using.