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 May 26, 2019Would anyone like me to add a chunk generator function similar to WorldBorder's? It would allow for you to render chunks within either your vanilla world bounds, or a square radius.
Chunks are becoming increasingly difficult for the server to generate without absolutely destroying the servers tps. Having them pre-rendered before allowing players onto the server will help solve this issue without having to result to hacky chunk queuing.
-
View User Profile
-
Send Message
Posted May 26, 2019In reply to bob7l:
Honestly it would be worth a try. 1.14.1 in general isnt chunk load friendly and I could see the same thing happening in the future even if they fixed it for now.
-
View User Profile
-
Send Message
Posted Jun 2, 2019In reply to bob7l:
A chunk pre-generator already exists, I don't think that adding an already existing plugin to ClearLagg is needed.
-
View User Profile
-
Send Message
Posted May 25, 2019Does SaveDeathDrops still work with this ????
-
View User Profile
-
Send Message
Posted May 26, 2019In reply to lRobertRS:
No clue if it works on versions behold 1.8. It should hold up
-
View User Profile
-
Send Message
Posted May 19, 2019is version 3.0.3 working for 1.14.1?
is the dev builds? if so the like on here is not working.
-
View User Profile
-
Send Message
Posted May 25, 2019In reply to wksjim2370:
Yeah it should work fine for 1.14.1. If it doesn't, I'll release a build specifically for 1.14.1
-
View User Profile
-
Send Message
Posted May 16, 2019plasee update to 1.14.1 thanks xD
-
View User Profile
-
Send Message
Posted May 15, 2019I'm using the latest version of the plugin uploaded to bukkit (v3.0.3 marked for 1.13), and it doesn't seem to be unloading chunks correctly (probably due to changes in 1.14/.1) I'm currently using paperspigot for 1.14.1, but the problem occurred on spigot 1.14.1 as well as spigot 1.14. When I manually or automatically run /lagg clear, it also seems to be clearing particularly low numbers of entities, but that may just be circumstantial. The chunks, however, seem to fluctuate between 10,000-15,000 loaded at once (lowers to 10,000 when nobody is on the server, but still lags heavily).
/lagg check and result from /lagg unloadchunks
Edit: Also seems to think there are 6 players alive, but there should only be 2.
-
View User Profile
-
Send Message
Posted May 16, 2019In reply to Fjorskin:
Your server is verrry misconfigured or you have a severely broken plugin. 1400 entities is an absurd amount to have with that amount of players. Especially the chunks loaded (Did you enable auto-save?)
-
View User Profile
-
Send Message
Posted May 16, 2019In reply to bob7l:
I'm having a similar problem where chunks loaded is at around 1800 but during times where only two players are on; and trying to use /lagg unloadchunks only tells me 0 chunks have been unloaded?
-
View User Profile
-
Send Message
Posted May 18, 2019In reply to Type_3:
Idk, possibly keeping redstone chunks active. /lagg unloadchunks will only unload chunks not being used by the server
-
View User Profile
-
Send Message
Posted May 15, 2019Hello, can I somehow use custom commands in the warnings section of the config?
-
View User Profile
-
Send Message
Posted May 16, 2019Bump! This or just a way for me to transfer ClearLagg messages to actionbar.
-
View User Profile
-
Send Message
Posted May 19, 2019Bump. Please answer.
-
View User Profile
-
Send Message
Posted May 14, 2019How do I filter the things I don't want to be removed from the game? When it comes to auto clear and /lagg clear. If you wouldn't mind putting an example that would be great. Thanks.
-
View User Profile
-
Send Message
Posted May 14, 2019In reply to Mykellpc:
Read the config comments (Marked by #). They'll give some insight into what exactly each section controls.
auto-removal only removes the entities you have set for it to remove. So if you don't want items to be removed, set "item: false". If you want to filter specific items, append the material names to "item-filter:".
-
View User Profile
-
Send Message
Posted May 14, 2019You're gonna update to support 1.14?
-
View User Profile
-
Send Message
Posted May 14, 2019In reply to cabeca14398576:
It should work fine for 1.14? I've yet to receive any reports saying otherwise.
Aside from not specifying an api-version, it shouldn't cause any problems.
-
View User Profile
-
Send Message
Posted May 12, 2019it works but please fix this.
Server thread/WARN Plugin ClearLag v3.0.3 does not specify an api-version.