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 Oct 13, 2013@CaznowlSMP
Just put horse. Horses are now called horse instead of entitiyhorse
-
View User Profile
-
Send Message
Posted Oct 13, 2013When it clears lag, the paintings I put will be gone D: Is there any way that the paintings won't be gone?
-
View User Profile
-
Send Message
Posted Oct 12, 2013http://pastebin.com/NJjnNfzx
-
View User Profile
-
Send Message
Posted Oct 12, 2013after update its not removing so much entities like it did before.. now its removing like 100-200 before it was over 400, why ?
@ChunkyloverAtAOL
change to loginsecurity ?
-
View User Profile
-
Send Message
Posted Oct 12, 2013after update its not removing so much entities like it did before.. now its removing like 100-200 before it was over 400, why ?
-
View User Profile
-
Send Message
Posted Oct 11, 2013@Kixes
Tekkit classic that is
-
View User Profile
-
Send Message
Posted Oct 11, 2013Can you please make a version that works with tekkit?
-
View User Profile
-
Send Message
Posted Oct 11, 2013i want make clearlagg cant remove diamonds /gold /iron and eggs how can make this?
-
View User Profile
-
Send Message
Posted Oct 11, 2013Is there anyway to make the warning display like this? http://imgur.com/nfrI7oq
-
View User Profile
-
Send Message
Posted Oct 10, 2013I know this is prob a derpy question but how do I fix [WARNING] [ClearLag] EntityHorse is NOT a valid Entity!
I know what it is referring to but can't seem to see the mistake.
Which one do I remove? Horse or EntityHorse?
-
View User Profile
-
Send Message
Posted Oct 10, 2013Can you seperate the custom spawner for animal and mobs ? i kinda wanna disable spawner for animal ><
-
View User Profile
-
Send Message
Posted Oct 9, 2013Say every time i install this it works for a little then on a restart it begins to conflict with my auth me plugin i have installed.
-
View User Profile
-
Send Message
Posted Oct 9, 2013Would it be possible for lag clear to not clear mobs that have been named with name tags?
-
View User Profile
-
Send Message
Posted Oct 8, 2013@Wizard7611
you shouldnt have to update just because of 1 plugin! just disable it temporarily, and move on. the 1.6.4 update is rather seamless though. most all plugin issues have been worked out with the latest dev build. and this plugin should work flawlessly :D
-
View User Profile
-
Send Message
Posted Oct 7, 2013I have the same problem as D3struct0r since update 2.5.1 & 2.5.2. Will not work for my Bukkit 1.6.2. Exact same error report no need to pastebin. The first line says error updating 2.6.0 ???? It's not 2.6.0, It should be 2.5.1 or 2.5.2 ??????
-
View User Profile
-
Send Message
Posted Oct 6, 2013Does "lagg check" still work from the console? It's not working for me with the update. Could be another plugin conflicting just want to see if anyone has this problem.
-
View User Profile
-
Send Message
Posted Oct 6, 2013The 1.6.4 version is made STRICTLY for 1.6.4
-
View User Profile
-
Send Message
Posted Oct 6, 20132013-10-06 21:46:24 [INFO] [ClearLag] Enabling ClearLag v2.6.0 2013-10-06 21:46:24 [SEVERE] Error occurred while enabling ClearLag v2.6.0 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R3/Entity at me.minebuilders.clearlag.Clearlag.addListeners(Clearlag.java:114) at me.minebuilders.clearlag.Clearlag.onEnable(Clearlag.java:67) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:264) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.reload(CraftServer.java:609) at org.bukkit.Bukkit.reload(Bukkit.java:277) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:954) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:872) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:829) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_6_R3.Entity at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 25 more
-
View User Profile
-
Send Message
Posted Oct 6, 2013yea ok it's made for 1.6.4 thats why your getting all the errors. I have a question. My server is 1.6.2. I'm afraid to update it because I've heard of some errors getting thrown out. Um whenever I download the 1.6.2 clearlag file it automatically switches to 1.6.4 even when i changed the config to "autoupdate: flase" I guess I have to update then XD
-
View User Profile
-
Send Message
Posted Oct 6, 2013ClearLag is not working since 2.5!
I have been posting details about this issue but none of that got replied. So please take this into considration.
ClearLag: 2.6.0 Spigot: #1122 (Minecraft 1.6.4) ClearLag config: http://pastebin.com/HZkPkyMy ClearLag customClears: http://pastebin.com/giNELW2z
The problem is that ClearLag is not working at all. I am using only 2 features of this plugin. One is auto-removal. I want it to remove all entities other than item frames in all worlds every 300 seconds. I have the warning set to true. The warning shows up every 300 sec. but the clear job is never done. Instead I get this error: http://pastebin.com/23Dg6r6E
I also use the customClears to silenty remove all item frames in the world "plots" every 120 seconds. This is working. (But I am not sure it is giving internal errors while executing.)
The "/lagg check" command also throws this error when executed: http://pastebin.com/uCzDZX85
Please tell me how to fix these problems. I really don't want to switch to another plugin because I like the simplicity here. But all those entitites are adding up and causing lag on the server.
Thanks!