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 5, 2015Hi, It seems the auto updater has made all the time warnings go wrong , I have more then 1 server and its happened on all of them , instead of doing 60 it now says 440 , and changing it doesn't help , its all weird .
-
View User Profile
-
Send Message
Posted Aug 5, 2015I'm still having issues with chat warning messages, please help, I've tried downgrading and everything. It broke all of a sudden too. Using version 2.8.1 and the issue still persists. Broke randomly on version 2.8.0. Tried downgrading to 2.7.7 and it didn't fix it either. Also, no errors on console.
Config: http://pastebin.com/A1FPiqfA
What's happening: http://imgur.com/ue4oRw2
-
View User Profile
-
Send Message
Posted Aug 5, 2015@foxi69
That's simple. The "time:" is in seconds and "msg:" is the message you want it to show in chat when it reaches the time. Here's what you want: http://pastebin.com/qWDBjmZ2
-
View User Profile
-
Send Message
Posted Aug 5, 2015autoremoval-interval: 300 warnings: - time:2 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds! - time:4 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds! - time:6 msg:&4[ClearLag] &cWarning Ground items will be removed in &7+remaining &cseconds!
"- time:6 msg" - what does it mean?
I wanna do autoremove in every 5 min. And I want to countdown from 60 sec to 20
How i can do it?
-
View User Profile
-
Send Message
Posted Aug 4, 2015@bob7l
yep, redstone can be a real pain! In 'reasonable use' it's not a problem, however deliberate 'laggers' love it, seems to be a game, hop on, try and crash the server out if possible (luckily clearlagg makes this Reaaalll hard!!!).
if it's possible to add some sort of limit similar to minecarts etc, within a defined radius, that would be a useful feature.
Another may be a redstone clock limiter, as these 'ultra rapid' repeating circuits on a very small scale can be more of a problem than large redstone build's with multiple pistons etc.
-
View User Profile
-
Send Message
Posted Aug 4, 2015@HunterGPlays
Don't use the chunk limiter then. It does more harm then prevent on later 1.8 spigot builds anyways
It shouldn't remove the NPC's.
-
View User Profile
-
Send Message
Posted Aug 3, 2015It seems like ClearLagg's chunk limiter doesn't work too well with Citizens and the way it spawns its NPCs in with the chunk limiter on. It basically spams an error in console and doesn't let anyone join. I'm not too sure whether this is an error on your end or not. Even if I use the WG Chunk Flag at the regions with the NPCs, it still spams this error.
http://hastebin.com/uxiwofuruv.avrasm
EDIT: When it comes to other ClearLagg features, it tends to get rid of Citizens NPCs too.
-
View User Profile
-
Send Message
Posted Aug 2, 2015@miki88mouse
Spigot handles chunk loading/unloading perfectly.
-
View User Profile
-
Send Message
Posted Aug 2, 2015Questions for further updates:
Does redstone still effect server performance?
Does the plugin properly function on 1.7 servers?
What features do you think would help reduce lagg?
-
View User Profile
-
Send Message
Posted Aug 2, 2015@Discoveries
It prevents that chunk from loading, and attempts to free more aswell. Doesn't seem to produce very good results on spigot 1.8+ so i wouldn't recommend it for those builds.
-
View User Profile
-
Send Message
Posted Aug 1, 2015Does the chunk-limiter feature unload unused chunks that should not be loaded which are inactive or does it only allow for a certain number of chunks to be loaded?
-
View User Profile
-
Send Message
Posted Jul 30, 2015@miki88mouse
Not a clearlag glitch. Post your clearlag config
-
View User Profile
-
Send Message
Posted Jul 29, 2015@miki88mouse
IF look at the config Under things you DON'T want to be removed. there will be a list of items. try doing a auto search (CTRL + F)
Once you have found it, add or replace it with armor_stand
config
-
View User Profile
-
Send Message
Posted Jul 29, 2015@miki88mouse
You can start by reading the config
-
View User Profile
-
Send Message
Posted Jul 28, 2015@vanthoi
I don't know what you're talking about. Set minecart: false, and paintings: false
-
View User Profile
-
Send Message
Posted Jul 28, 2015@danielfr789
Re-download
-
View User Profile
-
Send Message
Posted Jul 28, 2015Broadcast messages are not showing. Please fix!
-
View User Profile
-
Send Message
Posted Jul 28, 2015How to pass the paint and vehicles mines ?
Thank!
-
View User Profile
-
Send Message
Posted Jul 26, 2015sometimes Broadcast message was not showing it only shows Clear entity
-
View User Profile
-
Send Message
Posted Jul 25, 2015All right, I asked for that because you do not make many novelties thus I thought that you made dev build