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 Jun 26, 2013multiworld is supported? (sry for my bad english)
-
View User Profile
-
Send Message
Posted Jun 25, 2013@Darkseno
Yes the TPS meter is broken.
-
View User Profile
-
Send Message
Posted Jun 25, 2013The plugin does not work for me since the update 1.5.2-R1.0!
Here is the error message: http://pastebin.com/pfqPUqnw
This error occurs when I use the command "/ lag tps" The Tps appears to "0.0" and the error occurs every second in the logs!
-
View User Profile
-
Send Message
Posted Jun 24, 2013@Flipperflies555
There is API
clearlaginstance.getEntityManager()
-
View User Profile
-
Send Message
Posted Jun 23, 2013add an api to it!
-
View User Profile
-
Send Message
Posted Jun 23, 2013@deaddude22
Just added the config you said to use. The auto clear took place and removed all the paintings sgain.
-
View User Profile
-
Send Message
Posted Jun 23, 2013@drob2897
To completely stop the clearing of your paintings some other settings in your plugin had to be changed but this config should work successfully
http://pastebin.com/rHFMKdcG
-
View User Profile
-
Send Message
Posted Jun 22, 2013@deaddude22
I added your config but it still clears my paintings
-
View User Profile
-
Send Message
Posted Jun 22, 2013@Octrons
The config setup: http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/config-setup/ should help you with that. Look for the "#What should/not be removed during an auto-removal" section you can easily find this in the page by ctrl + f.
@mat41997
The plugin is fully working on the latest version of bukkit on my part what troubles are you encountering?
@drob2897
I fixed this for you: http://pastebin.com/UCd4yRRU
You had it so paintings were auto-removed on the sequence.
-
View User Profile
-
Send Message
Posted Jun 21, 2013Feature Request: /lagg timer
/lagg timer [view]
- gets the time until next removal (so you don't have to sit around waiting for the warning)
- default: default rank
/lagg timer set <time before next removal>
- set the time until next removal (just because it could be useful someday)
- default: operator
/lagg timer delay <global delay between removals>
- set the time in the config between removals (in game command vs. external config editing is easier and less prone to error)
- default: operator
Permissions:
lagg.timer.* grants access to all /lagg timer commands
lagg.timer.view grants access to just /lagg timer [view]
lagg.timer.set grants access to /lag set timer <minutes and/or seconds>
lagg.timer.delay grants access to /lag timer delay <minutes and/or seconds>
-
View User Profile
-
Send Message
Posted Jun 21, 2013@deaddude22
My Config as requested: http://pastebin.com/VZPagTiZ
-
View User Profile
-
Send Message
Posted Jun 21, 2013Up date this plugin
-
View User Profile
-
Send Message
Posted Jun 21, 2013pleas add devbuild list for this plugin
-
View User Profile
-
Send Message
Posted Jun 20, 2013Great plugin! Highly recommended! Boosts your server performance by actually clearing Lag! Thanks bob7l!
-
View User Profile
-
Send Message
Posted Jun 20, 2013Nice plugin! :)
-
View User Profile
-
Send Message
Posted Jun 20, 2013Hello, i run a server with the plugin quickshop, is there anyway to get this plugins to stop clearing the shop icons?
-
View User Profile
-
Send Message
Posted Jun 19, 2013@DokuProductions @drob2897 Can you provide your config to me?
@diannetea Yes this can be done. There is a guide: http://dev.bukkit.org/server-mods/clearlagg/pages/config-setup/ showing you how to achieve this.
@MasterMithrandir No the chunk will stay the same, it only makes your server reload the chunk to free up RAM on your server.
@craftik7 This plugin seen 100% compatible with 1.5.2 just report any bugs you have in a ticket for the developer to overview.
-
View User Profile
-
Send Message
Posted Jun 19, 2013@DokuProductions
Same issue here. Remving paintings all the time. Not good considering I had a maze made out of paintings :(
How can this be stopped?
-
View User Profile
-
Send Message
Posted Jun 19, 2013Is there any way that instead of continually running the cleaning command it could just scan for the amount of entities and if it is over a set amount it will THEN clean?
-
View User Profile
-
Send Message
Posted Jun 19, 2013Will unloading chunks cause them to regenerate completely virgin when getting near them again?