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 Jul 29, 2014@JRPenza620
Only reason the config would be resetting would be due to a YAML error. I suggest you run it through a parser.
-
View User Profile
-
Send Message
Posted Jul 29, 2014Every time my server restarts, the config sets back to default. How can I fix this?
-
View User Profile
-
Send Message
Posted Jul 28, 2014You can't fucking change the prefix I change it it uses its own for some reason and DONT say I didn't save it/didnt reload the config was saved... not the first one with this issue
-
View User Profile
-
Send Message
Posted Jul 28, 2014@TWSSYesterday
By me with 1.7.10 comes this error in Logfile.
[ClearLag] mob-range requires you to use bukkit v1.7_r3
Have clear old config and restart new but same error
-
View User Profile
-
Send Message
Posted Jul 24, 2014What exactly does /lagg halt do? I know it "halts server activity" but what? Is it dangerous to use?
-
View User Profile
-
Send Message
Posted Jul 23, 2014pls updating to bukkit 1.7.10
-
View User Profile
-
Send Message
Posted Jul 23, 2014Players constantly use their kits and receive valuable items. Sometimes they do not notice the alerts and clearlagg's auto-removal rids of their items. I would love to see a command such as /lagg time or /eclear time to check when the next auto-removal is. It could display something like this:
"Entities will be cleared in X minutes"
I think this would be a great addition to an already exceptional plugin.
Thanks!
-
View User Profile
-
Send Message
Posted Jul 23, 2014@bob7l
When can we expect new version that doesn't reset config?
-
View User Profile
-
Send Message
Posted Jul 21, 2014I can't seem to keep it from clearing Mooshrooms. It also seems to have stopped running scheduled clear lagg...I don't understand why-can some one please have a look at this config? http://pastie.org/9410235
-
View User Profile
-
Send Message
Posted Jul 19, 2014This plugin was compiled for java 7. Please update to java 7 in order to properly use this plugin. If you wish to keep your java 6, downgrade to 2.7.0
-
View User Profile
-
Send Message
Posted Jul 19, 2014Sorry for my english. Can i disable the clearlag message in my latest.log ?
-
View User Profile
-
Send Message
Posted Jul 18, 2014How does one make clearlagg not clear items,entities etc?
-
View User Profile
-
Send Message
Posted Jul 17, 2014@mikethebomb46
Install java 7
-
View User Profile
-
Send Message
Posted Jul 16, 2014I have been having an issue where users cannot see when entities cleared. it seems to not broadcast to non-opped players, but broadcasts to me while I am Op. This happened a couple days ago, how can I fix this?
-
View User Profile
-
Send Message
Posted Jul 16, 2014Make please spawner spawn rate in ticks or seconds, its can be very useful for my server :)
-
View User Profile
-
Send Message
Posted Jul 15, 2014pls update to bukkit 1.7.10
-
View User Profile
-
Send Message
Posted Jul 15, 2014Is there any way we can get a filter on what entities are auto-removed when chunk-entity-limiter is set to true? I suspect there was good reason to remove the toggle for the command just auto-removing instead of having the option to simply prevent further spawns. However, with this option on, I would prefer to be able to, for example, not have it automatically destroy Villagers, but things like passive mobs, cows, etc are fine.
Great work either way!
-
View User Profile
-
Send Message
Posted Jul 15, 2014So i set the auto-removal-interval at 1020 seconds, and the check interval at 960 seconds so it should warn players about it 1 minute before it happens, but it keeps sending a msg every 60 seconds. I want it so it auto removes every 1020 seconds and warns a player 1 minute before. plz help
-
View User Profile
-
Send Message
Posted Jul 11, 2014como quito este mensaje pues me moleta que sea el Único erro de todo mi server mob-range requires you to use bukkit v1.7_r3 y el actualizar a v1.7_r3 no entiendo eso de r3
-
View User Profile
-
Send Message
Posted Jul 11, 2014i am running a 1.7.9_RO.1 craftbukkit server and all the other pluins on the server work except for clearlagg and i updated my java on my computer to Version 7 update 60. I am still geting this error everytme i run the server...
Could not load 'plugins\ClearLagg_v2.7.1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/minebuilders/clearlag/Clearlag : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.<init>(CraftServer.java:317) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.PlayerList.<init>(PlayerList.java:68) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] Caused by: java.lang.UnsupportedClassVersionError: me/minebuilders/clearlag/Clearlag : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_25] at java.lang.ClassLoader.defineClassCond(Unknown Source) [?:1.6.0_25] at java.lang.ClassLoader.defineClass(Unknown Source) [?:1.6.0_25] at java.security.SecureClassLoader.defineClass(Unknown Source) [?:1.6.0_25] at java.net.URLClassLoader.defineClass(Unknown Source) [?:1.6.0_25] at java.net.URLClassLoader.access$000(Unknown Source) [?:1.6.0_25] at java.net.URLClassLoader$1.run(Unknown Source) [?:1.6.0_25] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_25] at java.net.URLClassLoader.findClass(Unknown Source) [?:1.6.0_25] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.6.0_25] at java.lang.ClassLoader.loadClass(Unknown Source) [?:1.6.0_25] at java.lang.Class.forName0(Native Method) [?:1.6.0_25] at java.lang.Class.forName(Unknown Source) [?:1.6.0_25] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit-1.7.9-R0.2.jar:git-Bukkit-1.7.9-R0.1-10-g8688bd4-b3092jnks] ... 9 more