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 Mar 9, 2015I can't seem to disable the warning or remove message, here is the configuration:
http://pastebin.com/kAGQg5Gm
http://puu.sh/gtbH0/955b7ddd28.png http://puu.sh/gtbZa/38733cc294.png
-
View User Profile
-
Send Message
Posted Feb 28, 2015Great plugin for fending off the lag monsters. Antilagg(not updated anymore), used to be my choice, but this one surpasses it by far. Excellent work, bob7l! :-)
-
View User Profile
-
Send Message
Posted Feb 26, 2015@The_PC_Tech_Guy
Server ticks :)
-
View User Profile
-
Send Message
Posted Feb 25, 2015Is "interval" in "tps-meter" by ticks or seconds?
-
View User Profile
-
Send Message
Posted Feb 24, 2015"custom clears" I think these are new additional configs since the update? Do these run by the same entry as the lagg kill mobs under the tps meter section by adding, or do these run constantly as additional auto clear options?
Thanks
-
View User Profile
-
Send Message
Posted Feb 23, 2015Is it possible (or could it be made possible) to have a permission attached to the scheduler broadcast so that it posts to general chat but that I could hide it from certain users?
-
View User Profile
-
Send Message
Posted Feb 22, 2015evrytime when i use /lagg unloadchunks my NPC's from citizens will disappear when they stood in a chunk which got unloaded. How can I fix that? or how do i prevent not unloading the chunk even when no players are in the chunk?
-
View User Profile
-
Send Message
Posted Feb 22, 2015@bob7l
Is there an option to exclude name tagged mobs from being cleared even if they are in the list of mobs that are cleared by auto-removal?
-
View User Profile
-
Send Message
Posted Feb 19, 2015mobegg-limiter: enabled: true check-radius: 10 max-mobs: 3
Using this will allow max-mobs to be 4.
-
View User Profile
-
Send Message
Posted Feb 15, 2015@DeadEyeSniper07
The boolean "broadcast-warning" is deprecated, i simply forgot to remove it from the default config. To fully disable warnings, simply clear them from the "warnings:" stringlist.
Like so: http://gyazo.com/afef60e9a84ddfbd8e8ab72908edad43
As for your clearlag not reading the edited warnings: If it ignores your changes, that means there must be some error in your config. I suggest running it through a YAML parser.
-
View User Profile
-
Send Message
Posted Feb 15, 2015ok so i have been having problems with the auto removal part... when i set the broadcast-warnings: false the warings still show up in chat. along with warnings if you change them they dont change for me.... hope someone can help thanks
-
View User Profile
-
Send Message
Posted Feb 12, 2015@bob7l
I will check into it more
-
View User Profile
-
Send Message
Posted Feb 11, 2015@PhanaticD
You sure that's a Clearlag issue? Only thing used in clearing is REMOVE, not any additions.
-
View User Profile
-
Send Message
Posted Feb 11, 2015If you convert a zombie villager into a regular villager, clearlagg will respawn it as a zombie when doing the automatic clearing
-
View User Profile
-
Send Message
Posted Feb 10, 2015@keelos123
/lagg admin resume <module>
-
View User Profile
-
Send Message
Posted Feb 10, 2015How do we start a module for /lagg admin
-
View User Profile
-
Send Message
Posted Feb 10, 2015@Jabberwockie666
Reading NBT requires NMS. So i'm very limited to what i can actually do on bukkit since they versioned the NMS packages.
It's a bit hard to read what you put since it's all bunched up but i'll try to awnser you as best as possible. If you mean the NBT tags for my auto-stacking utility, then yes it's most likely slightly broken for 1.8 and requires NMS to fix.
Everything else you put has nothing to do with Clearlag. "/i 52:62 1 ^" is an Essentials command - along with every other command you listed.
The ONLY method in my entire plugin that actually modifies itemstacks is my item-stacker, which can be easily disabled in the config if it's causing problems with 1.8. The rest of the issues you described seem to be directly related to Essentials, and 1.8 internal bugs.
-
View User Profile
-
Send Message
Posted Feb 10, 2015@bob7l
Thank you! :)
-
View User Profile
-
Send Message
Posted Feb 10, 2015Thx for the reply. Have a good one.
Ty for Clearlagg wonderful plugin.
p.s My server's 20.00 TPS would like to say thank you also!!! <3
-
View User Profile
-
Send Message
Posted Feb 7, 2015@Mini_Remix
It appears that you cannot use ":" in the message for whatever reason. Just remove it from ur stings and see if it fixes it, like so:
- time:4 msg:&b&l &b&nWARNING&7 Auto entity clear in &b60 &7seconds &b&l