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 Sep 2, 2016@sethgandy
If the auto-message is causing clutter, you're most likely running the clear task on a very small timer which isn't a good idea.
I'll re-invent the broadcasting to allow for disabling of console logging, and or player messaging.
-
View User Profile
-
Send Message
Posted Sep 2, 2016@PhanaticD
That's because the entity limiter only limits living entities i believe. BUT! That is a pretty good idea to limit sand/falling blocks aswell. I might make a fallingblock-limiter in the next version.
-
View User Profile
-
Send Message
Posted Sep 2, 2016Is there a way to completely disable the broadcast of clearlagg? Just does it's job silently in the background? It's cluttering up my console pretty bad. Every time I comment out the broadcast message it still displays.I have all the broadcast-removal's set to false too. Still pumps out messages.
-
View User Profile
-
Send Message
Posted Sep 1, 2016i put FallingSand in the chunk entity limiter which is set at 60 max, and this worldedit put in 1100 falling sands and they were not blocked https://gyazo.com/440fc979443060b54f2d78c633a8d774
-
View User Profile
-
Send Message
Posted Aug 29, 2016@krustymk
I wasn't even aware world names could contain spaces
-
View User Profile
-
Send Message
Posted Aug 29, 2016How do you tpchunk to a world that has spaces in the name? Ive tried 'The World, "The Wolrld", [The World]
Thanks
-
View User Profile
-
Send Message
Posted Aug 26, 2016Is there a way to make it so if there is 200 Entities[etc] on the ground it auto clears lag?
-
View User Profile
-
Send Message
Posted Aug 25, 2016Hi bob7l,
Please add a flag to disable broadcast messages on the console?
-
View User Profile
-
Send Message
Posted Aug 24, 2016@BoyJamal
I can't fix that. Clearlag uses Bukkit API to unload chunks
-
View User Profile
-
Send Message
Posted Aug 23, 2016@bob7l when i run the lagg unloadchunks it clears my npc's. if i dont run this command it will lag my server so bad that the server goes from 19.95 tps to under 16.
-
View User Profile
-
Send Message
Posted Aug 17, 2016-
View User Profile
-
Send Message
Posted Apr 8, 2017try /lagg kill instead.
-
View User Profile
-
Send Message
Posted Aug 13, 2016@bob7l
Any chance you could add in a way to make it so you can do new lines easily for broadcast messages? Possibly a new string set for how you get warning messages like:
warnings: '1': time: msg: '2': time: msg: '3': etc... time: msg:
-
View User Profile
-
Send Message
Posted Aug 13, 2016@OTF_Catastrophe
I'm not sure
-
View User Profile
-
Send Message
Posted Aug 13, 2016Hey bob7l, is there any effective way to set new lines in the config section for broadcast-removal? I know it's definitely possible to do the clear message with the YAML formatting '|-' but since the removal message has the strings time and msg I'm finding it very difficult finding out a format that would still be able to be read by the plugin. Any help?
broadcast-removal: http://pastebin.com/zdhCMXUE Working ^^
warnings: http://pastebin.com/tAqUJA6e Not working Also, closest attempt so far
-
View User Profile
-
Send Message
Posted Aug 10, 2016@MarckNoel
Was due to Curse-API changing and instead of altering the links, made the links return an HTML temp-moved error which caused clearlag to download the page instead of the new update.
-
View User Profile
-
Send Message
Posted Aug 10, 2016@Slothiful Same thing happened to my server. It suddenly stopped working.
-
View User Profile
-
Send Message
Posted Aug 8, 2016Is there a chance that ClearLag has a bug that instantly clears items dropped on player death? I have disabled all relevant-looking config options, and the effect still occurs.
-
View User Profile
-
Send Message
Posted Aug 4, 2016ClearLag literally just stopped working for no reason in-game. I haven't touched the config in a few weeks. I'm running Spigot 1.10 and found another user with this issue on Bukkit 1.8.9. All the commands associated with the plugin are unknown. Please help!
EDIT: A re-installation fixed the issue.
-
View User Profile
-
Send Message
Posted Jul 31, 2016@Lostfinbar
Unloadchunks uses Bukkit's API to unload the chunks. If it's not properly de-populating the chunks properly then it's defiantly a Bukkit issue.
If you're using Spigot, i highly recommend you ignore unloadchunks. This command was developed for very old craftbukkit builds when chunk-unloading wasn't very smooth.