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 17, 2013@Owen411
This message goes out to everyone {Please start reading plugin configs before posting}
Anyways, simply disable minecarts inside the config: minecart: false
-
View User Profile
-
Send Message
Posted Mar 17, 2013As I go make a nice sorting machine with minecarts on my fave server I put my 64 diamonds in and BAM clear lag goes off.... and I lose my diamonds... there is no point of 1.5 cause of this plugin... please allow minecarts to stay!
-
View User Profile
-
Send Message
Posted Mar 17, 2013So for those of you having issues with your configs not working, copy your config text and paste it here first, http://yaml-online-parser.appspot.com/ If it comes out without any errors then there might be an issue somewhere else.
Same goes for ANY plugin .yml file. Check it before you save it
-
View User Profile
-
Send Message
Posted Mar 16, 2013For those wondering:
Works with 1.5.
-
View User Profile
-
Send Message
Posted Mar 16, 2013@M4RYJ0
Idk, it could be your permission plugin i guess.
-
View User Profile
-
Send Message
Posted Mar 16, 2013I love what this plugin does but I am having trouble with the broadcasts, only people who are op can see them which means the other players on my server have no idea when the items will be removed. This is my config: http://pastebin.com/7nyztrnM
I really hope someone can help me.
-
View User Profile
-
Send Message
Posted Mar 15, 2013Love the plugin, Thanks for update :)
-
View User Profile
-
Send Message
Posted Mar 14, 2013ok i tried the mobspawner limiter but i want to make it work for mobs falling out of the 15 block radius. any ideas?
-
View User Profile
-
Send Message
Posted Mar 13, 2013This is such an awesome plugin, and i recommend it to anyone who owns a server, its vital!
Will the current version work with 1.5?
-
View User Profile
-
Send Message
Posted Mar 11, 2013@InvisiCraftOfficial
Next time use pastebin.. Anyways, your problem is you somehow managed to screw up the config while editing (This is common, don't feel down). Simply google "YAML paser" and run it through a few times.
-
View User Profile
-
Send Message
Posted Mar 11, 2013Latest version on startup:
2013-03-11 06:16:42 [INFO] [ClearLag] Enabling ClearLag v1.9 2013-03-11 06:16:42 [SEVERE] Cannot load plugins/ClearLag/config.yml org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping in "<string>", line 13, column 3: auto-update: true ^ expected <block end>, but found Scalar in "<string>", line 27, column 43: ... lagg killmobs, put what you DON'T want removed! ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at me.minebuilders.clearlag.ClearLagMain.onEnable(ClearLagMain.java:23) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:304) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:286) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:327) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:306) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:265) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:153) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:405) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: while parsing a block mapping in "<string>", line 13, column 3: auto-update: true ^ expected <block end>, but found Scalar in "<string>", line 27, column 43: ... lagg killmobs, put what you DON'T want removed! ^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 17 more 2013-03-11 06:16:42 [INFO] [ClearLag] Checking for a new update... 2013-03-11 06:16:43 [INFO] [ClearLag] No update for ClearLag found! 2013-03-11 06:16:43 [SEVERE] Cannot load plugins/ClearLag/config.yml org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping in "<string>", line 13, column 3: auto-update: true ^ expected <block end>, but found Scalar in "<string>", line 27, column 43: ... lagg killmobs, put what you DON'T want removed! ^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138) at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at me.minebuilders.clearlag.managers.PluginManager.reloadConfiguration(PluginManager.java:56) at me.minebuilders.clearlag.managers.PluginManager.enable(PluginManager.java:42) at me.minebuilders.clearlag.ClearLagMain.onEnable(ClearLagMain.java:27) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:304) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:286) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:327) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:306) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:265) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:153) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:405) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: while parsing a block mapping in "<string>", line 13, column 3: auto-update: true ^ expected <block end>, but found Scalar in "<string>", line 27, column 43: ... lagg killmobs, put what you DON'T want removed! ^
at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480) at org.yaml.snakeyaml.Yaml.load(Yaml.java:399) at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53) ... 18 more 2013-03-11 06:16:43 [INFO] [ClearLag] ClearLag is now enabled.
-
View User Profile
-
Send Message
Posted Mar 10, 2013Love your plugin w/ my monster apocalypse worlds, very helpful!
Just a want or a suggestion, a way to set the scheduled removal for the time within Minecraft. Say I want the lagg clear to run at 6:00am day time in my world, rather than every 12 min. That would give me a way to clear out the nightly mob raids in a clean fashion for the player's day time activities. Thank YOU, for the awesome plugin!
-
View User Profile
-
Send Message
Posted Mar 9, 2013@Carambaz
The only way to do that is /lagg area
-
View User Profile
-
Send Message
Posted Mar 9, 2013Great plugin! Thanks bob7l! :D
-
View User Profile
-
Send Message
Posted Mar 9, 2013I Have a problem, your plugins remove itemframe .... In config: "itemframe: false"
Sorry i'm french.
-
View User Profile
-
Send Message
Posted Mar 9, 2013Can't wait for this feature! Mob spawners are crashing my server... Hope you will release it soon.
-
View User Profile
-
Send Message
Posted Mar 8, 2013I'm planning on releasing a new build in the near future. Currently the only things I've added:
I need more ideas, I'll try my best to add them all. Please do not suggest things many plugins already do. Example: TPS meter. If you want a very accurate few of your TPS, use /gc from essentials.
-
View User Profile
-
Send Message
Posted Mar 8, 2013@Absolutionmc
ItemFrames are already added, but for fireworks you could simply add them under mobs. The mobs section should allow more then just LivingEntites, so try to add Firework, or FireWork.
-
View User Profile
-
Send Message
Posted Mar 8, 2013@durionrawr
NoLagg is more advanced, if you like more advanced chunk loading plugins go for that.
-
View User Profile
-
Send Message
Posted Mar 8, 2013@Metacraftian
I believe /lag shows all entities, including itemframes. That being said, clearlag will only remove the defined entities within the config. If it's more of a multiverse related problem it could be that your external worlds chunks are not loaded. If they're not loaded, clearlag will ignore them.