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 Aug 8, 2014@She_Wants_The_Q
Errmm, as far as i know - hoppers are considered a "tileentity". Would have to do some very laggy things just to make it work.
BUT- I might add a feature to modify hopper exchange rates,
-
View User Profile
-
Send Message
Posted Aug 8, 2014Can you please allow items in hoppers to be removed by ClearLagg? Players can easily crash servers by filling hoppers with items so we have to disallow them on the server I am admin on, and hoppers are very useful but we cannot use them for the lag machine possibility, but if ClearLagg took items in them, it would be very appreciated.
Thanks, Q
-
View User Profile
-
Send Message
Posted Aug 8, 2014Items are despawning real fast, like once they are on the ground. Not sure if it's because of the latest 1.7.10 spigot or outdated clearlagg.
-
View User Profile
-
Send Message
Posted Aug 7, 2014@U1T1MATE
If there being cleared during the ClearLagg Auto-Removal its because your editing in the wrong place of the config.
If there being cleared when you do the "/lagg killmobs" command... then I'm not sure because your editing in the correct place.
-
View User Profile
-
Send Message
Posted Aug 6, 2014It appears that ClearLagg removes Villagers even though they are in the exempt list for /lagg killmobs. Here's my current config for the KillMobs section:
kill-mobs:
disable-build-wither: false
mob-filter:
- Villager
- Wolf
- Ocelot
- Horse
Mind helping me out?
-
View User Profile
-
Send Message
Posted Aug 6, 2014@hutt132 chicken jockey, and spider jockey are both two diffrent entities. So it's impossible to block them as one.
Try pig_zombie
-
View User Profile
-
Send Message
Posted Aug 5, 2014@hutt132
Maybe an under dash _
-
View User Profile
-
Send Message
Posted Aug 5, 2014Hello bob7l, can you make the auto removal config more simple like this
and also make the plugin detect if its a minute or second. instead of have just seconds thanks <3
Picture link: http://i.imgur.com/ZZw9yGo.png
-
View User Profile
-
Send Message
Posted Aug 5, 2014How do I enter in the hostile mobs that have a space in their name?
- zombie pigman
- chicken jockey
- spider jockey
-
View User Profile
-
Send Message
Posted Aug 4, 2014@marubal21
Same error message here. The Plugin must updating to Bukkit 1.7.10
-
View User Profile
-
Send Message
Posted Aug 3, 2014Does anyone know how to prevent fishing rod bobbers from being cleared?
-
View User Profile
-
Send Message
Posted Aug 2, 2014@marubal21
The clearlag version was compiled for 1.7.9-R0.1, making all NMS related code incompatible with any OTHER version. But don't worry - i'll be updating this soon. Just got back from being inactive.
-
View User Profile
-
Send Message
Posted Aug 1, 2014I get this message(bolded below) during server start, not sure what it means:
Using:
Spigot Build #1591 1.7.10
ClearLag v2.7.1
[01:11:33] [Server thread/INFO]: [ClearLag] Enabling ClearLag v2.7.1
[01:11:33] [Server thread/INFO]: [ClearLag] Loading modules...
[01:11:33] [Server thread/INFO]: [ClearLag] No config updates found...
[01:11:33] [Server thread/WARN]: [ClearLag] mob-range requires you to use bukkit v1.7_r3
[01:11:33] [Server thread/INFO]: [ClearLag] Modules have been loaded!
[01:11:33] [Server thread/INFO]: [ClearLag] Clearlag is now enabled!
-
View User Profile
-
Send Message
Posted Jul 30, 2014@rlpn
Clearlag uses mod UUIDs for blocking removal. Just do:
Modules.EntityManager.addUnremovableEntity(plugin, entity);
I also recommend you remove the entity from the list when it's dead to insure performance isn't impacted. I'll implement a "GC" in later versions so it'll be automatic instead.
-
View User Profile
-
Send Message
Posted Jul 30, 2014My config file is not working.
When i set it to a message, it says something completly else.
Config file: http://pastebin.com/GwZXuC8N
Custom Clears: http://pastebin.com/4rV2XgZX
Old Config File (Automaticly created): http://pastebin.com/UAL8N2dY
Please help me.
-
View User Profile
-
Send Message
Posted Jul 30, 2014@bob7l
I hope you would update soon to 1.7.10 :/
-
View User Profile
-
Send Message
Posted Jul 29, 2014I'm making a plugin where I'm spawning certain mobs and I don't want clearlagg to remove them, is the source to this public or how do you recommend preventing specific mobs from being removed? I want to know how you remove them so I can prevent it, please and thank you! :)
-
View User Profile
-
Send Message
Posted Jul 29, 2014@ExpoPs3
If you would like to avoid players loosing their items, i suggest you use this module: http://dev.bukkit.org/bukkit-plugins/clearlag-savedeathdrops/
-
View User Profile
-
Send Message
Posted Jul 29, 2014@AmirHD1000
In order for me to fix/help you with your issue, i need a better explanation. Don't be vague or use expletive language unless you don't want help.
-
View User Profile
-
Send Message
Posted Jul 29, 2014@chsedv
Mob-range is sadly only editable through the usage of NMS. So if you're using a clearlag built for 1.7.9, it wont work for 1.7.10.