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 Jan 31, 2014Hi,
I have a small problem with ClearLagg, when it announces that the clearlagg plugin will get activated within one minute it lags for a short period (sometimes) and it clears all the items and after 1 minute it clears all items again.
Could you please tell me how to fix this or wether this is a bug?
-
View User Profile
-
Send Message
Posted Jan 31, 2014@drikagamerbr
Look into config.yml
-
View User Profile
-
Send Message
Posted Jan 31, 2014Hello.... Is there a way to ClearLagg don't remove my tamed animals?
(Horses, wolves)
-
View User Profile
-
Send Message
Posted Jan 29, 2014Will ClearLagg clear the golems on thaumcraft?
-
View User Profile
-
Send Message
Posted Jan 27, 2014My Config- http://pastebin.com/ru1KRYPB
On auto removal, it is saying 0 items removed, and is not removing items off the ground. If I do /lagg clear, it will remove the items from the ground, although both "auto-removal" and "lagg clear" have the same settings for item, "true".
If i do /lagg check, it says 0 items on the ground, but once I do /lagg clear, it removes the items. Any suggestions are appreciated! Thanks!
-
View User Profile
-
Send Message
Posted Jan 24, 2014Alright, wheres meh hammer !
-
View User Profile
-
Send Message
Posted Jan 23, 2014When clear lagg delete entities, he delete itemframe...but a put it on false in the config, is it normal?
-
View User Profile
-
Send Message
Posted Jan 22, 2014@baksovic111
I get this same problem too. I suspect it's a Spigot error, though, because I've gotten the same kind of error on several different unrelated plugins.
-
View User Profile
-
Send Message
Posted Jan 21, 2014Hi there.
Is there a way to customize your service "Live mobs", because, in Vanilla when we rename a mobs with a name tag they stop to despawn. But there, when I configure the live mob in the plugin, they're remove.. It's just a clear mob so ?
Is not possible to keep them ? Horse, some other creature etc ?
-
View User Profile
-
Send Message
Posted Jan 21, 2014Where do I report bugs?
I have this serious bug which is thrown every time ClearLagg is executed. Some commands also throw various errors. I think this plugin should be retested on large servers.
http://pastebin.com/cwR8T3eG
What can be the cause of this?
-
View User Profile
-
Send Message
Posted Jan 20, 2014Hello! Is there a way to set multiple warnings so a second warning at 30 seconds?
A speedy reply would be much appreciated!
-
View User Profile
-
Send Message
Posted Jan 20, 2014It it safe to install both this and NoLagg on a server?
-
View User Profile
-
Send Message
Posted Jan 20, 2014This is my ClearLagg config, however for some reason it doesn't remove minecarts? http://pastebin.com/9nKisArg
-
View User Profile
-
Send Message
Posted Jan 18, 2014some commands work othor dont why is that
i try to use /lagg chuck and just gives me the command menu again??
-
View User Profile
-
Send Message
Posted Jan 18, 2014I have MyPet plugin
There is function rename pet
-
View User Profile
-
Send Message
Posted Jan 17, 2014Hi there,
Thanks a lot for your plugin "ClearLagg". I've just one question :
- Is there a way to customize the filter for the command /lagg killmobs IN A CATEGORY OF MOB I want to delete. I explain =
For example, I would like that all wolfl be delete when I do a /lagg killmobs but not my wolf called "Fluffy", you see ?
- Same question for mobs from mod like Mocreature. When I tame one of them, how can I delete all of the mobs except the ones I tamed ?
Some ideas about rename plugins or Nbtedit I don't know ? I can add mod, I'm on a MCPC+ server.
Thanks in advance for your return.
-
View User Profile
-
Send Message
Posted Jan 17, 201417.01 22:46:18 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [craftbukkit.jar:git-Spigot-1245] 17.01 22:46:18 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [craftbukkit.jar:git-Spigot-1245] 17.01 22:46:18 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [craftbukkit.jar:git-Spigot-1245] 17.01 22:46:18 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:592) [craftbukkit.jar:git-Spigot-1245] 17.01 22:46:18 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Spigot-1245] 17.01 22:46:18 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58) [craftbukkit.jar:git-Spigot-1245] 17.01 22:46:18 [Server] INFO at me.minebuilders.clearlag.spawner.SpawnEntityNearPlayer.run(SpawnEntityNearPlayer.java:45) [?:?] 17.01 22:46:18 [Server] INFO at me.minebuilders.clearlag.spawner.Spawn.spawnEntity(Spawn.java:37) [?:?] 17.01 22:46:18 [Server] INFO at me.minebuilders.clearlag.spawner.WorldSpawn.spawnRandomMob(WorldSpawn.java:28) [?:?] 17.01 22:46:18 [Server] INFO at me.minebuilders.clearlag.RandomUtil.getHelm(RandomUtil.java:39) [?:?] 17.01 22:46:18 [Server] INFO at java.util.Random.nextInt(Unknown Source) [?:1.7.0_45] 17.01 22:46:18 [Server] INFO java.lang.IllegalArgumentException: n must be positive 17.01 22:46:18 [Server] WARN Task #7280 for ClearLag v2.6.2 generated an exception
-
View User Profile
-
Send Message
Posted Jan 17, 2014when i change the part of my config when i enable armor chance i set it to 99 but they still spawn with armor every time is there a way to disable armor completely? or fix it so they don't spawn with it every time?
-
View User Profile
-
Send Message
Posted Jan 16, 2014Does anyone else receive an error whenever you run /lagg check or /lagg clear when you have a customClears enabled but when you turn it off it is fine? On version ClearLag v2.6.2
-
View User Profile
-
Send Message
Posted Jan 15, 2014Is this plugin blocking or counting entities spawned by other plugins? If yes, it would great if you could exclude those entities from removal/counting (maybe with a setting).