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 Feb 2, 2015@uncovery
Delete the chunk/build completely. Most likely corrupted chunk IMO.
-
View User Profile
-
Send Message
Posted Feb 2, 2015I have found a build in the nether of my server. Whenever someone is near that, the TPS drops from 20 to 10. Any other time the server is fine. There is no redstone, no mobs, nothing that I could identify as a source of lagg.
when I use any of the /lagg commands, nothing improves, until I use /lagg halt. Then it improves. On restart, the issue is there again. How can I find out what the exact issue is?
-
View User Profile
-
Send Message
Posted Feb 1, 2015@TSGMigueL
Yes if you download the build designed for 1.8
-
View User Profile
-
Send Message
Posted Feb 1, 2015Funciona no Spigot 1.8?
-
View User Profile
-
Send Message
Posted Feb 1, 2015@Marium0505
No because that defeats the purpose of having the "for 'version'" next to the download name. If you have clearlag auto-updater enabled, you don't have to worry about updating manually. It'll select the best build for your server automatically.
-
View User Profile
-
Send Message
Posted Feb 1, 2015When you upload a new version could you make it easier to see whether the file is for 1.8 or 1.7.9? :P
Ie. call the files you uploaded a few mins ago: ClearLag v2.7.6 (1.8) :)
Thank you for a great plugin, it's been used on all my servers! :)
-
View User Profile
-
Send Message
Posted Feb 1, 2015@bob7l
Tanks
-
View User Profile
-
Send Message
Posted Feb 1, 2015custom clears look interesting, how do we configure these? Are they run from a trigger in the main config, or run on a set time interval if enabled? Thanks
-
View User Profile
-
Send Message
Posted Feb 1, 2015@bob7l
amazing work, thank you so much! :D
-
View User Profile
-
Send Message
Posted Feb 1, 2015Oh nvm, they were approved within minutes. GJ Curse staff!
-
View User Profile
-
Send Message
Posted Feb 1, 2015The newer builds have been uploaded. There are two, one for 1.7.10below, and one for 1.8+.
Wait for Curse to approve
-
View User Profile
-
Send Message
Posted Jan 31, 2015@keelos123
/lagg gc Basically ASKS java to use the Garbage cleaner immediately. Although it's possible JAVA will reject your request.
Or in other words: The VM controls the GC. So doing /lagg GC will simply suggest that the VM should do a COMPLETE garbage cleanup which could lead to some CPU usage for a short while. I wouldn't use this in an interval, only use this command if you're having an issue with memory leaks.
-
View User Profile
-
Send Message
Posted Jan 31, 2015@bob7l
can't wait for it because I really need it :D Ill keep an eye on this plugin ;)
-
View User Profile
-
Send Message
Posted Jan 31, 2015There is a command where u do /lagg gc - It says garbage collect. What does it do and also update for latest 1.8
-
View User Profile
-
Send Message
Posted Jan 30, 2015@marcocount
Yes yes, i'm fully aware of this issue. To resolve it yourself, add armorstand to your killmobs filter.
-
View User Profile
-
Send Message
Posted Jan 30, 2015@ShaneHD
It already does that. If it's clearing boats then your Bukkit build is flawed.
-
View User Profile
-
Send Message
Posted Jan 30, 2015@bob7l: In the 1.8 release can you please make it so when boats get cleared, it doesn't clear the boat you are using. That would be amazing, and that is the only flaw to clearlagg.
-
View User Profile
-
Send Message
Posted Jan 30, 2015@bob7l
RELEASE THE UPDATE FOR 1.8! Lagg killmobs remove armor stands!
-
View User Profile
-
Send Message
Posted Jan 29, 2015@bob7l
Putting the ArmorStand item ID into area filter or any other filter in the config should fix the issue for ClearLag. WorldGuard recently updated their /butcher to not remove armorstands (Dev build only though) so if anyone has issues with that I'd recommend grabbing it from their build page
@RedFactionDZ
Saying "ClearLag doesn't work" isn't going to help fix your issue. Was any sort of error thrown in the logs on start?
-
View User Profile
-
Send Message
Posted Jan 28, 2015@WhosHenry
Mojang decided to make Armor stands into LivingEntities. I suppose they decided it would just be faster to use LivingEntities methods lol. So in other words - No i cannot fix that.