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

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

CommandDescription
/lagg clearManually clear ground items
/lagg checkShow entity counts
/lagg area [radius]Clear entities in a radius
/lagg haltTemporarily halt all entity spawning
/lagg gcRun 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?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page