How to Install ClearLag on Your Minecraft Server
Learn how to install ClearLag to automatically remove dropped items and reduce entity lag.
ClearLag automatically removes dropped items, limits entities, and helps keep your server running smoothly by preventing entity buildup.
Installing ClearLag
Download ClearLag
Download from SpigotMC.
Upload to your server
Access the XGamingServer panel, go to Files, navigate to /plugins/, and upload the .jar.
Restart your server
Restart to generate the configuration.
Configure ClearLag
Edit plugins/ClearLag/config.yml via Files:
auto-removal:
enabled: true
interval: 300 # seconds between clears (300 = 5 minutes)
broadcast-message: "&6[ClearLag] &eRemoving ground items..."
warning:
enabled: true
seconds-before: 60
message: "&6[ClearLag] &eGround items will be removed in 60 seconds!"Commands
| Command | Description |
|---|---|
/lagg clear | Manually clear ground items |
/lagg check | Show entity counts |
/lagg area [radius] | Clear entities in a radius |
/lagg halt | Temporarily halt all entity spawning |
/lagg gc | Run Java garbage collection |
💡 Tip: A 5-minute clear interval with a 60-second warning is a good starting point. Adjust based on your server's needs.
📝 Note: ClearLag removes dropped items on the ground. It does not affect items in inventories, chests, or item frames.
See also: Performance Guide | Best Lag Reduction Plugins
If you need help, join our Discord.
How is this guide?
