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/
How to avoid the minecarts desapear?
Are we able to disable specific mobs from spawning so we're able to optimize the server and just allow necessary mobs to spawn?
is there a way to prevent named hostiles mobs being removed by clearlag?
In reply to Robomnz:
You Can Do /killall named
In reply to minecraftcoolgamer6:
how can avoid the minecarts disapear?
Me and my friend were playing on our server and one of us died just as the countdown for clearing entities started, this resulted us in losing most of our valuable items. Make sure you do not do the same mistake.
i have a question, armor stands are affected?
I have the latest version of Clearlag 3.1.6, But it keeps saying there's a New Version 3.1.6 everytime I log in
this plugin is great to reduce lag, or to check the laggest chunk and other good stuff! please update it to 1.16+ as it's one of the most important plugins on any server.
if you have it ready for 1.16+, but can't find time to test it you could just release it as a beta version for 1.16+only, and let us test it. We can easily report any issues we find.
can someone tell me how can i turn off the announcements? it really upsets me and the players
In reply to Forge_User_73550933:
If we are using the same plugin here, you should be able to open your configuration file and in several areas you will see this:
global-broadcasts:
enabled: [here is true or false]
broadcast-removal: [true/false]
command-remove:
world-filter:
- [yourworld]
broadcast-removal: [true/false]
limit:
enabled: false
max: 1000
check-interval: 60
broadcast-message: 'removal message'
world-filter:
# - this_world <-This world will be ignored during removal!
broadcast-removal: [true/false]
There will be sections like this in your entire configuration file!
Take a deep breath, go slowly and read everything. You can do this. So can anyone.
Upgrade to (API 1.16.3)
I believe that many entities are being placed > without control
hi i am using thin on my mc server but is there a way to make it not clear lagg my hopperminecraft? or add spceal items not to clear
In reply to realtsg12:
Hey bro, i was having the same problem as you, all i did was going to config.yml and doing some editting. In the lines after "auto-removal" (around line 318) there is a "world-filter" and a minecart line set to true. All you gotta do is set this line to false, and it should end your problem!
auto-removal:
enabled: true
broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
broadcast-removal: true
autoremoval-interval: 600
world-filter:
# - this_world <-This world will be ignored during removal!
boat: true
falling-block: true
experience-orb: true
painting: false
projectile: true
item: true
itemframe: false
minecart: false
primed-tnt: true
If you want it to not despawn while doing the "/lagg clear" command, just look for the lines bellow "command-remove" and do the same as said above
command-remove:
world-filter:
# - this_world <-This world will be ignored during removal!
broadcast-removal: false
boat: true
falling-block: true
experience-orb: true
painting: false
projectile: true
item: true
itemframe: false
minecart: false
primed-tnt: true
Hello, i was wondering if there's a way to enable the player speed limiter when the server is overloaded because i can't figure it out. It'd be appreciated if someone could help me with this, thanks!
1.16.1 ?????
In reply to Walberson:
Yes, if it says its 1.16 it is 1.16+
Hello, I'm a Chinese netizen.My English is not good.But I wish you can listen to me opinion.
I have a question for this plugins.
I want to use chunk-entity-limit features.But when I try Limit the number of entities separately.
I found that I couldn't.I don't know if this is my problem.Or this plugins unable to implement this function?
I hope you can answer my questions. And If the plugins does not have this function.
Maybe you can add this feature?
how can i change the time to increase the time ?
I recently found an issue with this plugin on my server where it was still removing named zombies in my world when the chunks were unloaded. I do not know what exactly was causing this issue but I was able to fix it by editing the config.yml file and locating all of the areas addressing the removal of entities where "Zombie" was mentioned and putting " !hasName" after "Zombie" there was one location where the "!" was actually missing and that was here:
this is how the config was before I edited it, I am unaware of if this is how it is supposed to be but I just put the "!" in front of "hasName".
This solved my issue but it would probably be best if the creator of this plugin were able to update it with the correct changes.
Thank you