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 Feb 7, 2015Can anyone help?
I edited the broadcast warnings section and now it doesn't display warnings but only displays when the lag has been cleared.
My Config: http://pastebin.com/ejhGkP2C
-
View User Profile
-
Send Message
Posted Feb 4, 2015@ShaneHD
We're already using SaveDeathDrops.
-
View User Profile
-
Send Message
Posted Feb 4, 2015@bob7l
Oh wow I didn't even see that, I don't know why the broadcast message got messed up.
-
View User Profile
-
Send Message
Posted Feb 4, 2015@EarlyReflex
Get SaveDeathDrops, as of "safe zone around player" that's not possible without causing alot of non needed lag & therefore defeating the purpose of the plugin.
-
View User Profile
-
Send Message
Posted Feb 4, 2015Would it be possible to define a safe zone around a player for the auto-removal feature? Like not removing ground items if closer than x blocks from player?
-
View User Profile
-
Send Message
Posted Feb 4, 2015@NoHoPeLess
yea, I customize and tweak the config to account for our mix of worlds and occasional deliberate attempts at lagg killing the server. It's a complete lifesaver.
-
View User Profile
-
Send Message
Posted Feb 3, 2015@AshvaleStaff
Just tested on 1.8, and 1.7.10 - working perfectly. The default spawn settings are VERRY low, so you need to modify them to your liking. Spawn-interval is a good one to start with.
Edit: It seems there is an issue with mobs spawning though. Animals spawn fine.
-
View User Profile
-
Send Message
Posted Feb 3, 2015When I enable 'custom-mobspawner:' in my Spigot 1.7 w/ 1.8 Users Server, mobs stop spawning naturally entirely and the server has to be restarted after disabling it again to fix it (/lagg reload doesn't fix). There's no error messages in game or in console. Is this feature broken? I'm not modifying any of the 'custom-mobspawner:' properties other than true / false.
-
View User Profile
-
Send Message
Posted Feb 3, 2015@ShaneHD
You need to enclose your strings with '' - it's how YAML defines strings.
So change:
broadcast-message: '&a&l&nCOMPLETE
to
broadcast-message: '&a&l&nCOMPLETE'
-
View User Profile
-
Send Message
Posted Feb 3, 2015Please fix
-
View User Profile
-
Send Message
Posted Feb 3, 2015@frizzbee30
do you modify the config?
-
View User Profile
-
Send Message
Posted Feb 3, 2015Loaded for us, no problems at all?
-
View User Profile
-
Send Message
Posted Feb 3, 2015@ShaneHD
have the same issue
-
View User Profile
-
Send Message
Posted Feb 2, 2015Hmm, seem to be getting a very long error in console. http://pastebin.com/Q454HzW5
Config http://pastebin.com/7w3YVXgB
-
View User Profile
-
Send Message
Posted Feb 2, 2015@uncovery
Looks like you discovered a major exploit to lagg a server to death. I suggest you alert the spigot team as they are able to modify minecraft's internals.
-
View User Profile
-
Send Message
Posted Feb 2, 2015@Theepwner
Good catch, v2.7.7 should fix that. It'll be on here when approved
-
View User Profile
-
Send Message
Posted Feb 2, 2015Thanks everyone who commented. I found out what the issue was. The problem came since someone paved a huge area in the nether with half-slabs to prevent mob spawning. The timings report showed that most of the process was busy with "mob-spawn" in the nether.
I wonder if there is a way for clearlag to prevent slabs from causing this kind of lag. For now I removed the slabs and the problem went away.
-
View User Profile
-
Send Message
Posted Feb 2, 2015Using latest version (2.7.6 for 1.7.9), the auto-removal feature doesn't remove mobs. Here's my config: http:pastebin.com/Ar7DDWm2
I've tried setting the mob names to all caps as well. I'm using this on the 1.7-1.8 spigot protocol hack. Version 2.7.2 had this feature working.
-
View User Profile
-
Send Message
Posted Feb 2, 2015@uncovery
You should delete the chunk file. If anything it's prob just a MASSIVE mob build up.
-
View User Profile
-
Send Message
Posted Feb 2, 2015