Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,700 resources
01
Days
20
Hours
56
Mins
22
Secs

MyChatClear | Chat Clearing System v1.0.1

Clear chat with optional reasons and author display (1.16.x - 1.21.x+).

OVERVIEW
MyChatClear is a high-performance chat management utility, rebuilt for modern servers. Now powered by Java 21 and MiniMessage, it offers absolute control over your server's communication with minimal overhead.




FEATURES
Professional tools to keep your chat clean and organized.

Event-Driven Auto-Clear: Automatically triggers after a set number of messages.
Advanced Locking: Lock chat with custom reasons and global broadcasts.
HEX & Gradients: Full MiniMessage support for all system messages.
Smart Bypassing: Fine-tuned permissions for staff and VIPs.




MANAGEMENT
Separated command logic for intuitive administration.

COMMANDS: /chatclear [self|reason] - General clearing
COMMANDS: /mycc [lock|reload] [reason] - Admin control




New Trigger Logic
Auto-clear now monitors message counts in real-time. Once the threshold is met, the plugin starts a configurable countdown with warnings before clearing.

Enhanced Lock Control
Locked state now supports reasons that are visible to all players. Staff can bypass lock state to provide updates or instructions.

Code:
# +--------------------------------------------------------------------------+
# |                                 MyChatClear                              |
# |                              Developed by fvl1s                          |
# +--------------------------------------------------------------------------+

# Core plugin functionality settings
settings:
  # Amount of empty lines sent during global chat clear (Integer)
  lines-to-clear: 100
  # Amount of empty lines sent during personal clear (/chatclear self) (Integer)
  self-lines-to-clear: 100
  # Post-clear cooldown in seconds where players cannot chat (Integer)
  cooldown-after-clear: 5
  # Automatic chat clear parameters based on message threshold
  auto-clear:
    # Enable or disable the automatic clearing system (Boolean)
    enabled: true
    # Message threshold to trigger the clear countdown (Integer)
    min-messages: 50
    # Countdown duration in seconds after reaching the threshold (Integer)
    warning-time: 15

# Localization and visual notification configuration
messages:
  # System prefix replacing the <prefix> placeholder in all messages (String)
  prefix: "<aqua>MyChatClear <white>| "
  # Message sent when a player lacks required permissions (String)
  no-permission: "<prefix><red>You do not have permission to use this command."
  # Message sent upon successful configuration reload (String)
  reload-success: "<prefix><green>Configuration reloaded successfully."
  # Global notification for chat clear without a reason (String)
  chat-cleared: "<prefix><aqua>Chat has been cleared by <white><author><aqua>."
  # Global notification for chat clear with a specified reason (String)
  chat-cleared-reason: "<prefix><aqua>Chat has been cleared by <white><author> <aqua>Reason: <white><reason>"
  # Private message to player after /chatclear self (String)
  self-cleared: "<prefix><green>Your chat has been cleared."
  # Chat lock notification without a reason (String)
  lock-enabled: "<prefix><red>Global chat has been locked by <white><author><red>."
  # Chat lock notification with a reason (String)
  lock-enabled-reason: "<prefix><red>Global chat has been locked by <white><author><red>. Reason: <white><reason>"
  # Chat unlock notification (String)
  lock-disabled: "<prefix><green>Global chat has been unlocked by <white><author><green>."
  # Message sent to players attempting to chat while locked (String)
  chat-is-locked: "<prefix><red>Chat is currently locked. You cannot send messages."
  # Notification for the automatic clear countdown (String)
  auto-clear-warning: "<prefix><yellow>Chat will be cleared in <white><time> <yellow>seconds."
  # Final broadcast after automatic clear completion (String)
  auto-clear-broadcast: "<prefix><aqua>Chat was automatically cleared for optimization."
  # Message sent to players attempting to chat during cooldown (String)
  cooldown-active: "<prefix><red>Please wait <white><time>s <red>before typing."
  # Help menu lines displayed when using the main command without arguments (List)
  help-menu:
    - "<aqua>MyChatClear <white>Help Menu:"
    - "<white>/chatclear [reason] <aqua>- Clear global chat"
    - "<white>/chatclear self <aqua>- Clear your personal chat"
    - "<white>/mycc lock [reason] <aqua>- Toggle chat lock state"
    - "<white>/mycc reload <aqua>- Reload configuration files"



EULA: Free EULA
207 Views
3 Downloads
Apr 7, 2026 Published
Apr 10, 2026 Updated
Not yet rated
18.4 KB File size
Open source
  1. Yes
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Chat
  1. Staff
  1. Optimization
Game mode
  1. Survival
  1. Hub & lobby
  1. Minigame
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
  1. Purpur
Supported versions
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
  1. 1.17
  1. 1.16
Supported languages
  1. English
Creator
Owner
Recommended for you
Spawn management and proxy routing with effects (1.16.x - 1.21.x+).
Not yet rated
1 purchase
Jump pads with 3 modes, visual effects, fall protection (1.16.x - 1.21.x+).
Not yet rated
0 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,191 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 53 ratings
3,132 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 44 ratings
3,070 purchases
207 Views
3 Downloads
Apr 7, 2026 Published
Apr 10, 2026 Updated
Not yet rated
18.4 KB File size
Open source
  1. Yes
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Chat
  1. Staff
  1. Optimization
Game mode
  1. Survival
  1. Hub & lobby
  1. Minigame
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
  1. Purpur
Supported versions
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
  1. 1.17
  1. 1.16
Supported languages
  1. English
Creator
Owner
Recommended for you
Spawn management and proxy routing with effects (1.16.x - 1.21.x+).
Not yet rated
1 purchase
Jump pads with 3 modes, visual effects, fall protection (1.16.x - 1.21.x+).
Not yet rated
0 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,191 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 53 ratings
3,132 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 44 ratings
3,070 purchases
Top