ClearLagg
Clearlag was designed to reduce lagg on Bukkit/Spigot servers by removing entities, and preventing it through it's many optional features. Of course this plugin can't fix all lag, but it does clear most of it. If your using a larger server with 20+ players, simply using the /lagg clear command can drastically decrease RAM/CPU usage by simply removing your configured entities.
- Permission support
- Entity limiter
- Reduces lag
- Decreasing RAM/CPU usage
- Ability to stop a TNT chain reaction
- Option to limit mob spawners
- Locate overcrowded/abused chunks
- Many easy to use commands
- Real-time module controls
- Very lightweight - only enables selected features
- Remove old logs upon enabling server
- Limit AI processing attributes
- Console support for most commands
- Can adjust times when the server is cleared of lagg
- Completely configurable
Command | Description | Permission |
---|---|---|
/lagg clear | (Clears entities) | lagg.clear |
/lagg check [world1 world2...] | (Counts all entities) | lagg.check |
/lagg reload | (Reloads schedulers/config) | lagg.reload |
/lagg killmobs | (Kills mobs) | lagg.killmobs |
/lagg area <radius> | (Removes entities within given radius) | lagg.area |
/lagg unloadchunks | (Unloads un-needed chunks) | lagg.unloadchunks |
/lagg chunk [amount] | (Locate possible laggy chunks) | lagg.chunk |
/lagg tpchunk <x> <z> <world> | (Teleport to chunks) | lagg.tpchunk |
/lagg admin | (Manage clearlag's modules) | lagg.admin |
/lagg gc | (Attempt to free memory) | lagg.gc |
/lagg tps | (View current TPS) | lagg.tps |
/lagg halt | (Temporary disable basic server functions [mob spawning and so on]) | lagg.halt |
/lagg | (Shows helpful page) |
lagg.help |
Name | Description | Link |
---|---|---|
SaveDeathDrops | (Blocks clearlag from removing items dropped from death) | Download Link |
Helpful video made by cobwebster
Helpful video by RayoTutoriales (Español)
Still have a question?
If you are having issues or cannot get the plugin to function properly, feel free to open a ticket, explaining your problem in detail will help me help you!
[Please note]
This plugin contains an auto-updater which will request, or download, updated files of Clearlag directly from this page. To disable this feature, open the config.yml, under plugins/Clearlag, and set auto-update to false.
Please do not post an issue until you've fully read the config located under /plugins/Clearlag/config.yml
Maintained Clearlag page: https://www.spigotmc.org/resources/clearlagg.68271/
Love this plugin! Is there source code available for it? googled without success. One minor annoyance is this:
While loading ClearLag (plugins/clearlag.jar) found old-data folder: plugins/clearlag next to the new one: plugins/ClearLag
minor fail on systems with case-insensitive file systems, like windows or macosx.
How do I set mob to be autocleared in the new config?
Suggestion: Option to remove the Broadcast to Console :)
@frenchfri12
Clearlag doesn't display what entities have been removed, just a simple message saying how many entities have been removed every 5 minutes. Check the config
This is constantly spamming my chat and consle with in excess of 100 messages per minute in my consle, about which entites it removed, and every minute 2 come up in chat, how do i turn these off?
@bob7l
I don't use tekkit. I use Feed The Beast.
@YiveMe
I don't support tekkit.
I have gotten reports from my players that this plugin delete's their Mining turtles, do you think you can make it so it doesn't delete mining turtles?
What's the permission for /tps?
@bob7l
Sorry, maybe my config wasn’t generated properly. I’ll start fresh and see what was the problem.
Yeah, if you put it like that, it sucks indeed. I thought there was a way to clear entities from flat chunk files.
@EncryptedCurse
I've found the best is to combine this plugin (for its mob and entity management) with a separate *monitoring* plugin, such as LagMeter. I even use LagMeter to fire off commands to ClearLagg when certain thresholds are met. Super automatic...
@EncryptedCurse
That's not something this plugin needs, I rather not add things that can be easily obtained.
Could you add in a RAM usage counter?
@PEZA0
Love the idea, will add this in the next release!
Btw everyone, there might be a DEV build on the page in a bit. I need some people to test it and report back, Thanks!
@ridddle
"PS: Auto-removal should also allow for a more intelligent cleanup, let’s say don’t remove entities and don’t display any messages if entity count is below a certain number. It would make for a more peaceful gameplay and chat when there isn’t a lot of players online." This was added a long time ago.
"I don’t understand why ClearLag doesn’t remove entities in unloaded chunks. That’s where the performance hit is – not with stuff spawning, but with stuff being saved when chunks unload, and then loading back when people enter them on busy nights. Can we please get an option to remove all entities specified in config, not only those in loaded chunks?" I'm not sure what your telling me to do. I would have to manually load every single chunk your server has in order to remove all entities which in return would cause tremendous lag. If a chunk is unloaded the entities are also unloaded. Clearlag will only get entities available in the server, it wont search around in your world files for entities.
+1 for never removing tamed pets
cane u make it compactebol white tekkit ?
PEZA0, yes! Please, allow us to specify to never remove tamed pets. It’s heartbreaking for players.
And PEZA0, for mob limiting use this: https://github.com/NerdNu/MobLimiter
Can add to only remove UNTamed Wolfs or Cats... and not clean tamed animals?
I don’t understand why ClearLag doesn’t remove entities in unloaded chunks. That’s where the performance hit is – not with stuff spawning, but with stuff being saved when chunks unload, and then loading back when people enter them on busy nights. Can we please get an option to remove all entities specified in config, not only those in loaded chunks?
PS: Auto-removal should also allow for a more intelligent cleanup, let’s say don’t remove entities and don’t display any messages if entity count is below a certain number. It would make for a more peaceful gameplay and chat when there isn’t a lot of players online.