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 Apr 30, 2013Makeing it clear XP orbs is smart, that is another laggy thing in some servers.
-
View User Profile
-
Send Message
Posted Apr 30, 2013i want set time clearlagg example clearlagg at 20 minutes or 30
-
View User Profile
-
Send Message
Posted Apr 29, 2013Hi,
I'm wondering if this plugin affects xp orbs dropping from npc vs npc fights. I have the myPet plugin and it seems that ever since installing this plugin, mobs no longer drop xp orbs when killed by pets. I disabled all experience-orb related config settings, but it doesn't seem to help.
I'm not entirely sure that this plugin is the cause of my problem, but I figured it would be worth checking.
Thanks for your help!
-
View User Profile
-
Send Message
Posted Apr 29, 2013Please make a place where you show the permissions.
-
View User Profile
-
Send Message
Posted Apr 27, 2013@br45entei i agree with you
Also can you make from what people the clearlagg starts working becouse it also annoying when you are doing something and you only one and you see only these messages
-
View User Profile
-
Send Message
Posted Apr 26, 2013I love this plugin, it has really helped my old server out, but I have one proposal: Could you make it so that it doesn't do it's routine lagg clearing if there are no players online? The many messages of "Removed 0 Entities!" is somewhat of an eyesore when scrolling through the server log. Thanks,
-Brian_Entei
-
View User Profile
-
Send Message
Posted Apr 26, 2013@Nikecow
That solution did not work. Any other Ideas?
-
View User Profile
-
Send Message
Posted Apr 26, 2013@Erozionn
See http://dev.bukkit.org/server-mods/clearlagg/?page=3#c649
-
View User Profile
-
Send Message
Posted Apr 26, 2013Do you know why my config gets reset when I do a server restart?
-
View User Profile
-
Send Message
Posted Apr 26, 2013@bob7l
Thanks, but the world filter are that for the world I will take stuff away from or the worlds NOT will take away the stuff (In customClears.yml)?
-
View User Profile
-
Send Message
Posted Apr 25, 2013@bjonness98
You could make your own custom events with customClears.yml
-
View User Profile
-
Send Message
Posted Apr 25, 2013Do you can add shorter interval in some world? So for example in kit-pvp it remove items every minute, but in survival every 5 minute.
-
View User Profile
-
Send Message
Posted Apr 25, 20131,964,623 Downloads
Good job !
-
View User Profile
-
Send Message
Posted Apr 24, 2013@bob7l
Allright then.
I though you needed more idea for your plugin.
But if you mainly want to stuck to clearing ground items then thats fine.
However that does not have much impact on the lag (unless there is a massive amount of items)
-
View User Profile
-
Send Message
Posted Apr 24, 2013im using clear lagg 1.3.1 with config but i can't seem to get it to give a warning broadcast 1 minute before the program is run
-
View User Profile
-
Send Message
Posted Apr 24, 2013@lenis0012
I've already told you, the point of the chunk command is to unload chunks, not to clear lag. I'm NOT going to override anything minecraft related, nor will i add any dependencies like protocollib. I have NO idea why your turning this into such a big deal..
-
View User Profile
-
Send Message
Posted Apr 24, 2013@bob7l
I do agree with that though.
Wouldn't it be better if you make a chunk system with a lifetime value.
That after a certain amount of ticks the chunk is not being used the chunk unloads.
You can make this with BKCommonLib or ProtocolLib
Record a ChunkMap packet being send and by that you can unload chunks when they aren't used alot.
Because when you call chunk.unload and anorther player needs the chunk to be loaded it will cause lags.
A.K.A the spawn chunk.
-
View User Profile
-
Send Message
Posted Apr 24, 2013Item Merger seems to stack unstackable items, even duping of enchanted items when merged with unenchanted ones.
-
View User Profile
-
Send Message
Posted Apr 23, 2013@lenis0012
I think you are mistaken, look at CraftWork.java#172 the isChunkInUse(x, z) at PlayerChunkMap.java#76 is used to know if the chunk is in use, the method does return a PlayerChunk but does not create (or load) a new one if not set to.
-
View User Profile
-
Send Message
Posted Apr 23, 2013@lenis0012
The command simply unloads chunks, whether it causes lag or helps remove lag isn't the point of the command.. It was added to UNLOAD