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/
@metalhedd
That is deprecated, look at the broadcast-message node under removal. Or check http://dev.bukkit.org/server-mods/clearlagg/pages/config-setup/
@bob7l
[CLAG] Removed 4 Entities!
This Broadcast. The one specified in the config file as 'broadcast-message'. It is disabled in my config:
but is still appearing to all players every time clearlag runs.
Can we get a configurable warning message when clearing via limit too? Thanks.
@bob7l
Can you add multiworld config? Ex: I would like it into one of the worlds enable only animals & item/block clear but no mobs. Into an other world only the block/item (mine world) etc.
@bob7l
Yeah i over reacted, I figured most of it out haha. However an explanation page would be great.
@timosir
Disable the autoupdater.
error?
2012-12-24 19:02:42 [SEVERE] Error occurred while enabling ClearLag v1.6.1 (Is it up to date?) java.lang.RuntimeException: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine at me.MineBuilders.LaggClear.Updater.read(Updater.java:608) at me.MineBuilders.LaggClear.Updater.readFeed(Updater.java:557) at me.MineBuilders.LaggClear.Updater.<init>(Updater.java:187) at me.MineBuilders.LaggClear.ClearLagMain.setupUpdater(ClearLagMain.java:73) at me.MineBuilders.LaggClear.ClearLagMain.onEnable(ClearLagMain.java:31) 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_4_6.CraftServer.loadPlugin(CraftServer.java:278) at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:260) at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at me.MineBuilders.LaggClear.Updater.read(Updater.java:604) ... 15 more
@mrchasez
Hmm, good idea.. I'll get to work on it soon.
@bob7l
I don't really understand half the config questions. You should consider making an explanation page Is the interval in seconds or mins? What "limit?" I need some answers asap so i can set this up. Having issues with latest dev build. But i honestly don't understand, and i can't find any information
@Rosiepoo284
hehe just a tip, You can edit your posts ;)
@Rosiepoo284
Here is a list of valid mob ID's, http://dev.bukkit.org/server-mods/clearlagg/pages/mob-types/nodes/
For some reason bukkit assigns mobs strange names, like PigZombie
And yes it's all case sensitive!
As always everything working great :) Keep up the good work.
Thanks
ok wow, im really spamming your page up, sorry lol. There wern't many instructions on this so I had to test alot lol. anyways I finally got some of the mobs working by capitalising their names but the mobs with 2 word names will not work I've tried Zombiepigman, zombiepigman Zombie_Pigman, and their item ID, 57. none work. Do you know what will work?
sorry posting so much i keep discovering the real problem lol. I believe it works in all words except it does NOT clear any mobs. perhaps I am listing them wrong? I tried adding "monster: true" and I tried individualy adding - creeper, - zombie, What do I list them as? or is that broken?
Ok, it appears you put the one you want filterd out. The End still doesnt work. Havent checked nether yet.
what is "world filter"????????????? You put the world you want it to work in here, or you put the world you want filterd out of it here???????
I updated, everything seems to be working fine except entities in the End are not being removed.
@PhanaticD
The plugin functions perfectly on both 1.4.6, and 1.4.5. Check the config, maybe you have your worlds under world filter.
@charmechulo
Well, tell them not to pvp when they see the warning?
I have one Sugestion...When Clag work a Minute Before it should desactivate PVP for at least 1 Minute or something.. Because in my server it clear all the armor and weapons...so players came complain about losing itens in PVP.
Thank you