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 Oct 20, 2013-
View User Profile
-
Send Message
Posted Oct 20, 2013@win25411
Add a "mobs" section under the auto-remove section. Example:
auto-removal: warning-message: '&4[ClearLag] &cWarning Ground items will be removed in one minute!' broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!' broadcast-warning: true enable-scheduler: true autoremoval-interval: 1800 warning-delay: 60 mobs: - creeper - skeleton - zombieYou could also schedule the "/lagg killmobs" command to run on a regular basis. I run on a Linux server so all I'd have to do is setup a crontab job that would send that command to the console.
LHammonds
-
View User Profile
-
Send Message
Posted Oct 19, 2013Can someone please answer my question. I posted down below. About auto removal mobs.
-
View User Profile
-
Send Message
Posted Oct 18, 2013Here's a suggestion! :D
Add the option to unload chunks on auto-removal of objects. This would help a lot in my opinion especially for large maps.
-
View User Profile
-
Send Message
Posted Oct 18, 2013Here a todo for you!
Make the "/lagg gc" process slower so it doesn't make a huge lag spike on my server.
-
View User Profile
-
Send Message
Posted Oct 17, 2013@LHammonds
No, it didn't stop. I changed the config in the jar and that worked, thanks.
-
View User Profile
-
Send Message
Posted Oct 17, 2013Crash using Bukkit-1.6.2-R1.0 with clearlagg 2.6.0
-
View User Profile
-
Send Message
Posted Oct 16, 2013@bob7l:
Is possible, that i can define a Region or set a flag, where clear shouldn't work. Because i have the Shop Plugin, where the rotating items over the chests are been removing. I need help pls. Skype: marv5games
-
View User Profile
-
Send Message
Posted Oct 16, 2013@bob71 what is this mean [ClearLag] EntityHorse is NOT a valid Entity!
-
View User Profile
-
Send Message
Posted Oct 16, 2013@saxons12
The only bugs you should see are from compiling against 1.6.4.. Lots of values n such were "removed" because mojang might turn to magic id's later on. Either report the bugs that occur, or wait until 1.7
-
View User Profile
-
Send Message
Posted Oct 16, 2013Sorry but this plugin is die ing, I am having lots of trouble and bugs.. Does anyone know an alternative?
-
View User Profile
-
Send Message
Posted Oct 16, 2013@skeem
I think this got to do with the disable-waterlife: false in the config
I got a question of my own: how do I disable the auto-cleaning? I want to use this plugin just to unload chunks when not in use...
-
View User Profile
-
Send Message
Posted Oct 16, 2013why squids not spawn?.. i need help, how enable spawn squids?
-
View User Profile
-
Send Message
Posted Oct 15, 2013Hello, In the past, for auto removal, there was a option to remove hostile mobs. With the new config, I cannot find a option to clear hostile mobs.. only the /lagg killmobs. Please show me how to set up the config for it. Here is my current config. http://pastebin.com/W26Mbvir
-
View User Profile
-
Send Message
Posted Oct 15, 2013Crash using MCPC+ 1.6.4
http://pastebin.com/PAzZpLt3
Any suggestions?
-
View User Profile
-
Send Message
Posted Oct 15, 2013@Nikecow
If you remove LavaSlime and EntityHorse from your filter items, does the config reset stop happening? If not, I suggest placing your config inside the jar and overwriting the default. Mine has been running since my last post and the clearlag continues to run every 30 minutes as desired...but I am not 100% sure if the solution was removing the warning issue or replacing the default config. (my paintings have also remained on the walls since my workaround).
LHammonds
-
View User Profile
-
Send Message
Posted Oct 15, 2013@LHammonds
Same here, config resetting itself every time wreaking havoc on my server (destroyed paintings etc.)
Also, I get there errors:
5:18:50 PM CONSOLE: [WARNING] [ClearLag] LavaSlime is NOT a valid Entity!
5:18:50 PM CONSOLE: [WARNING] [ClearLag] EntityHorse is NOT a valid Entity!
-
View User Profile
-
Send Message
Posted Oct 15, 2013I use the Shop plugin, it works, but ClearLag remove the rotating item over the chest. Ich want to know, if i can change the settings so that, the items over the chest aren't including?? Or can i define some region where ClearLag shouldn't work?? Skype: marv5games
-
View User Profile
-
Send Message
Posted Oct 14, 2013Thanks for creating and sharing this plugin. I'm using ClearLag 2.6.0 and the config.yml file seems to be overwriting itself all the time.
I set the "autoremoval-internal: 400" setting to 1800, save the file and reload the config (tried stopping server, changing, then starting server too). However, it reverts back to 400. Same with other settings such as telling it to NOT remove paintings and boats but it reverts back to default.
I have even tried setting the config.yml file to read-only but still it manages to reset the values.
I'm not sure how to resolve this problem.
EDIT: I noticed a "WARNING" in the server.log file saying that "Donkey" is not a valid mob. I removed that entry from the filter. But I also copied my modified config.yml into the plugin's jar file so if it is extracting from the jar each time, it will extract my copy. So far it seems to be keeping my config. But I'm not sure if it is due to fixing the warning msg or copying into the jar.
Environment
Thanks,
LHammonds
-
View User Profile
-
Send Message
Posted Oct 14, 2013How to change the time, for entities to be cleared!