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 10, 2014@LegendaryAdmin
The auto-clear section is backwards, you have to list what mobs you want cleared there. Same for the killmobs command section.
-
View User Profile
-
Send Message
Posted Jul 10, 2014I have minecart clearing set to false, but minecart chests still get cleared.
-
View User Profile
-
Send Message
Posted Jul 10, 2014Hi! I'm a PHP coder and I want to make a port of this plugin for PocketMine-MP Servers (for Minecraft PE) Can I do it? everything related to source code will be available on GitHub and Licensed obviously.
Thanks and congratulations for this awesome plugin!
-
View User Profile
-
Send Message
Posted Jul 9, 2014Can someone explain what arrow-killtime is? Thanks
-
View User Profile
-
Send Message
Posted Jul 9, 2014I am trying to make exceptions for peoples farms, I have added every mob to each list that I want ignored, and it is still removing almost all of the entities I want to be able to keep. On auto clear It leaves Mooshrooms and cats but that is it, on /lagg clear it takes everything but mooshrooms and horses >.> Here is my config can some one take a look at this for me? http://pastie.org/9372162
Oh and I am not sure if this is possible, but can we limit the amount of entities in an area? Say I want to limit each persons farming area to 300 entities in a 6 chunk area, can I do?
-
View User Profile
-
Send Message
Posted Jul 2, 2014Suggestion: how about adding commands to be run every time clearlagg auto removes?
-
View User Profile
-
Send Message
Posted Jun 30, 2014@PrimoHighDefinition
Read notes below update pls :)
-
View User Profile
-
Send Message
Posted Jun 30, 2014@Nussi1986
1.7.0 WILL automatically reset your config upon loading! This is due to a massive re-code! **
-
View User Profile
-
Send Message
Posted Jun 30, 2014@namico2000
No offense but that's really dumb question, next time read description of update/plugin and you'll know about the problem/changes.
So to answer your question here it's quote from update 2.7 of this plugin:
== 1.7.0 WILL automatically reset your config upon loading! This is due to a massive re-code! ==
-
View User Profile
-
Send Message
Posted Jun 30, 2014Been using ClearLagg for a while now, but it has started resetting the config on its own. I tried turning off the update settings, but it still returns the config to default upon server restart. Anyone have an idea on this? Console shows no information about config reset.
-
View User Profile
-
Send Message
Posted Jun 30, 2014Your error is indeed a Java version error : plugin might have been compiled with Javva 1.7 where you have 1.6. Maybe your java is up to date but your bukkit server is nor using the right one.
Open a shell or command and type java -version , should be 1.7 if not check if Java 1.7 is installed on your server and variables such as PATH, JAVA_HOME and CLASSPATH
-
View User Profile
-
Send Message
Posted Jun 30, 2014@Nussi1986
Same for me
-
View User Profile
-
Send Message
Posted Jun 29, 2014@joshuat3500
Yeah I updated the java on my computer if that's what ur asking
-
View User Profile
-
Send Message
Posted Jun 29, 2014Hey, in my Config broadcast is set to false but its still broadcasting the Removals.
Pls help
-
View User Profile
-
Send Message
Posted Jun 28, 2014@mikethebomb46
Have you tried checking for updates for your Java environment?
-
View User Profile
-
Send Message
Posted Jun 26, 2014Every time I run my server I get this error please HELP!! sry for it being long
[Server thread/ERROR]: 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.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugins(CraftServer.java:355) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.<init>(CraftServer.java:317) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at net.minecraft.server.v1_7_R3.PlayerList.<init>(PlayerList.java:68) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at net.minecraft.server.v1_7_R3.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] 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.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] 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.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit-1.7.9.jar:git-Bukkit-1.7.9-R0.1-6-g4d832c3-b3090jnks] ... 9 more [21:36:12] [Server thread/INFO]:
-
View User Profile
-
Send Message
Posted Jun 23, 2014when i try lagg tpchunk -163 -85 myworld it takes me to -1300 -2600
derp.. i shoukld have checked.. it was the correct chunk despite the announcement.
-
View User Profile
-
Send Message
Posted Jun 22, 2014@lsal
900 is 15min*60sec, 870 is 900sec-30sec
-
View User Profile
-
Send Message
Posted Jun 21, 2014How do I set it for a 15 Min auto removal with one 30 sec warning?
Anyone ??
-
View User Profile
-
Send Message
Posted Jun 20, 2014Will this plugin work with mobs from Mo' Creatures? I want to use it to clear the ambient mobs at random intervals, such as the ants.