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

/lagg clear(Clears entities)lagg.clear
/lagg check(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(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)

SaveDeathDrops(Blocks clearlag from removing items dropped from death)Download Link

Helpful video made by cobwebster

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!

(-Config setup-)

[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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of bob7l bob7l Aug 28, 2015 at 21:13 UTC - 0 likes

    @miki88mouse: Go

    Your server's processor is most likely under a ton of stress. No way a command that does virtually nothing could make that impact. Post the full tick log

    Open for custom plugins! Skype: bob7l.bob7l.bob7l

  • Avatar of miki88mouse miki88mouse Aug 28, 2015 at 16:38 UTC - 0 likes

    i have a problem i use spigot 1.8.7 this is from my timings: "PCT Tick is 1,651.39%" 0.01% 1,651.39% 0.83 s 825.69 ms 0.0 0.0k Command: lagg

    Last edited Aug 28, 2015 by miki88mouse
  • Avatar of urbea97 urbea97 Aug 28, 2015 at 03:03 UTC - 0 likes

    How do i make it so it does not clear item frames and armorstands on clearlag!


  • Avatar of davidjm6 davidjm6 Aug 26, 2015 at 22:19 UTC - 1 like

    most of the lag on modded servers comes from tile entities. the number of tile entities in a chunk can be seen by using c.getTileEntities().length() where c is a chunk in a world.

    could you please either add this into the /lagg chunk command?

    like have the /lagg chunk command show the chunk with the most entities AND the chunk with the most tile entities?

    or if you don't want to add this, is there anywhere I can get the source code to add this feature myself?

    IGN: Backcab

    Bukkit Dev: davidjm6

    Bukkit Fourms: 16davidjm6


  • Avatar of fr233 fr233 Aug 24, 2015 at 15:25 UTC - 0 likes

    is it open source?

  • Avatar of bob7l bob7l Aug 22, 2015 at 22:20 UTC - 0 likes

    @garretharp: Go

    Make Minecart false

  • Avatar of garretharp garretharp Aug 22, 2015 at 12:07 UTC - 0 likes

    I'm trying to make it so that whenever clear lag happens Minecart Hopper won't disappear

  • Avatar of GrimmVoid GrimmVoid Aug 17, 2015 at 17:01 UTC - 0 likes

    This is what I have in my config:

    I don't want it to clear anything in the "spawn" world, however spawn is getting cleared during the auto-removal process.

    Am I doing something wrong?

  • Avatar of frizzbee30 frizzbee30 Aug 17, 2015 at 07:02 UTC - 0 likes

    @Kixot14: Go

    The mobspawner works fine, I don't know what your config is, but if it is set at default, then the effect you see there would happen, it only looks 10-15 blocks if it's set to 10-15 blocks?

    I agree with the local message, would be really handy as we have players saying things don't work, when it's actually the limiter stopping them :)

    KB Craft multiworld server
    Members blog site and file share
    Server New players are always given a warm welcome!

  • Avatar of Kixot14 Kixot14 Aug 17, 2015 at 01:11 UTC - 0 likes

    "mobspawner" radius(check-radius: y-radius) dont work! only "max-spawn" work, but in very small radius (10-15 blocks). after 2-3 hours 1 mob-spawner on farm like this can spawning over 300 mobs. Not good!

    I used CraftBukkit version git-Spigot-2f787bd-ea28011 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)

    plugin version: 2.8.2

    P.S. Need to add local message to "mobegg-limiter" and "mob-breeding-limiter". Cause players dont know why he can't breeding animals when limit is reached.

    Last edited Aug 17, 2015 by Kixot14

Table of contents

  1. 1 Still have a question?


Date created
Mar 22, 2012
Last update
Aug 06, 2015
Development stage
  • enUS
All Rights Reserved
Curse link
Recent files