Boosting Your Server Performance with ClearLagg
Boost Minecraft server performance using ClearLagg to automatically manage dropped items and entities.
Boost Minecraft server performance using ClearLagg to automatically manage dropped items and entities.
Running a smooth Minecraft server needs attention to how resources are used. As time goes on the worlds get filled with entities, which makes the server slow and choppy. This guide tells you how to use ClearLagg to clean up entities and make sure the server stays fast.
What Causes Entity Lag?
Things like items that fall on the ground and mobs that are not killed build up over time. This makes the server work harder. ClearLagg helps with this cleanup automatically.
Getting Started
- Get a version of ClearLagg that works with your server.
- Open your File Manager.

Go to the
pluginsfolder. Put the ClearLagg file there.Restart the server so the configuration files are generated.
Changing How Cleanup Works
Go to the ClearLagg configuration file in the plugins folder to change how often things are removed and which entities are removed.

Common Settings
Some settings you may want to change:
Item Spawn Age Setter: Set despawn times for different items. This could be useful for servers that have lots of unnecessary items/entities on the ground. This setting is disabled by default
Area Filter: Choose which entities should NOT be removed when using
/lagg area. This can be useful if you have farms that includes mobs or protecting your pets.Chunk Entity Limiter: Set a maximum numbers entities can exist in a chunk. Entities above this limit will be removed. This setting is disabled by default.
TPS Meter: Monitors the servers TPS and automatically run commands when the TPS is below a configured value (by default 14.0). This setting is disabled by default.
These settings can help reduce entity releated lag, but make sure to configure them carefully. Aggressive settings may remove entities that players might wanna keep
Looking at Server Status
Use these commands to handle entities:
/lagg check: Look at how many entities are on the server./lagg clear: Do a cleanup by hand./lagg area [radius]: Remove entities in an area, around where you are.
Conclusion
ClearLagg helps with entity lag. If the server still runs slow check the CPU usage, chunk loading, redstone activity or big farms.
Related guides
- How much RAM your Server actually needs: A quick reference for sizing your server's RAM based on player count, plugins and mods.
- How to Change the Entity Broadcast Range on Your Minecraft Server: Reduce server lag by limiting how far the server sends updates for entities
- How to Identify Performance Issues on Your Minecraft Server Using Spark: Find out exactly what's causing lag with detailed performance profiling
- How to Migrate your old MCServerHost account.: How to Migrate your old MCServerHost account to the new MCServerHost.