OmegaClearChat is a lightweight, lag-free chat clearing plugin built for any server. Unlike other chat clearers that dump hundreds of blank lines in a single tick — freezing your players' clients — OmegaClearChat spreads them in small, configurable batches for a perfectly smooth clear every time.
Features
- Lag-free batched sending — blank lines are sent in configurable batches across ticks, eliminating the client-side lag spike of instant clearing
- Universal compatibility — one jar runs on Bukkit, Spigot, Paper, Purpur and Folia, from Minecraft 1.7.x through 1.21+
- Fully configurable — line count, batch size, batch interval, cleared message, "cleared by" message, blank line content and silent-deny behavior
- Console support — clear chat from console; announcements automatically show "Console"
- Permission-based — only players with the permission (ops by default) can clear chat
- Zero dependencies — pure Bukkit API, no Vault, no PlaceholderAPI, under 20 KB
- Clean shutdown — all pending batch tasks are tracked and stopped cleanly on reload or server stop
Commands
- /clearchat — clears the chat for all online players (aliases: /cc, /clearc)
Permissions
- omega.clearchat.use — allows clearing the chat (default: op)
Configuration
- lines — number of blank lines to send (up to 5000)
- batch-size — lines sent per batch
- batch-interval — milliseconds between batches
- cleared-message / cleared-by-message — fully colorizable with & codes, with a %player% placeholder
- silent-deny — hide the no-permission message from unauthorized players
Compatibility
Server software: Bukkit, Spigot, Paper, Purpur, Folia
Minecraft versions: 1.7.x through 1.21.x
Java: 8+ (compiled to Java 8 bytecode, so it runs on legacy and modern server runtimes alike)
Tuning tip: start with the defaults (100 lines per 50 ms). Raise batch-size for near-instant clears on high-TPS servers, or lower it for large networks with hundreds of players online.