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/
@bob7l
Ticket created. :)
@Sikatsuu
"remove-mobs-on-chunk-unload" can only remove mobs if the chunk containing the mob-spawner is unloaded.
If the mobs are being removed otherwise, it's possible your server software or a plugin is firing the ChunkUnloadEvent falsely.
It'd help if you made a ticket so we could expand on this issue.
This option doesn't work as it should:
remove-mobs-on-chunk-unload: true
When I'm in an area like this (http://prntscr.com/aiyvmj) with a spider mobspawner, the spiders will dissapear randomly while we are just standing here. When I turn the option to false it works fine.
@Anil_Sadhu12
It's a plugin that contains a few clearlag features and produces massive amounts of overhead. It's also unthread safe and can cause serious issues.
Hey bob7l, what is your response to this plugin?https://www.spigotmc.org/resources/antilag.7296/
@Kelatyh
I'm not sure what a thaumcraft golem even is. The plugin was designed to work with Bukkit/Spigot, whether or not it works with other server software is complete luck.
If anyone knows a good way to filter mobs from a Mod that'd be great if you could open a ticket labeled "Enhancement". The only way i'm aware of is through NMS - which i'd like to avoid for cross-compatibility reasons.
How to add a filter, a mob from mod? I try add THAUMCRAFT_GOLEM - No work!
Works awesome on 1.9! Like like like THANKS!
@thelost1two
In the config file of clearlag you can
Is there a way to make it to where mobs despawn but villagers do not
@thelost1two
live-time will remove any mobs. I'm planning on doing a revamp on this soon.
I hope this is how you do a pastebin
http://pastebin.com/b5LAUHVc
Here is a copy and paste I did change the time from 600 ticks to 750 ticks
--------------#--------------#--------------#--------------# settings: auto-update: true config-version: 8 disable-waterlife: true keep-spawn-in-memory: true enable-api: true'ram-limit' is in MB, do not set it exactly to your max allocated ram amount'interval' is how often clearlag will check your ram usage'commands' lists the commands that will be ran upon hitting your ram-limit ram-meter: enabled: false interval: 20 ram-limit: 5000 commands: - 'lagg killmobs' - 'lagg clear' - 'lagg gc''limit-only-fly' ONLY limit players who are currently flying'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunkto another. Going faster over chunks then that number will cancel their movement player-speed-limiter: enabled: false chunk-to-chunk-time: 600 limit-only-fly: false'max-mobs' means how many bably/adult animals are allowed within the 'check-radius''check-radius' is the radius of what clearlag will check for 'max-mobs' mob-breeding-limiter: enabled: false max-mobs: 6 check-radius: 15'days-old' means how many days old can the log be to be deleted log-purger: enabled: false days-old: 3'force-update' is whether or not clearlag will reset your config with a newer versionsettings this to false will make clearlag update your config rather then resetting config-updater: force-update: false'check-radius' is the radius clearlag will check for nearby entities'max-mobs' is how many entities may be in the radius before the spawning is blocked mobegg-limiter: enabled: false check-radius: 8 max-mobs: 5'create-new-chunks' disables or enables chunk creation. false would disallow new chunks!UNSTABLE ON SPIGOT BUILDS! chunk-limiter: enabled: false limit: 6000 create-new-chunks: trueLower it is, the better your entity tick will be and the more CPU cycles you'll saveIf it's too high, expect bugs / lots of lag mob-range: enabled: false zombie: 30 skeleton: 30 creeper: 20live-time's go by ticks (20 ticks a second) live-time: enabled: true interval: 10 mobtimer: true itemtimer: true arrowtimer: true arrowkilltime: 15 moblivetime: 750 itemlivetime: 240'radius' is the radius clearlag will check for TNT-Minecarts tnt-minecart: enabled: false max: 2 radius: 6'time' is in milliseconds dispenser-reducer: enabled: false time: 100'time' is in milliseconds firespread-reducer: enabled: false time: 2000'entities' lists all the entities that will be counted'interval' is the check interval check the current spawn amounts spawn-limiter: enabled: false interval: 15 mobs: 300 animals: 300'interval' is how often tps-meter will check the TPS'tps-trigger' is at what TPS the commands will be ran at tps-meter: enabled: false interval: 15 tps-trigger: 14.0 commands: - 'lagg killmobs' - 'lagg clear''remove-named', when FALSE entities with custom names will NOT be removed'mob-filter' lists which mobs will be IGNORED during /lagg killmobs kill-mobs: remove-named: false mob-filter: - Villager - Wolf - ARMOR_STAND - Horse-----------'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner'remove-mobs-on-chunk-unload' is whether or not Clearlag should removethe mobs spawned by the mobspawner upon chunk unload (Highly Recommended) mobspawner: enabled: false max-spawn: 4 remove-mobs-on-chunk-unload: truewarnings works like this; time = the time warning should be given, msg = warning message at that timeNOTE: The below 'remove' section applies to this remover!NOTE: Putting the interval to low will cause issues!limit: enabled: false max: 1000 check-interval: 60 broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!' world-filter:
@thelost1two
Post full config
Does anyone have any Ideals as to how to stop clearlag from removeing villagers / I have tried over and over to stop this but if I enable mobtimers then it removes cow chickens and so on my configuration has villagers set as
i could really use a little help with this
I have this PlugIn and I think it is causing the chicken eggs to disappear right as they spawn, how can I get rid of this?
@KidsGaming123
./lagg clear, and auto-clear will by default not remove armor stands. You probably misread and misconfigured the config.
@KidsGaming123
You need to except the armor stands, we don't have any issues with it, and have armor stands across a number of worlds.:)
I would have kept the plugin if only it doesn't remove the armor stands in all the worlds of my server :/. ClearLagg is starting to disappoint me because of this. PLEASE add an option to stop this even in /lagg clear and the auto-clear...
Edit: But other than that, good work!
@ShawnDaGeek
lol awesome comment