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 4, 2015Can you add a command that can fix smooth-lighting errors? That would be very awesome if you can add that. Thanks! :)
-
View User Profile
-
Send Message
Posted Apr 2, 2015@norsemines
Ahhh EntityLimit. Was it the perchunk or total?
-
View User Profile
-
Send Message
Posted Apr 2, 2015@bob7l
Because now, when the clearlag jar has been removed from our plugins folder, Witherbosses stay until killed by players.
However. The server is using Spigot 1.8.3, and this was only noticed AFTER the upgrade from Bukkit 1.8 (latest), before that, several players killed withers without reporting that happening. So might be a bad combination. Don't know. Clearlag is great though, and if a 'skipping ticks' message shows up, it would get re-enabled.
Norsemines had entity limit's enabled, so my best bet is that it might have moved into chunks with too many entities if this is not a common problem. Like below a livestock farm, since the problem was reported and tested in a cave below where those exist.
-
View User Profile
-
Send Message
Posted Apr 1, 2015@norsemines
How do you know it's clearlag then?
-
View User Profile
-
Send Message
Posted Apr 1, 2015@norsemines
There are a few minor errors in the config text, and it can be confusing as they seem to contradict. I think the guidance text just needs a 'cleanup'
-
View User Profile
-
Send Message
Posted Mar 31, 2015@bob7l
In the example config it says.
In the generated config however, it says 'remove-mobs' instead of 'mobs' nowadays.
But i added 'Witherboss' to this filter section because it kept removing it, but it still made no difference.
-
View User Profile
-
Send Message
Posted Mar 30, 2015@norsemines
"remove-mobs" means REMOVE mobs. Not filter.
-
View User Profile
-
Send Message
Posted Mar 30, 2015@bob7l
Great to hear your still working on it :D
-
View User Profile
-
Send Message
Posted Mar 29, 2015@Theepwner
Yeah. And if you could - report any bugs you are aware of. It'll help speed up the process if you're very clear about how to reproduce them aswell.
- Also a note for everyone. When i release a build - it'll be different per version. I highly recommend you allow the auto-updater to select the version that'll work best with your server.
-
View User Profile
-
Send Message
Posted Mar 28, 2015Going to have an update any time soon, to fix some spigot 1.8.3 compatibility and other bugs?
-
View User Profile
-
Send Message
Posted Mar 25, 2015@MasterMithrandir
world filter 'exempts' hence you have '- this world' etc/. if you mean the cuatom clears .yml config (seperate)., I've no idea, i logged a ticket to ask, but no response as yet. i tested it on our test server both presuming it ran 'all the time' and then as a 'custom' operation in low TPS and neither worked as configured. (was testing against villagers, but that may have been the issue, not had time to look any deeper)
-
View User Profile
-
Send Message
Posted Mar 25, 2015Hello, could anyone tell me (As there is no configuration info regarding this):
¿What does the custom clears world-filter actually filter? Does it prevent the listed worlds from recieving the clearing action? Or does it actually clear the specified mobs in the filtered worlds?
-
View User Profile
-
Send Message
Posted Mar 25, 2015@Pablo_M98
We have the same problem. Please take a look at this in your upcoming version.
Great work by the way. Thank you!
-
View User Profile
-
Send Message
Posted Mar 22, 2015Hi. Clearlag is despawning witherboss'es on our server, How can i stop it from doing that?
adding WitherBoss to "remove-mobs:" autoclear filter did not seem to help.
-
View User Profile
-
Send Message
Posted Mar 21, 2015The chunk-entity-limiter removes the item frames and paintings also, you could make this not happen in the next update? The option reduces the lag but if this happens I cannot use this.
-
View User Profile
-
Send Message
Posted Mar 15, 2015Where Can I found My Plugins
-
View User Profile
-
Send Message
Posted Mar 12, 2015@Pablo_M98
Yeah it needs to be updated
-
View User Profile
-
Send Message
Posted Mar 11, 2015This is relevant using Spigot 1.8.3?
[ClearLag] mob-range requires you to use bukkit v1_8_R1 (1.8 Spigot)
-
View User Profile
-
Send Message
Posted Mar 11, 2015@Dynamite_Dez
Have you tried to change the
broadcast-message: '&4Ground items have been removed!]'
to
broadcast-message: ''
-
View User Profile
-
Send Message
Posted Mar 10, 2015ClearLag doesn't work for me, no matter which version I use, I tried the latest, and then downgrade from there, however no matter what, I keep getting
"[11:35:59] [Server thread/INFO] [Minecraft/]: [ClearLag] Loading modules... [11:35:59] [Server thread/INFO] [Minecraft/]: [ClearLag] Config not found. Generating default config... [11:35:59] [Server thread/INFO] [Minecraft/]: [ClearLag] Updating config to v2.7.5... [11:35:59] [Server thread/ERROR] [Minecraft/]: Error occurred while enabling ClearLag v2.7.5 (Is it up to date?)"
It also generates a config file, though it's always empty, and if I try to add something to it, it just empties itself again. I'm running 1.7.10, and I have no issues with any other plugins, other than this one.