NoLagg

Version: 1.90.4 | CB 1.7.2
Quote from lenis0012:NoLagg has not been updated since 1.7.10, for more info, check BKCommonLib
Description
NoLagg is made out of multiple completely separate components which you can enable and disable freely. Together they offer:
- Send chunks more gracefully with lowered network stress and reduced processing spikes Read more...
- Remove entities, resend chunks in case of chunk holes and clean up server memory Read more...
- Examine server tick rate performance with deep view into per-tick processes of the server Read more...
- Stop a large amount of items from spawning and spawn at a later time to avoid frozen clients Read more...
- Stack items with a configurable per-world radius Read more...
- Fix lighting errors that cause clients to recalculate lighting (and thus lag) Read more...
- Keep track of server performance such as entities, tick rate, memory and more Read more...
- Fix various bugs the server has (Patches component)
- Schedule autosaves and force data to be written to disk to prevent data loss on server crash (Saving component)
- Limit the amount of entities allowed to spawn per world or globally Read more...
- Watch events closely to warn when plugins execute main-thread methods from another thread Read more...
- Show a detailed message explaining the cause for a server freeze (lock) [read more]
- New TNT execution algortithm that is not only more efficient, but also avoids server freezes Read more...
Important
When first installing NoLagg, open up config.yml and disable components you do not need. This is very important, as some components may conflict with other plugins you use, or may not function on the type of demand you have. If you get a warning message [Severe] followed up with a stack trace in the log, this has to do with the main thread not having responded within 10 seconds. The warning is NOT an error and is no bug, and not a bug related to NoLagg. To disable this feature, disable 'threadlocknotifier' in the config.yml. This feature is mainly intended to notify you what plugin is causing the server to freeze, may it ever happen. It is used to debug plugins in general, as they may get stuck for whatever reason. If NoLagg DOES show up in there, it is a bug you should report.
FAQ
Separating into jar files
NoLagg consists of multiple components you can individually enable and disable. Reasons for not publishing it as a separate jar file for every component can be read here. Please don't ask to separate the components, I will just link you to here.
Spigot server
Not all components are needed when you use the Spigot server. The ItemStacker, ItemBuffer, Spawn Limiter, Thread Checker and Thread Lock Notifier components are not needed, since Spigot has it's own implementations to deal with that. If you still wish to use one of these components, you can, but it's best to disable the Spigot alternative then.
The other components (such as TNT, Chunks, Lighting, Common, etc.) are not implemented in Spigot (yet?) and offer additional functionality.
PTweaks
Since people keep asking about this, I went ahead and compared the two plugins. I am not going to discuss which is better in functionality, I'm just going to state which features overlap and which do not. Both plugins offer a TNT-lag solving solution, feel free to choose which solution you like better. (the solutions are different) Both plugins also offer a way to change when and how chunks are saved, NoLagg adds to this that you can configure when the server writes data to disk. PTweaks offers a way of showing used memory, NoLagg Monitor too with a bit more information. Again, preference. Chunk Persistence is something PTweaks offers and NoLagg does not. Reason I excluded it from NoLagg is that the implementation used up more processing power than that it solved (I did have this for a while). If you want to give it a try, PTweaks is your answer. Monster Limiter is incorporated in NoLagg as well but then for all entities, and more options. ChunkEdits is a tricky one: NoLagg chunks does something similar, with the difference being that it also changes at what rate chunks are sent, which is the main feature NoLagg chunks offers. In addition, the ability to increase the amount of threads running to process chunk packets and the re-using of packet raw data offers some benefits PTweaks does not offer.
Then there are a lot of other features NoLagg has and PTweaks does not, such as examining server tick rate, item stacker, item buffer, fixing lighting, cleaning up server memory, resending chunks, removing entities on command and others (see description).
In short: Both plugins offer some overlapping features, and you need to pay close attention to the configuration of PTweaks and NoLagg and disable things that conflict. Having two TNT explosion altering plugins is going to have strange results, for example. Compare the functionality, decide, and enable in NoLagg what you do not want in PTweaks, and vice versa.
NoLagg showing up in error stack traces
The examine component inserts various hooks into the server to gather measurements. Specifically, you will find that the following lines show up now and then. These hook classes do absolutely nothing when not examining and can not be the cause for any issues, unless the stack trace ends there (first line after the exception shows this stack trace)
- org.timedbukkit.craftbukkit.*
- com.bergerkiller.bukkit.common.internal.ChunkProviderServerHook
Video
Here is a video by BlueDevonMovies (lenis0012):
Metrics
This plugin sends server count statistics to MCStats.org. You can (globally) opt out in the PluginMetrics/config.yml file.







-
View User Profile
-
Send Message
Posted Nov 3, 2012Awesome plugin :) Been using it since 1.7.3. Thanks for your hard work on keeping it up to date.
-
View User Profile
-
Send Message
Posted Nov 3, 2012@MrMime22 Can you pastebin a list of plugins you are using? I am confident you are using one plugin that is killing or respawning a shitton of entities. The stack trace points to the entity removal part in the server, which is a weird place to have a long processing time. Another possibility is that a plugin is spawning new entities when another type of entity dies.
-
View User Profile
-
Send Message
Posted Nov 3, 2012Please, any fix to? Any help?
http://pastebin.com/PvAttSRs
-
View User Profile
-
Send Message
Posted Nov 3, 20122012-11-03 12:40:21 [INFO] < 10se1ucgo> lag 2012-11-03 12:40:22 [WARNING] [Server] The main thread failed to respond after 10 seconds 2012-11-03 12:40:22 [WARNING] [Server] What follows is the stack trace of the main thread 2012-11-03 12:40:22 [WARNING] [Server] at java.util.ArrayList.indexOf(ArrayList.java:236) 2012-11-03 12:40:22 [WARNING] [Server] at java.util.ArrayList.contains(ArrayList.java:219) 2012-11-03 12:40:22 [WARNING] [Server] at java.util.ArrayList.batchRemove(ArrayList.java:632) 2012-11-03 12:40:22 [WARNING] [Server] at java.util.ArrayList.removeAll(ArrayList.java:605) 2012-11-03 12:40:22 [WARNING] [Server] at net.minecraft.server.World.tickEntities(World.java:1113) 2012-11-03 12:40:22 [WARNING] [Server] at net.minecraft.server.WorldServer.tickEntities(WorldServer.java:439) 2012-11-03 12:40:22 [WARNING] [Server] at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:566) 2012-11-03 12:40:22 [WARNING] [Server] at net.minecraft.server.Dedic
-
View User Profile
-
Send Message
Posted Nov 3, 2012Strange error:
http://pastebin.com/P9KxTQxM .
-
View User Profile
-
Send Message
Posted Nov 3, 2012wen i type /nl it sais ''ticks per second: 0.0 [0.0%] even when i'm the only one on the server and i'm not doing anyhting!
-
View User Profile
-
Send Message
Posted Nov 3, 2012NoLagg 1.88.8 & NoLagg 1.88.9 do prevent item-Frames to stay after you put them upp and relog or restart the server thay disaper is there somthing in the config to prevent this or is it just simply a bugg ?
-
View User Profile
-
Send Message
Posted Nov 2, 2012@rodier
Are you using the updated version of BKCommonLib.jar ?
-
View User Profile
-
Send Message
Posted Nov 2, 2012Nolaggs mob limiter does not limit my mobs to 500, mine are going over 1000 after 1 hour.
-
View User Profile
-
Send Message
Posted Nov 2, 2012latest version is not working for me - every command tell me unknown sub-command even /nolagg help earlier versions was working fine. I tried earlier version on 142 and still nothing.. so 142 must broke this plugin
my config: http://pastebin.com/JUwR95Az in log.txt I see
-
View User Profile
-
Send Message
Posted Nov 1, 2012Update: Never mind, it seems to be a issue with the apple tree plugin it self :) Keep up the great work! Thanks, snitride
Hi there, maybe someone can help me out here,
i am using the apple tree plugin, it is a plugin to plant apple trees and let them drop apples every x seconds, but only if there is not more then a predefined amount of apples already lying on the floor around the apple tree.
The problem is that because nolagg auto-stacker starts stacking the apples into infinite stacks, the apple-tree does not stop dropping apples..
Here what i have been trying to configure:
But the apples still seem to get stacked :(
Please help..
Thank you, snitride
-
View User Profile
-
Send Message
Posted Nov 1, 2012@Charl101
Depends on what works for you, however NoLaggs mob handling is vastly better.
-
View User Profile
-
Send Message
Posted Oct 31, 2012Global NoLagg issue ( Being reported on Bukkit forums by 20+ people )
Best to take a look at this.
http://forums.bukkit.org/threads/extremely-rare-odd-1-4-2-issue-worldserver-tickentities.108468/
-
View User Profile
-
Send Message
Posted Oct 30, 2012Should I delete ptweaks if I have this installed? Will the mob limit of this plugin take preference over other plugins? How many mobs would you recommend for each player?
-
View User Profile
-
Send Message
Posted Oct 30, 2012LOL The keys B and N are next to each other on a QWERTY keyboard! Now I can just press them to upload the file to my 24/7 server :) !!!!!
-
View User Profile
-
Send Message
Posted Oct 30, 2012located 2 issues: Nolaggs mob limiter does not limit my mobs to 400, mine are going over 1000 after 1 hour.
2. MyWorlds plugin makes players fall throgh the world
-
View User Profile
-
Send Message
Posted Oct 30, 2012Hey, should dynamic view be working right in this version? (1.4.2 ofc) I tested it a bit and ran into a bug where way more chunks would be loaded as defined in the config. Without dynamicView i get about 15k Chunks loaded with around 100 players at a viewdistance of 5.
With dynamicView and 13 view distance in server.properties i very suddenly got more than 30k chunks loaded with less players at 12500 = 5; 15000 = 4; 17500 = 3;
The lags can be viewed here, happened around 2012-10-30 10:45 ( Server 1 ) http://kadcon.de/LagGraph.svg
I then restarted the Server and lowered the view distance to 6 in the server.properties and increased the maxRate for chunksending. The problem did not occur again by now. Server 2 (orange line) is running fine by now with dynamicView and maxView distance of 8 in server.properties
Anyway amazing work your doing bergerkiller :)
-
View User Profile
-
Send Message
Posted Oct 30, 2012@MrMime22 Again, this must be you, because I ran a full day with NoLagg and never had a single missing chunk anywhere. Please make sure you updated BKCommonLib to v1.33 (the 1.4 version), the one rfsantos noted below (12-v1-33), and that you update NoLagg properly. Also make sure you run a CraftBukkit build 1.4, not 1.3.
-
View User Profile
-
Send Message
Posted Oct 30, 2012Players are falling out the world...
-
View User Profile
-
Send Message
Posted Oct 29, 2012http://dev.bukkit.org/server-mods/bkcommonlib/files/10-v1-33/ Cant find BkCommonLib 1.33 :/ Nevermind, found http://dev.bukkit.org/server-mods/bkcommonlib/files/12-v1-33/