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 30, 2013How do I install this?
-
View User Profile
-
Send Message
Posted Mar 30, 2013don't remove a mob/vehicle when someone is in it
if (entitiy instanceof Vehicle)
if (!entity.isEmpty()
return;
else
entity.remove();
^would solve the problem
this method wouldn't remove minecarts with villagers inside (or any other mob)
so you need to do more instanceof like: if (entity.getPassenger instanceof Player)
-
View User Profile
-
Send Message
Posted Mar 30, 2013@bob7l
The config works, and the normal message i setup works when it automatically runs.
However when i manually run, it's not the custom message.
-
View User Profile
-
Send Message
Posted Mar 29, 2013@mrchasez
Does your string look something like this?
broadcast-message: '&6[ClearLag] &aRemoved +RemoveAmount Entities!'
+RemoveAmount is replaced with the removed entities. Could you repost your config file? If the version string isn't the correct value, the config will reset to default. IF your using ClearLag v1.9 it's "three".
Also, if there is a f-up somewhere in your config, clearlag will default to the config inside the jar.
-
View User Profile
-
Send Message
Posted Mar 29, 2013@bob7l
Make sure you have a disable. As me and a lot of other large servers use Spigot which has
a lot of features already included.
Also, when i do "/lagg clear" it don't show the message anymore. Only shows "[ClearLag] Killed blank entities" or something.
Same with "/lagg killmobs" what happened to the message broadcast? We have it enabled.
-
View User Profile
-
Send Message
Posted Mar 29, 2013Btw everyone, i plan on releasing a new build either later today, or tomorrow. This will contain some on-ground item filters, tnt lagg reducer, and item drop merging. Please leave any suggestions below.
(I will not do anything chunk related! Chunks are to easily corrupted now-adays)
-
View User Profile
-
Send Message
Posted Mar 29, 2013@mrchasez
Figured out your problem, your version is two, when it's suppose to be three.
config-version: two
after:
config-version: three
-
View User Profile
-
Send Message
Posted Mar 29, 2013Feature request:
/lagg exclude <radius> <time>
Allows a player to have the chunk(s) they stand in excluded for a short time
-
View User Profile
-
Send Message
Posted Mar 29, 2013@bob71 I'm sure it wouldn't hurt to try it out. I just know that for survival servers it would really hurt to spend eight hours trying to get a beacon and have it deleted because I mined it at the wrong time.
-
View User Profile
-
Send Message
Posted Mar 29, 2013@bob7l
I have tried everything. Deletes the config every single time.
http://pastie.org/7161140
-
View User Profile
-
Send Message
Posted Mar 28, 2013@EncryptedCurse
Actually, it is possible.. I simply haven't added it because I'm afraid of: A: lag, B: errors
-
View User Profile
-
Send Message
Posted Mar 28, 2013@EncryptedCurse is that because of the nature of Minecraft itself or because it hasn't been factored into the plugin?
-
View User Profile
-
Send Message
Posted Mar 28, 2013Error with 1.5.1 Spigot and PEX:
http://pastebin.com/55UfXMTy
-
View User Profile
-
Send Message
Posted Mar 28, 2013@N1766
It's not possible to single out certain drops.
-
View User Profile
-
Send Message
Posted Mar 28, 2013@bob71 would it be possible to add a few lines to the config file to prevent deleting of certain items, say beacon blocks or diamond blocks?
Also, if there are codes for other block items as well, where could I look up those codes?
-
View User Profile
-
Send Message
Posted Mar 27, 2013@mrchasez
Try to delete the folder + config file.
-
View User Profile
-
Send Message
Posted Mar 26, 2013Hi, I am also confused like Zap09:
Does that turn off the spawners?
-
View User Profile
-
Send Message
Posted Mar 26, 2013@bob7l
Worked fine until we ried 1.9.1
The file has all permissions, like all other files.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@mrchasez
That's really weird, maybe try to change the permissions for the file?
-
View User Profile
-
Send Message
Posted Mar 26, 2013@turikhay
Look in the config, Theres an option to turn off removal of Minecarts and Boats. Change minecart: true to :false
Hope this helps. Marcus