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 Dec 24, 2014@IrParadox
No no no, don't add it to the /lagg clear filter. That's a REMOVE filter
-
View User Profile
-
Send Message
Posted Dec 23, 2014@BashyDaBest
You should be able to disable it for certain worlds with the world filter in the autoclear and /lagg clear sections. I have not used this feature for worlds, but I do have issues with the filters for both these in 1.8
-
View User Profile
-
Send Message
Posted Dec 23, 2014Yeah, this is not working at all with the armor stands. I have added ARMOR_STAND, 416, armorstand and all other variants into the configs under auto removal and under /lagg clear. Still removing armor stands.
EDIT: Ok, so it works in /lagg area to put the ARMOR_STAND in the filters. But does not seem to be working in any other filters.
-
View User Profile
-
Send Message
Posted Dec 22, 2014I just wanna thank you for reading this. I was wondering if you could make it so you can disable it in certain worlds, if you can, that would be awesome.
-
View User Profile
-
Send Message
Posted Dec 22, 2014What exactly does '/lagg halt' stop? I can't find it anywhere...
-
View User Profile
-
Send Message
Posted Dec 22, 2014Bug report: Using Spigot 1.8, turning on spawner limit would cause monsters not spawning at all in the whole world.
-
View User Profile
-
Send Message
Posted Dec 21, 2014@Shooty_
Add this to the ticket section
-
View User Profile
-
Send Message
Posted Dec 21, 2014@Har88
Weirdly enough, the armor stand is considered a LIVING entity, rather then just an entity. So you need to add "ARMOR_STAND" to all your mob filters.
-
View User Profile
-
Send Message
Posted Dec 21, 2014Could someone make a writeup of all 1.8.1 bugs effecting clearlag? I'm going to attempt to create a version for it.
-
View User Profile
-
Send Message
Posted Dec 20, 2014Third repost since no answer.....
Hi bob7l, i would like to see something for "limiting entities in chunk".
I have a skyblock with lot of entities, the idea would be that instead of killing all entities if there's too many, (or i don't know maybe it's already doing that) just reduce entities in the chunk to the max entities.
Also if it's already doing that i have an other suggestions. Let's say a player have too many entities in one chunk, can we do a LIST of what the plugin is suppose to remove first ? Like "item-frame, onGroundItems, Villager" This way, player won't complain, like "Oh no all my villagers are gone". No, just item-frame and onGroundItems would be deleted.
Let's say there a limit of 35 entities in a chunk. And here, a chunk have 60 entities Our list look like that : "item-frame, onGroundItems, Villager". And there's like 10 Item-frames, 30 onGroundItems, and 20 Villagers. Clearlagg will look in order the "List", and kill the right entities. Instead of killing randomly / all of entities, it would kill 10 Item-frames plus, 25 onGroundITems.
this would be awesome.
-
View User Profile
-
Send Message
Posted Dec 20, 2014@bob7l
Hmmm do you have a public version that doesn't have bug with Remove message bug?
-
View User Profile
-
Send Message
Posted Dec 19, 2014It's removing armorstands, running latest spigot 1.8 please fix ASAP.
-
View User Profile
-
Send Message
Posted Dec 18, 2014@TheChampTFMineCraftLegend
The issue isn't the plugin, it's the API from spigot-1.8 that's dead.
-
View User Profile
-
Send Message
Posted Dec 18, 2014@icecoldpanda
@bob71
Any help please? =)
-
View User Profile
-
Send Message
Posted Dec 17, 2014@bob7l
Would be great with a dev. build, even if it's only working 80%
-
View User Profile
-
Send Message
Posted Dec 17, 2014Is there no one that can explain to me why the auto removal also takes away the animals that I have listed that it shouldn't remove?
-
View User Profile
-
Send Message
Posted Dec 17, 2014@bob7l
Yeah i started having problems with my server. Crashes, something is wrong with blocks
-
View User Profile
-
Send Message
Posted Dec 16, 2014@eimantasd
I disagree. As a very active plugin programmer, i can acurratly say Spigot 1.8 builds are NOT stable enough for plugins to properly be ran on them.
I'm absolutely amazed Md_5 and the contributers took all that time updating spigot to 1.8 for FREE. He plays a large role in the growing minecraft server community.
I will not be releasing an OFFICIAL 1.8 update of clearlag, but i may release a beta on spigots website (seeing as it's MADE for spigot if it runs on 1.8 lol).
-
View User Profile
-
Send Message
Posted Dec 16, 2014So..... Idk if im just being stupid or what..
In the config, I have warnings for auto removal set up like this.
http://gyazo.com/4044d17194d26c4a3cf3493f531041d7
For some reason in the server.... the 10 second one goes off, then the 30 second one like 10 - 15 seconds later. That's all I can get... Any ideas?
-
View User Profile
-
Send Message
Posted Dec 16, 2014When I add in the auto remove that it should not remove cows, chickens and so on, it still does. Anyone got any tips on the matter?
This is a copy from that section of the config file: