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 Apr 12, 2016@w7res http://dev.bukkit.org/bukkit-plugins/clearlagg/files/
Look for the one that has CB 1.7.9-R0.2 in the version.
-
View User Profile
-
Send Message
Posted Apr 12, 2016Is there a version of this for 1.7.10?
-
View User Profile
-
Send Message
Posted Apr 11, 2016@AlphaFarer
I highly doubt it's clearlag removing the entities you're spawning. Try to invoke the method "entity.setRemoveWhenFarAway(false)" after spawning it.
And this is where Essentials does their spawning: https://github.com/essentials/Essentials/blob/2.x/Essentials/src/com/earth2me/essentials/Mob.java#L95
-
View User Profile
-
Send Message
Posted Apr 11, 2016@bob7l
When I install Essentials along with ClearLagg, /gc shows more chunks then when I don't have it :( All under the same conditions
-
View User Profile
-
Send Message
Posted Apr 11, 2016Clearlag removes mob spawned with: Spider sp = (Spider) world.spawnEntity(new Location(world, 20, 123, 80), EntityType.SPIDER)', on chunk unload, but it doesn't remove /spawnmob spider from essentials, why?
I guess Essentials's code here, but I can't find the reason https://github.com/essentials/Essentials/blob/2.x/Essentials/src/com/earth2me/essentials/SpawnMob.java
-
View User Profile
-
Send Message
Posted Apr 11, 2016@Nickshelton80
Clearlag doesn't modify chunk-loading/unloading in any way. If you're using Spigot/Paperspigot 1.8-1.9 then you most likely don't even need to use /unloadchunks as Spigot seems to have fixed the terrible chunk control in prior Bukkit builds.
-
View User Profile
-
Send Message
Posted Apr 10, 2016ClearLagg is keeping thousands of chunks loaded (default config). I'm running no other plugins and when I do /lagg unloadchunks it says it unloads a few thousand but they load right back up.
-
View User Profile
-
Send Message
Posted Apr 9, 2016@Saxion
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
-
View User Profile
-
Send Message
Posted Apr 9, 2016Could you list all the names for the mobs? I do not know if iron golems are called iron golems or villager golems or how ever, please write down a list somewhere here.
-
View User Profile
-
Send Message
Posted Apr 6, 2016@christian66
Post a ticket with your config
-
View User Profile
-
Send Message
Posted Apr 5, 2016@bob7l
Hi I am using ClearLag and in my Faction Server. But I cant Place a creeper egg, is it because ClearLag. If can I disable so the can Place some Creeper Eggs, like 5 , but not more. Thanks
/christian
-
View User Profile
-
Send Message
Posted Apr 5, 2016Could you add a command like /lagg time so people can see how long it is until next time clearlag comes around. Great plugin, keep up the good work!
-
View User Profile
-
Send Message
Posted Mar 31, 2016@ollevontrapp
Post a ticket with your config.
-
View User Profile
-
Send Message
Posted Mar 31, 2016I have tried this plugin for a couple of days on my 1.9 server but today mobs started to disappear including all horses my players had. I tried to spawn a horse and it disappeared whithin a minute. It's strange cause I haven't done any editing in the config file for the last few days. Fortunately i could rollback my server and uninstall the plugin.
-
View User Profile
-
Send Message
Posted Mar 30, 2016Hi Bob7l Most of the time I cant place creeper egg. Is it ClearLag that does it. And after the mobs and animals spawning from a Mobspawner they are disepearing quickly. How can I change that in ClearLag .
-
View User Profile
-
Send Message
Posted Mar 29, 2016@Sikatsuu
I highly doubt it
-
View User Profile
-
Send Message
Posted Mar 29, 2016@Refornm
Supports 1.9 (And 1.9 mobs) already
-
View User Profile
-
Send Message
Posted Mar 27, 2016Can you add 1.9 mobs and support :)
-
View User Profile
-
Send Message
Posted Mar 26, 2016Is /lagg unloadchunks removing armorstands? My armorstands are randomly dissapearing sometimes and I'm trying to find where the issue is.
-
View User Profile
-
Send Message
Posted Mar 23, 2016What have I to write that Minecarts (all types) will not be removed will ClearLag?
Where do I find this in the config.yml?