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 Mar 26, 2013@bob7l
Hey mate, config keeps resetting:
3-26 06:32:28 [INFO] [ClearLag] Disabling ClearLag v1.9.1
2013-03-26 06:32:28 [INFO] [ClearLag] ClearLag is now disabled.
2013-03-26 06:32:28 [INFO] [ClearLag] Enabling ClearLag v1.9.1
2013-03-26 06:32:28 [INFO] [ClearLag] Config not found. Generating default config.
2013-03-26 06:32:28 [INFO] [ClearLag] ClearLag is now enabled.
Here is our config:
http://pastie.org/7122785
Any idea why?
Update:
I added my config, and /lagg reload. The config works fine.
However when the server loads again, the config resets. So it's a plugin issue ;c
-
View User Profile
-
Send Message
Posted Mar 25, 2013Is something in this plugin causing chunks to not be unloaded properly or interfearing with spigot's GC? After using this plugin i have been noticing some odd behavior with chunk count rising and never being unloaded.
Using /lagg unloadchunks also acts abnormal as i use multivrese and have all worlds except the main world not kept in memory meaning is no player is in the world no chunks are loaded but using the above command forces all worlds spawn chunks to load and stay loaded when i have it set with multiverse to not do this.
More info and screen shots can be found below as i brought it up with spigot first thinking it might be a bug with them or craftbukkit.
http://www.spigotmc.org/threads/20k-chunks-30-players.1194/
-
View User Profile
-
Send Message
Posted Mar 24, 2013If boats or minecarts have passengers, plugin still removes them. Can you fix this?
-
View User Profile
-
Send Message
Posted Mar 24, 2013I'm a bit confused, does this:
Does that make it so that only 25 mobs can spawn per spawner?
-
View User Profile
-
Send Message
Posted Mar 24, 2013@JKnetz
Many plugins like AutoMessage (by ELCHINE0) can run commands at a configured interval, give them a go.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@bad339
Yup
-
View User Profile
-
Send Message
Posted Mar 22, 2013Would be nice if you can add an option to set a different automatic removal duration for mobs only. So different duration for mobs and entities.
-
View User Profile
-
Send Message
Posted Mar 21, 2013is this compatible with nolagg?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@PuremineServer
Lemme try to explain. As you know, mob spawners sometimes overspawn, causing massive tps drops. Well, every time a mob spawns from mobspawners with clearlag it checks to see if there are any other mobs nearby before spawning. If there are "max-spawn" amount of mobs, the entity doesn't spawn.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@datdenkikniet
Use the mob filter?
-
View User Profile
-
Send Message
Posted Mar 21, 2013can you (if it isn't too much to ask) make a command that kills just all of the hostile mobs?
-
View User Profile
-
Send Message
Posted Mar 21, 2013Hi, what does the mobspawner max-spawn do??
You dont have it updated in the config Thanks
-
View User Profile
-
Send Message
Posted Mar 21, 2013Help please! When I go to the config file and change the name, I do /lagg reload. then The name doesn't change, but in the config it is changed.. Help!
-
View User Profile
-
Send Message
Posted Mar 20, 2013@JKnetz
Yeah I'm planning on this
-
View User Profile
-
Send Message
Posted Mar 20, 2013Could you add mobs to the lagg limit?
-
View User Profile
-
Send Message
Posted Mar 19, 2013Is the /lagg clear command able to be done by the console?
-
View User Profile
-
Send Message
Posted Mar 19, 2013What does the "max-spawn" option under "mobspawner" do? Is it going to only allow x mobs per chunk?
-
View User Profile
-
Send Message
Posted Mar 18, 2013@M4RYJ0
Idk, I use regular bukkit broadcast API for it.. If it's using permissions, that could be a plugin overriding it.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@bob7l
The owner of this server will not do it and I think that its a bad idea to have it in there with 1.5 out anyways its your plugin just saying.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@bob7l I read all the permissions above and there is none to allow people to see the broadcasts. Is there a permission for this? I am using essentials group manager