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 Feb 8, 2016@bamajoe411
That feature is currently disabled due to compatibility issues with other plugins. I'll do something about it later on.
You can use Multiverse to enable this feature aswell.
-
View User Profile
-
Send Message
Posted Feb 8, 2016Hello I have an issue with my server spawn unloading when clear lag unloads chucks. I have in my config "keep-spawn-in-memory: true" but it still unloads spawn and that's in issue since i have redstone running at spawn that runs other things on my server. is anyone else having this issue too?
-
View User Profile
-
Send Message
Posted Feb 5, 2016@KatVonDied
No. /lagg halt will disable all server activity. This command is more or less for emergencies or when your TPS goes extremely low.
-
View User Profile
-
Send Message
Posted Feb 5, 2016Hi, exist any form to enable the TNT with /lagg halt active?
-
View User Profile
-
Send Message
Posted Feb 3, 2016I'm beginning work on a new update. This update will contain many requested features and will also change around a bit of the config (So be sure to check your config after updating!). I'm doing a small recode to part a bit further away from my initial design so some things may be different then you're used to.
-
View User Profile
-
Send Message
Posted Feb 3, 2016@Lexi984
If your redstone isn't working correctly then it's due to your server software. I've noticed a few chunk related "bugs" with spigot's chunks so that may be your issue.
-
View User Profile
-
Send Message
Posted Feb 2, 2016Can you add a feature were you can enable redstone at the spawning chunk? My server uses lots of redstone at the world spawn and this plugin broke the redstone.
-
View User Profile
-
Send Message
Posted Feb 1, 2016I am using this on Sky Factory 2 with KCauldron and when I add a modded entity (ex. Botania:manaburst) it says it is not a valid entitiy. The mod author posted the entity name and it works for others, please help?
-
View User Profile
-
Send Message
Posted Jan 25, 2016aww thanks okay ill just keep checking in then :)
-
View User Profile
-
Send Message
Posted Jan 24, 2016@Disorbs
I'm busy with another project atm so i wont be able to do anything with clearlag for at least a week
-
View User Profile
-
Send Message
Posted Jan 24, 2016any ETA on the Mob-Spawner fix for Radius not working above 20? thanks.
-
View User Profile
-
Send Message
Posted Jan 17, 2016@puckman1971
Make sure you dont have chunk-entity-limiter enabled as those counts frames as entity as well.
-
View User Profile
-
Send Message
Posted Jan 17, 2016I have ALL frame removal set to false but today, out of the blue, when I logged on all frames were removed?! Anyone know of this?
-
View User Profile
-
Send Message
Posted Jan 16, 2016do you guys have any dev links we can use with an updated fix to the spawner radius?
-
View User Profile
-
Send Message
Posted Jan 11, 2016@HazukaTinkering
Try to use the version designed for your server (Not 1.8)
-
View User Profile
-
Send Message
Posted Jan 9, 2016Hello I've got a problem with ClearLag v2.8.3
I don't say where is the problem.
Can you help me?
[02:08:35] [Server thread/WARN]: [ClearLag] Task #22 for ClearLag v2.8.3 generated an exception
java.lang.NoSuchMethodError org.bukkit.Bukkit.getOnlinePlayers()Ljava/util/Collection;
at me.minebuilders.clearlag.Util.broadcast(Util.java:42) ~[ClearLag.jar]
at me.minebuilders.clearlag.tasks.ClearTask.run(ClearTask.java:40) ~[ClearLag.jar]
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
-
View User Profile
-
Send Message
Posted Jan 7, 2016@bob7l
if you can that be great as its a big issue when it comes to lag from these spawners, thanks.
-
View User Profile
-
Send Message
Posted Jan 6, 2016@Disorbs
I figured it wouldn't be difficult to bypass the area based check.. I'll have to implement some sort of tracking system.
-
View User Profile
-
Send Message
Posted Jan 6, 2016@ZenAndreas From the looks of it, they've disabled the API for whatever reason. It's returning an empty array. So i'll have to release an update soon fixing this
-
View User Profile
-
Send Message
Posted Jan 6, 2016Sand Problem
When i place sand it is not falling! And When i destroy sand it doesnt really dissapear it is just becoming invisible!