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 Nov 1, 2014@Ar7ific1al
Because that's exactly what it does. Requests the JAVA garbage collector.
-
View User Profile
-
Send Message
Posted Nov 1, 2014-
View User Profile
-
Send Message
Posted Nov 1, 2014@Kelatyh
Means ur adding a non-existent NPC.
-
View User Profile
-
Send Message
Posted Oct 31, 2014Console [ClearLag] Mobs have been removed! I try add NPC to Filter and consol say: [WARNING] [ClearLag] mob-range requires you to use bukkit v1.7_r4 (1.7.10) [WARNING] [ClearLag] NPC is NOT a valid Entity! I use MCPC 1.6.4 I need help!
-
View User Profile
-
Send Message
Posted Oct 31, 2014sorry. I have problems. I have mod CUSTOM NPC. Use command /lagg killmobs and all npc removed! Say pls What to do?
-
View User Profile
-
Send Message
Posted Oct 30, 2014@wesley023
Because the TPSCheck'er executes multiple commands when your TPS is low. Depending on your commands, the server may experience a small delay in lag while they're being ran. There is no way to fix this because it's fully depends on the commands you put for the task. Also, it shouldn't be a problem unless your server is constantly running on a low TPS.
If you think this task is destroying your server, disable it in the config.
-
View User Profile
-
Send Message
Posted Oct 29, 2014@wesley023
MMM Well I don't get that :D Maybe your settings are wrong?
-
View User Profile
-
Send Message
Posted Oct 28, 2014-
View User Profile
-
Send Message
Posted Oct 28, 2014@lsal
You most likely messed up the config
-
View User Profile
-
Send Message
Posted Oct 27, 2014My mobs seem to be staying but on a server restart ClearLagg runs about 100 times in a few secs when the server has booted and spams this:
[03:11:03] [Server thread/INFO]: [0;33;22m[[0;32;1mClearLag[0;33;22m] [0;32;1m[0;33;22m0 [0;36;1mMobs have been removed![m [03:11:03] [Server thread/INFO]: [0;33;22m[[0;32;1mClearLag[0;33;22m] [0;32;1m[0;36;1mYou just removed 0 entities![m
All animals on the server get removed
-
View User Profile
-
Send Message
Posted Oct 27, 2014This plugin cost me a stack of EE2 red matter. That shows how long ago I've played with it, but I still have a perhaps-childish hatred of it. lol
-
View User Profile
-
Send Message
Posted Oct 25, 2014The plugin keeps removing animals from the world even though I've flagged them to be ignored in the config? It's random also, one time the scheduled removal will ignore them fine. Then they will be removed when no player is near them.
-
View User Profile
-
Send Message
Posted Oct 25, 2014any idea anyone how i could have player inventories cleared everytime clearlagg automatically removes entities? yes i have a good reason for wanting to do this k xD
-
View User Profile
-
Send Message
Posted Oct 25, 2014@bob7l
Could you please add a permission for displaying the broadcast, I'm using PermissionsEx and at the end of the permissions in the default group I usually add -* which disables all other permissions except the ones above it. Or if you know which permission is specifically disabling the broadcast please let me know. Config
-
View User Profile
-
Send Message
Posted Oct 20, 2014I set the following thinking it would limit the amount of mobs that can be spawned into the world by each mob spawner but spawners dont work at all when I enable this option:
-
View User Profile
-
Send Message
Posted Oct 19, 2014http://timings.aikar.co/?url=8590964 This plugin decided to do something funky.
-
View User Profile
-
Send Message
Posted Oct 17, 2014@bakakuroko
Clearlag doesn't support mods. If it's clearing the mod's entities, then that mod must be overriding entities which are removed by clearlag.
-
View User Profile
-
Send Message
Posted Oct 17, 2014I use CustomNPCs and Weapon mod in my sever. And I find that ClearLag is always clear weapons entity like cannon... I find no way to stop it to clear weapon entities..
And every time I use /lagg killmobs CustomNPCs are also been killed.. I try to add NPC entity name to config.xml , but it doesn't work.
I find that All possible mob names doesn't include NPC...
I wanna know how to not clear entities in mod...
-
View User Profile
-
Send Message
Posted Oct 16, 2014Will mobs named with nametags despawn with this plugin?
-
View User Profile
-
Send Message
Posted Oct 12, 2014so does that mean for steves cart with reinforced hull i would add 6077:39 as that is id for th reinforced hulls?
Ok tried adding Id for both vanilla minecart and reinforced hull but still CL removed