Overview
ClearLag is a complete server optimization system designed to reduce lag, maintain stable TPS, and keep gameplay smooth during high player activity.The system automatically clears unnecessary dropped items and excess entities at scheduled intervals while providing countdown warnings, cleanup notifications, and optimized performance handling.
The script features configurable cleanup timers, broadcast alerts, customizable messages, and efficient entity management to help prevent server slowdown caused by item buildup and mob overflow.
The system keeps track of cleanup cycles, warning stages, and removed entities using lightweight Skript logic, ensuring reliable and consistent performance management.
It includes optional world exclusions, admin notifications, configurable cleanup types, and automatic server maintenance utilities.
Everything operates through a clean and optimized Skript system built entirely in Skript.
Features
Fully automated lag reduction system
Scheduled dropped-item cleanup system
Configurable cleanup intervals and countdown timers
Broadcast warnings before each cleanup cycle
Support for custom messages and prefixes
Optional entity clearing support
TPS-friendly cleanup handling
Admin cleanup logging and notifications
Automatic memory and entity management
Lightweight and optimized Skript structure
Auto-cleanup during high entity buildup
Supports fully customizable settings
Installation
Drop the script into your scripts folder
Reload Skript
Configure cleanup intervals and messages
(Optional) Set excluded worlds
The ClearLag system will automatically begin operating
Commands
- /forceclearlag — manually trigger an immediate cleanup cycle
How It Works
The system runs automatic cleanup cycles at configured intervals.
Before Each Cleanup
Countdown warnings are broadcast to all players
Players are notified to pick up important items
When Cleanup Starts
Unnecessary dropped items are removed
Optional entities are cleared depending on settings
The number of removed entities is announced to the server
After Cleanup
The cleanup cycle automatically resets and repeats
All temporary cleanup data is cleared after each cycle ends
