EpicClearLag – Plugin Features & Changelog
Version: 1.0.0.3-GV-333-CL2
Core Features
Automatic Mob and Entity Clearing
Clears mobs, animals, and other entities automatically to reduce server lag.
Configurable delay and radius for clearing.
Configurable Clear Settings
Allows players/admins to configure which entities to clear.
Supports whitelist/blacklist for entities.
Automatic Jar Updates
Auto-downloads plugin updates from a URL.
Safely replaces old jar without crashing the server.
Cross-platform support (Windows/Linux).
Async Operations
Clear and update tasks run asynchronously to prevent server freeze.
Logging & Notifications
Logs every clear and update action.
Sends notifications to console or players if configured.
Customizable via config.yml
Set clear intervals, messages, radius, and entity types.
Easy to adjust without restarting the server.
Recent Fixes & Improvements
Fixed auto-update bug that deleted the new jar before renaming.
Fixed cross-platform rename issue using Files.move() instead of File.renameTo().
Improved logging messages for updates and clear operations.
Fixed compilation error in auto-updater code.
🚀 EpicClearLag Plugin – Features Overview
⚡ Core Features
Automatic Item Clearing
Removes dropped items every set interval (default: every 6 minutes).
Sends warning messages to players before clearing (e.g., "Auto clear starting in %time% seconds!").
Fully configurable timing and messages in config.yml.
Entity Clearing
Removes unneeded mobs/entities to reduce lag.
Supports protected mobs list (certain entities never get cleared).
Skips certain blocks/entities to protect farms & important builds.
TPS Monitor
Constantly monitors server TPS (Ticks Per Second).
If TPS drops below a configured threshold, extra clearing can happen automatically.
🛠️ Admin Commands
/clearlag
Instantly clears all dropped items/entities (manual trigger).
Sends feedback to all players.
/clearlag reload
Reloads the plugin configuration without restarting the server.
/clearlag tps
Displays current server TPS.
🔔 Messaging System
Broadcast Messages
Sends countdown messages before clearing starts (e.g., 60s, 30s, 10s).
Sends confirmation message after clearing is complete (e.g., "Cleared %items% items and %entities% entities!").
Fully customizable messages in config.yml.
Placeholder Support
%time% → Remaining time until clear.
%items% → Number of items removed.
%entities% → Number of entities removed.
📂 Configurable Settings (config.yml)
Interval time for auto-clear.
Entities/items to protect from clearing.
Warning intervals before clearing.
Customizable messages.
TPS threshold for lag-based clearing.
🔧 Technical
Supports Paper/Spigot 1.17 → Latest (including 1.21.x).
- Lightweight & optimized – minimal performance impact.



