Support: Bukkit 1.8 and above, BungeeCord 1.20 and above
What is Cleaner Chats? It allows your server to have a cleaner chat environment, effectively preventing malicious screen swiping, verbal attacks, etc. 
How to setup? Drop the plugin jar file into the plugins folder of your server and start the server. When the plug-in is loaded for the first time, a "CleanerChats" folder will be generated under the plugins folder, with a config.yml in it. You can edit the configuration file contents as you wish until you are satisfied. Finally, don’t forget to use /cleanerchats reload to reload all configuration items!
Java & Minecraft version support: This plugin is coded based on Java 1.8 and BukkitAPI 1.13, and theoretically supports all bukkit versions (from 1.8 to 1.20). If you encounter errors when using this plugin on any Bukkit version, please contact me 
We also added support for BungeeCord in version 1.1. So if you are a BungeeCord user, please make sure you are using the latest version of BungeeCord!
Current features:
- Block messages that are too similar
- Block messages with sensitive words
- Chat cooldowns
Commands: /cleanerchats reload (OR /cc reload) - Reload configuration
Configuration:
Code (YAML):
settings:
block-similar-chats:
enabled
: true
bypass-permission
:
"cleanerchats.bypass.block-similar-chats"
# -----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=---
# Default 0.6 (60%), means blocking this message when the similarity
# between this message and the previous message exceeds 60%
# -----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=---
similarity
: 0.6
block-sensitive-words:
enabled
: true
bypass-permission
:
"cleanerchats.bypass.block-sensitive-words"
words
:
- fuck
- shit
- stupid
# -----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=---
# Available mechanisms:
# FORBIDDEN_TO_SEND - Forbidden to send this message
# BLOCK_PART - Replace parts involving sensitive words with "***"
# -----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=-----=-=-=---
mechanism
: FORBIDDEN_TO_SEND
chat-cooldown:
enabled
: true
bypass-permission
:
"cleanerchats.bypass.chat-cooldown"
cooling-time
: 3
# Unit: seconds
messages:
similar-chats
:
"&cPlease do not send the similar chat message multiple times!"
sensitive-words
:
"&cYour chat message may contain sensitive words!"
chat-cooldown
:
"&cChatting too often! Try again later."
If you have any good ideas, please leave them in the reviews!
If you encounter any problems while using the plugin, please do not leave bad reviews. Welcome to communicate with me directly!
This plugin uses bStats to collect statistical data anonymously!
Statistics:
Spigot Version
BungeeCord Version