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 Sep 11, 2012** Still has block drops issue... * 2nd issue: /nolagg reload =
[SEVERE] [NoLagg Examine] Failed to enable NoLagg component 'Examine': 03:44:45 PM CONSOLE: [SEVERE] java.lang.NoClassDefFoundError: Could not initialize class com.bergerkiller.bukkit.nolagg.examine.SchedulerWatcher 03:44:46 PM CONSOLE: [SEVERE] at com.bergerkiller.bukkit.nolagg.examine.NoLaggExamine.onEnable(NoLaggExamine.java:30) 03:44:46 PM CONSOLE: [SEVERE] at com.bergerkiller.bukkit.nolagg.NoLaggComponent.enable(NoLaggComponent.java:59) 03:44:46 PM CONSOLE: [SEVERE] at com.bergerkiller.bukkit.nolagg.NoLagg.command(NoLagg.java:105) 03:44:46 PM CONSOLE:
-
View User Profile
-
Send Message
Posted Sep 10, 2012Is packet compression busy usage bad?
Mine is around 10-20% sometimes more.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@bergerkiller
That 1.88.4 build did NOT work.
http://pastie.org/4698482
-
View User Profile
-
Send Message
Posted Sep 10, 2012@bergerkiller
oh sry... i talk about orebfuscator LITE support :O
-
View User Profile
-
Send Message
Posted Sep 10, 2012Bergerkiller. Fantastic job on the examine tool. Over at MineZ we've used it to help profile all the plugins we use, and it has been instrumental in optimizing.
A quick question. In the latest nolagg examine, I notice the "Chunk Load" event is always the greatest on the servers. I didn't see this previously. Is this something new you monitor with nolagg? I assume this is the chunk loading by bukkit? Is it normal, in your experience, to see this higher than the most intensive plugins? I see it spike from time to time into the 10ms range a single tick. Now, MineZ servers have 120 players nearly constantly, so I expect a lot of chunk loading, but just want to ensure this is typical behavior.
I yearn for the day 1.3.1 runs as well as 1.2.5. :)
Thanks in advance.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@bergerkiller
With dynamic view off I don't have any problems with 1.88.4 as far as I can tell. Running 1.3.2 R1
-
View User Profile
-
Send Message
Posted Sep 10, 2012@stutiguias
This IS the lite version, just disable the components you don't need in the config.yml. The jar file isn't even half a kbyte so I don't see why I have to use 7 separate jar files to do the same. (plus, that system horribly failed with the Bukkit class loader)
@gamewin1 @voodoo12334
So it still happens. I'll have to tweak around a bit to see what causes it to happen. In advance: With the dynamic view distance disabled it also happens? That appears to be the only issue at the moment, whenever I test it.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@lantami
sry to ask this... know you have a lot to do... i not ask you to do this because i ask... only want you know... i will love if you provide support for lite version !
-
View User Profile
-
Send Message
Posted Sep 9, 2012i noticed that with the chunk loading portion of nolagg enabled, whenever a player logs in, the chunk he/she starts in is always missing. all other chunks load fine except the one they start in. same with going to other worlds, like the nether or end.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@bergerkiller
http://s2.ipicture.ru/uploads/20120910/pcg64WeT.png Lag hole in the same place every time when i use iGates portal or /login to the server. Another one http://s2.ipicture.ru/uploads/20120910/sbUeRUak.png.
-
View User Profile
-
Send Message
Posted Sep 9, 2012If someone is willing to test this, that would be great:
https://dl.dropbox.com/u/3681706/NoLagg%20v1.88.4%20TEST.zip
It is a test version for 1.88.4. It fixes the error when reloading the chunks components, and this way most likely fixes the chunk holes, too. I couldn't reproduce the holes locally, so if you still have it with this version, please tell me. Then I can spend some more time on tracking it down. (need to update TrainCarts a bit more, too, to add some requested features)
Don't forget to update BKCommonLib!
-
View User Profile
-
Send Message
Posted Sep 9, 2012Ok I was away (some trip for my course), I'm back for a short while. I see some still have the unloaded chunk thing going on, can you verify this is fixed with the dynamic view thing disabled? I have to do some large changes in BKCommonLib first, which consists of proper error handling, BKCommonLib version dependency checks and enable/disable try-catches to prevent half-enabled plugins.
@MrMime22
You have to look at the server log for the remaining error, I can't know what internal error is going on there. I tried it here, had no issues, but others can have different settings or smth.
Seeing you still have 'NoLagg TLN', I recommend you update the plugin first. Could very well be a compatibility issue going on.
@soliddanii
Version gap between 1.3.1 R2 and 1.3.2 is too high to support both recommended and latest dev builds. Too many fixes in 1.3.2 to support 1.3.1, which is generally a lot less stable.
-
View User Profile
-
Send Message
Posted Sep 9, 2012/nolagg reload
causes my server to "Internal Server Error" and not let players join
-
View User Profile
-
Send Message
Posted Sep 9, 2012Hi. why there is not a 1.3.1 R2 Version? I have a plugin too, and it stoped working suddenly in theis version. and apparently, the code is ok. Bukkit gives me a classnotfoundexception to de main class. Does anyone more have this problem.?
-
View User Profile
-
Send Message
Posted Sep 9, 2012Major Issue: [INFO] Disconnecting odkJt5Vo [/83.90.180.20:58756]: Failed to verify username! [X150]
CONSOLE: [WARNING] [NoLagg TLN] The main thread failed to respond after 10 seconds 04:06:48 PM CONSOLE: [WARNING] [NoLagg TLN] What follows is the stack trace of the main thread 04:06:48 PM CONSOLE: [WARNING] [NoLagg TLN] This stack trace will be further refined as long as the thread is stuck PvpRaiderz: Xotamy> lag vFuse> lag jacob53101> lag Warrior: ASDFGOOGLE1> lagggg
-
View User Profile
-
Send Message
Posted Sep 9, 2012Nolagg don't work whit Orebfuscator Lite. Can you fix it?
-
View User Profile
-
Send Message
Posted Sep 8, 2012get a bug , when i use it with 1.3.2 R0.2 a chunk unloadds -.- at spawn
-
View User Profile
-
Send Message
Posted Sep 8, 2012@GumbyDammit
There is a plugin called PlugMan >> Here
It allows you to load and unload plugins even the ones you added while running the server
(case sensitive and some plugins crash the server, but most work)
-
View User Profile
-
Send Message
Posted Sep 8, 2012It seems using 1.88.2 theres still a bug with the itemstacker, if you have itemstack and itembuff on you can sometimes get an additional 2 - 11 of the 64 items you dropped. Disabling itembuffer doesnt effect it, disabling them both seems to fix it
is that one of 1.88.3s bugfixes? (and yes im using 1.3.2 R0.1)
-
View User Profile
-
Send Message
Posted Sep 8, 2012@dockter
confirm... and seewhat happens with nolag last version Image