NEW PLUGIN: DARIKCHATMANAGER - CHAT MODERATION WITH AI (click here)
/ClearChat (or /CC) command

/CC a command

Chat Disabled/Enabled
Overview
ClearChat is a lightweight yet powerful plugin that gives you complete control over your server's chat. Whether you need to clear chat, mute it, or block specific commands, ClearChat has you covered!
Key Features
Chat Management
- Clear global chat (with staff attribution or anonymously)
- Enable/disable global chat
- Personal chat clearing
- Anonymous moderation options
- Delay between messages
Command Control
- Block sensitive commands (/plugins, /version, etc.)
- Fully configurable blocked commands list
- Permission-based bypass system
Administration
- Easy configuration reload
- Built-in update checker
- bStats integration
- Customizable messages
Commands & Permissions
=====================
Main Commands
------------
/clearchat (/cc)
➜ Permission: cc.global
➜ Description: Clears the global chat showing who cleared it
/clearchat anon (/cc a)
➜ Permission: cc.global.anon
➜ Description: Clears the global chat anonymously
/clearchat me (/cc me)
➜ Permission: cc.private.me
➜ Description: Clears only your chat
/clearchat reload (/cc r)
➜ Permission: cc.admin.reload
➜ Description: Reloads the plugin configuration
Chat Control Commands
-------------------
/cc mute (/cc m)
➜ Permission: cc.admin.amutechat
➜ Description: Enables/Disables global chat with staff name
Additional Permissions
--------------------
cc.admin.bypass.mute
➜ Allows players to chat when chat is disabled
cc.admin.bypass.slowchat
➜ Allows players to bypass slowchat
cc.admin.updates
➜ Receives plugin update notifications on join
cc.admin.bypass.commands
➜ Allows usage of blocked commands
Legacy Permissions (Still Working)
Legacy Permissions
cc.bypass.mute
➜ Allows players to chat when chat is disabled
cc.admin.updated
➜ Receives plugin update notifications on join
cc.plugins.bypass
➜ Allows usage of blocked commands
Default Blocked Commands (configurable on config.yml)
- pl
- plugins
- version
- ver
- about
- minecraft:pl
- minecraft:plugins
- minecraft:version
- ver
- minecraft:about
- minecraft:help
- help
- icanhasbukkit
- bukkit
- ?
- me
- minecraft:me
- bukkit:?
- bukkit:help
- bukkit:about
- bukkit:version
- bukkit:ver
- bukkit:plugins
- bukkit:plConfiguration
- Fully customizable messages
- Configurable plugin prefix
- Customizable blocked commands list
- Easy-to-read YAML format
Installation
1. Download ClearChat
2. Place it in your plugins folder
3. Restart your server
4. Configure in `plugins/ClearChat/config.yml`
Updates
- Regular updates with new features
- Built-in update checker
- Automatic update notifications for staff
Statistics
Track plugin usage with built-in bStats integration
Support
Need help? Found a bug? Have a suggestion?
- Contact me on discord (dariksays)
- Rate the plugin if you find it useful!
config.yml
# _____ _ _____ _ _
# / ____| | / ____| | | |
# | | | | ___ __ _ _ __| | | |__ __ _| |_
# | | | |/ _ \/ _` | '__| | | '_ \ / _` | __|
# | |____| | __/ (_| | | | |____| | | | (_| | |_
# \_____|_|\___|\__,_|_| \_____|_| |_|\__,_|\__|
# | | | | (_) |
# | |__ _ _ __| | __ _ _ __ _| | _____ __ _ _ _ ___
# | '_ \| | | | / _` |/ _` | '__| | |/ / __|/ _` | | | / __|
# | |_) | |_| | | (_| | (_| | | | | <\__ \ (_| | |_| \__ \
# |_.__/ \__, | \__,_|\__,_|_| |_|_|\_\___/\__,_|\__, |___/
# __/ | __/ |
# |___/ |___/
# -------------------------------------------
# GENERAL CONFIGURATION
# -------------------------------------------
# The prefix that appears before all plugin messages.
Prefix: '&c&l[&eClearChat&c&l]'
# -------------------------------------------
# CHAT CLEAR MESSAGES
# -------------------------------------------
# Message shown when a staff member clears the chat globally using /clearchat.
# %player% = name of the staff member who cleared the chat.
ClearChatGlobalMessage: '&cThe chat was cleared by &e%player%'
# Message shown when chat is cleared anonymously using /cc a.
ClearAnonChatGlobalMessage: '&cThe chat was cleared by &ea staff member'
# Message shown when a player clears their own chat using /cc me.
ClearMyChatMessage: '&cYour chat was cleared'
# -------------------------------------------
# ADMIN COMMANDS & NOTIFICATIONS
# -------------------------------------------
# Message shown when the configuration is reloaded using /cc r.
CCReloadConfig: '&cReloaded config!'
# Message shown to players who try to send messages while chat is muted.
YouCantTalk: '&cSorry! The chat is disabled'
# -------------------------------------------
# MUTE CHAT MESSAGES
# -------------------------------------------
# Message displayed to all when a staff member mutes the chat anonymously.
MuteAnonEnableMessage: '&eA staff member &chas disabled the chat'
# Message displayed to all when a staff member unmutes the chat anonymously.
MuteAnonDisableMessage: '&eA staff member &chas enabled the chat'
# Confirmation message sent to the staff member when they mute the chat.
AdminMuteMessage: '&cYou have disabled the chat correctly'
# Confirmation message sent to the staff member when they unmute the chat.
AdminUnMuteMessage: '&cYou have enabled the chat correctly'
# -------------------------------------------
# UPDATE NOTIFICATIONS
# -------------------------------------------
# Message sent to staff with update permissions when an update is available.
JoinPluginUpdate: '&cThe plugin has an update! Please download it at'
# -------------------------------------------
# COMMAND BLOCKING
# -------------------------------------------
# Message shown when a player attempts to use a blocked command.
BlockedCommands: '&cSorry! You do not have permissions to do this.'
# List of commands that are blocked by the plugin.
blocked-commands:
- "pl"
- "plugins"
- "version"
- "ver"
- "about"
- "minecraft:pl"
- "minecraft:plugins"
- "minecraft:version"
- "minecraft:about"
- "minecraft:help"
- "help"
- "icanhasbukkit"
- "bukkit"
- "?"
- "me"
- "minecraft:me"
- "bukkit:?"
- "bukkit:help"
- "bukkit:about"
- "bukkit:version"
- "bukkit:ver"
- "bukkit:plugins"
- "bukkit:pl"
# -------------------------------------------
# CLEAR CHAT SETTINGS
# -------------------------------------------
chat:
# Number of blank lines to send when clearing the chat.
clear-lines: 100
slow-chat:
# Set to true to enable slow chat mode.
enabled: true
# Delay in seconds between messages for slow chat.
delay: 5
# -------------------------------------------
# SLOW CHAT MESSAGES
# -------------------------------------------
# Message displayed when a player sends messages too quickly.
SlowChatDelayMessage: '&cYou are sending messages too fast! Wait %delay% seconds.'
# -------------------------------------------
# SOUND SETTINGS
# -------------------------------------------
sounds:
# Sound to play when clearing the chat.
clear-chat: "BLOCK_NOTE_BLOCK_PLING"
# Fallback sound if the primary sound is not available.
clear-chat-fallback: "NOTE_PLING"
# Sound to play when muting/unmuting the chat.
mute: "ENTITY_EXPERIENCE_ORB_PICKUP"
# Volume for the sounds.
volume: 1.0
# Pitch for the sounds.
pitch: 1.0
# -------------------------------------------
# ADDITIONAL MESSAGES
# -------------------------------------------
messages:
# General message for no permission (can be used by other commands if needed).
no-permission: "&cYou don't have permission to use this command!"
# -------------------------------------------
# HELP COMMAND MESSAGES
# -------------------------------------------
UnknownSubcommand: '&cUnknown subcommand. Use &e/cc help &cfor help.'
HelpTitle: '&e=== ClearChat Help ==='
HelpClearGlobal: '&e/cc &7- Clear global chat'
HelpClearAnon: '&e/cc anon &7or &e/cc a &7- Clear global chat anonymously'
HelpClearMe: '&e/cc me &7- Clear only your chat'
HelpMuteChat: '&e/cc mute &7or &e/cc m &7- Toggle chat mute'
HelpReload: '&e/cc reload &7or &e/cc r &7- Reload configuration'
HelpHelp: '&e/cc help &7- Show this help message'
ErrorReloading: '&cError reloading config: %error%'If you like the plugin, please let me know by leaving a review below! :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta