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 Jun 21, 2015@OutcastZeroOne
Is custom-mobspawner enabled in your CL config? If so, disabling it and restarting server may solve the spawning issues.
-
View User Profile
-
Send Message
Posted Jun 21, 2015@OutcastZeroOne
I'm presuming it's a config error, unless you use another plugin to manage breeding that is interacting?
-
View User Profile
-
Send Message
Posted Jun 20, 2015Not sure if anyone else has run intot this issue. we just added dlear lagg on to our server the other day. and now animals are no longer breeding. disabled mobmanager, still nothing, disabled clearlag and suddenly animals start to breed. any ideas?
-
View User Profile
-
Send Message
Posted Jun 20, 2015@bob7l
I guess it could be easy, if we knew anything about coding plugins! But before we learn Java syntax and the whole Bukkit API, I thought that if I asked nicely... :)
I have no clue how hard it would be to just ignore entities that have a nametag? Is it feasable? Our custom bosses are simply regular monsters with special abilities, using the CustomMobs plugin.
I realize that adding that simple check to every single entity may require some more overhead from something that's supposed to clear lag and not add some.
-
View User Profile
-
Send Message
Posted Jun 20, 2015@EarlyReflex
You can easily add the custom bosses to a removal blacklist using Modules.EntityManager.addUnremovableEntity(Plugin, Entity);
In the next version i'm going to remove this stupid "API" idea i had awhile back and replace it with just events such as ClearlagClearEvent. I have no idea why i thought creating a blacklist would be better then using basic bukkit events :/
-
View User Profile
-
Send Message
Posted Jun 19, 2015@frizzbee30
Either that or, since there's already a "world-filter" option, there could be a "region-filter" option where we would just put name(s) of wg region(s) we want the plugin to ignore.
This is the only plugin that also saves death drops (by using the module) while still subjecting them to the vanilla 5 minutes rule before despawning.
There's no reason the best plugin shouldn't get better! I would add wg region check as 1st suggestion and as 2nd, I would add "ignore mobs with nametags".
For now, we actually have to ditch the plugin because it clears our custom bosses in quests. We're left with nothing to control entity count. If anyone has any suggestion for a plugin that clears mobs and entities, that also covers the above requirements, I'm all open!
Edit: I just realized that only having the "ignore mobs with nametags" option would totally solve our issue. All our custom bosses have nametags.
-
View User Profile
-
Send Message
Posted Jun 19, 2015@EarlyReflex
There aren't any option's to set by WG region in the config. I'm guessing any feature like that would need 'groups' and then have the regions as members of those groups with their own limits, or similar
-
View User Profile
-
Send Message
Posted Jun 19, 2015@mikgreg
ah, we have that enabled, but never trigger that limit as the other limiters control mobs too well :)
-
View User Profile
-
Send Message
Posted Jun 17, 2015@VreyaViress
This is weird, it doesn't clear banners for us. We did nothing special in config, no mention of banners anywhere.
-
View User Profile
-
Send Message
Posted Jun 17, 2015How do I config it so it doesn´t delete banners?
-
View User Profile
-
Send Message
Posted Jun 17, 2015We have CL clear a bunch of mobs and entities on an interval, and it works great. But we ran into an issue where we need it to totally ignore certain wg regions... Did we miss something or it's not possible? (It clears our custom mobs and bosses)
-
View User Profile
-
Send Message
Posted Jun 16, 2015Please update to 1.8!
-
View User Profile
-
Send Message
Posted Jun 16, 2015@frizzbee30
I mean this option in the config: spawn-limiter: enabled: true interval: 15 monsters: 2000 animals: 5000
After I updated this is being ignored and the server is spawning as many mobs as it wants.
-
View User Profile
-
Send Message
Posted Jun 15, 2015@mikgreg
works great on ours, in fact it's a lifesaver if you mean limit per chunk
-
View User Profile
-
Send Message
Posted Jun 14, 2015@enderman6696
I wanted to add the ram usage awhile ago but people simply do not understand it lol. I might add it under the check tab.
-
View User Profile
-
Send Message
Posted Jun 14, 2015Mob/entity limiter doesn't seem to be working on the latest spigot builds.
-
View User Profile
-
Send Message
Posted Jun 13, 2015@callie126
if you go i to the config file you can edit the length between when it "clears the lag" you ca edit this between lines 168 and 179 in the config file note that the interval is in seconds.
-
View User Profile
-
Send Message
Posted Jun 13, 2015Is there a way to change the amount of time in between lag clears?
-
View User Profile
-
Send Message
Posted Jun 12, 2015thank you for this amazing plugin!!
is there a way to check how much ram is available along with the tps?
-
View User Profile
-
Send Message
Posted Jun 12, 2015@Grimwiire
minecart to false.