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/


-
View User Profile
-
Send Message
Posted May 14, 2013How can I make clearlagg stop saying "You just removed 0 entities!"? It's rather annoying to see it in the console, I just want the plugin to sit silently in the server, eating up lag. Thanks,
-Brian_Entei
-
View User Profile
-
Send Message
Posted May 13, 2013@Rorro11
You can edit what the plugin removes in the config.yml. Just set the values for 'painting' to 'false'. You may also want to set minecart to false. There are separate settings for '/lagg clear' and the auto-clear.
-
View User Profile
-
Send Message
Posted May 13, 2013This pugin is awesome, bu ti just noticed that it also removes paintings. Is this a bug or is it supposed to do this or is it configurable?
-
View User Profile
-
Send Message
Posted May 11, 2013Hello,
What I’m looking to do is enforce an entity limit for each player. Specifically press F3 and look at the third line down “E: 5/120” for example. I want that second number to never exceed 300 and if it does then no other entities can spawn within that player’s radius of loaded chunks.
For example if I’m: 1. 5 blocks away from a zombie spawner. 2. 10 blocks away from an infinite village breeder. 3. 10 blocks away from an iron golem farm. 4. 10 blocks away from a gold farm. (overworld portals, etc.) 5. Breeding cows. 6. Throwing items on the ground. 7. Water harvesting a 2,000 block wheat farm. 8. Piston harvesting a 2,000 block melon/pumpkin/sugarcane farm.
As soon as the loaded chunks around that specific player reaches 300 entitles, I want: 1. The spawner to stop functioning or zombies to instantly despawn. 2. The villagers to stop breeding or their kids to instantly despawn. 3. Iron golems to stop spawning or instantly despawn. 4. New zombie pigmen to instantly despawn. 5. Cows/livestock to stop breeding or their offspring instantly despawns. 6. Items thrown on the ground despawn (configurable filter) or the player cannot drop items. 7. If the server TPS drops below a configurable threshold, all wheat/seeds/melons/pumpkins/sugarcane/etc despawn. 8. None of the above to affect any other player who abides by the 300 entity limit.
I don't suppose you'd consider implementing such changes within the future releases would you?
-
View User Profile
-
Send Message
Posted May 11, 2013Hi,
is possible set on automatic:
/lagg unloadchunks ????
Thanks u
-
View User Profile
-
Send Message
Posted May 10, 2013Will update in a bit.. Any suggestions? Here are what I'm planning:
- Fix meter problem
- Do not stack unstackable items!
- API for other plugins to hook in to
-
View User Profile
-
Send Message
Posted May 10, 2013@leponder
Also having this issue, can you please sort it bob ?
Regards, Jamie
-
View User Profile
-
Send Message
Posted May 10, 2013Please update this to 1.5.2 R0.1!!!
-
View User Profile
-
Send Message
Posted May 9, 2013@leponder
/lagg area <
will completely ignore your config settings and remove any entity that isn't a playerIt's fully impossible for the plugin to remove something that is set to false
-
View User Profile
-
Send Message
Posted May 9, 2013@AbbyMaeTaylor
Your old config isn't removed, it's simply renamed.
-
View User Profile
-
Send Message
Posted May 9, 2013Whenever the plugin updated, the list of mobs is cleared in the config file, causing a bunch of mobs not being able to be removed. I hope you can fix it, thanks :)
-
View User Profile
-
Send Message
Posted May 9, 2013It seems to be removing any type of minecart even though I went through and set all the minecart settings to 'false'.
-
View User Profile
-
Send Message
Posted May 9, 2013@roggbart
I think so
-
View User Profile
-
Send Message
Posted May 8, 2013Does this remove animals from players farms etc.?
-
View User Profile
-
Send Message
Posted May 8, 2013Would it be possible to have an option where the plugin only removes minecarts / boats if no one is in them? This would be much appreciated :)!
Also, I agree with noggin about the showcaseStandAlone plugin. Any sort of compatability would be fantastic.
-
View User Profile
-
Send Message
Posted May 8, 2013Hi, I put in the items that should not be removed minecarts and boats but they are still being removed what should i do!? please help :s
-
View User Profile
-
Send Message
Posted May 8, 2013You know the TPS Meter tps-meter: enabled: true interval: 30
Is the interval seconds or minutes or hours?
-
View User Profile
-
Send Message
Posted May 7, 2013@Nikecow
Baby mobs should be the same node seeing as they are the same mob type.
-
View User Profile
-
Send Message
Posted May 7, 2013@noggin291
I'm going to add API
-
View User Profile
-
Send Message
Posted May 7, 2013Hey Bob can you tell me how baby mobs are handled? Are they like included in the mature version. For example "Cow" node also includes baby cows?
And on this page: http://dev.bukkit.org/server-mods/clearlagg/pages/mob-types/nodes/
You have "Cow" twice and "ozelot" instead of "ocelot"