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 Jun 17, 2012lol... You mean you are in ... ehhm... Nowhere?
-
View User Profile
-
Send Message
Posted Jun 17, 2012That's strange any build I use it causes me to have no chunks load at all.
-
View User Profile
-
Send Message
Posted Jun 17, 2012@Thingon
http://data.askn.de/download/nolagg%20-1.2.5%20Working-/
-
View User Profile
-
Send Message
Posted Jun 17, 2012@BodhiBob
I think so :)
-
View User Profile
-
Send Message
Posted Jun 15, 2012Working with R4.0???
-
View User Profile
-
Send Message
Posted Jun 15, 2012@theask
Which build?
-
View User Profile
-
Send Message
Posted Jun 14, 2012For me its working. I use a older build.
-
View User Profile
-
Send Message
Posted Jun 14, 2012can anyone confirm this is working with R4.0 ?
-
View User Profile
-
Send Message
Posted Jun 12, 2012hello
what does this [-21] mean? 21 corrupted chunks or what?
http://img215.imageshack.us/img215/5003/minecraftspy.png
-
View User Profile
-
Send Message
Posted Jun 10, 2012I have a error to report:
2012-06-10 17:01:32 [WARNING] Could not properly handle event CHUNK_LOAD: java.lang.IllegalAccessError: Synchronized code got accessed from another thread: com.bergerkiller.bukkit.common.AsyncTask$1 at org.bukkit.event.Listener.onChunkLoad(Listener:0) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:103) at com.bergerkiller.bukkit.nolagg.examine.TimedChunkProviderServer.getChunkAt(TimedChunkProviderServer.java:147) at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:105) at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:69) at lishid.orebfuscator.obfuscation.Calculations.Obfuscate(Calculations.java:398) at lishid.orebfuscator.obfuscation.Calculations.Obfuscate(Calculations.java:189) at com.bergerkiller.bukkit.nolagg.chunks.ChunkCompressionThread.getCompressedPacket(ChunkCompressionThread.java:225) at com.bergerkiller.bukkit.nolagg.chunks.ChunkCompressionThread.run(ChunkCompressionThread.java:262) at com.bergerkiller.bukkit.common.AsyncTask$1.run(AsyncTask.java:20) 2012-06-10 17:01:32 [INFO] This error is logged only once: it could have occurred multiple times by now. 2012-06-10 17:01:32 [INFO] Please contact one of the authors of plugin 'BKCommonLib': bergerkiller
-
View User Profile
-
Send Message
Posted Jun 9, 2012This plugin seems to make chunks unable to load on my server. (I've tested by removing plugins one by one). Also when is shut down the server I get this:
12:13:17 [SEVERE] [NoLagg Examine] Failed to disable NoLagg component 'Examine':
12:13:17 [SEVERE] java.util.ConcurrentModificationException
12:13:17 [SEVERE] at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unkn
own Source)
12:13:17 [SEVERE] at java.util.TreeMap$EntryIterator.next(Unknown Source)
12:13:17 [SEVERE] at java.util.TreeMap$EntryIterator.next(Unknown Source)
12:13:17 [SEVERE] at com.bergerkiller.bukkit.nolagg.examine.SchedulerWatch
er.deinit(SchedulerWatcher.java:82)
12:13:17 [SEVERE] at com.bergerkiller.bukkit.nolagg.examine.NoLaggExamine.
onDisable(NoLaggExamine.java:32)
12:13:17 [SEVERE] at com.bergerkiller.bukkit.nolagg.NoLaggComponent.disabl
e(NoLaggComponent.java:72)
12:13:17 [SEVERE] at com.bergerkiller.bukkit.nolagg.NoLagg.disable(NoLagg.
java:72)
12:13:17 [SEVERE] at com.bergerkiller.bukkit.common.PluginBase.onDisable(P
luginBase.java:202)
12:13:17 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
in.java:217)
12:13:17 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin
(JavaPluginLoader.java:362)
12:13:17 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugin(S
implePluginManager.java:401)
12:13:17 [SEVERE] at com.bergerkiller.bukkit.common.PluginBase.onDisable(P
luginBase.java:198)
12:13:17 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
in.java:217)
12:13:17 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin
(JavaPluginLoader.java:362)
12:13:17 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugin(S
implePluginManager.java:401)
12:13:17 [SEVERE] at org.bukkit.plugin.SimplePluginManager.disablePlugins(
SimplePluginManager.java:394)
12:13:17 [SEVERE] at org.bukkit.craftbukkit.CraftServer.disablePlugins(Cra
ftServer.java:368)
12:13:17 [SEVERE] at net.minecraft.server.MinecraftServer.stop(MinecraftSe
rver.java:448)
12:13:17 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
ver.java:550)
12:13:17 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
ceFile:492)
-
View User Profile
-
Send Message
Posted Jun 9, 2012@Hans6666
Yes, when you have enabled: false it's not enabled. Which means it's disabled.
-
View User Profile
-
Send Message
Posted Jun 8, 2012how can i disable the spawn limiter ?
is it disabled when i have it like this?
# Whether SpawnLimiter should be loaded on startup
enabled: false
-
View User Profile
-
Send Message
Posted Jun 8, 2012huh? whats that?
17:37:22 [WARNING] Task of 'NoLagg' generated an exception
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at com.bergerkiller.bukkit.nolagg.itembuffer.ChunkItems.update(ChunkItems.java:81)
at com.bergerkiller.bukkit.nolagg.itembuffer.ItemMap$2.run(ItemMap.java:57)
got it on my server when i tested tnt explosion with nolagg
-
View User Profile
-
Send Message
Posted Jun 8, 2012@SrToE
I can't look at the config now. but you can decide after how many ticks it should try to form a stack. It's not really what you are looking for but it's something I guess.
-
View User Profile
-
Send Message
Posted Jun 7, 2012Is there a way to only form item stacks if the items lay on the ground for - let's say - 4 seconds? It's very annoying if they form a stack while in mid-air.
-
View User Profile
-
Send Message
Posted Jun 7, 2012@McJellyGooby
Or they could just be asking for an update to the latest RB, instead of the CB. An update to the latest RB shouldn't need a stack trace or a ticket. No need to white knight because of a simple request.
If this current build is completely compatible with the latest RB, then simply saying so in the opening section would be good enough, but given the other posts it seems that probably isn't the case.
-
View User Profile
-
Send Message
Posted Jun 7, 2012Regarding my latest comment, it seems that it's Craftbukkit++ that is doing this item stacking thing.
http://forums.spout.org/threads/craftbukkit.938/
-
View User Profile
-
Send Message
Posted Jun 7, 2012I saw a video of the Hardcore SMP server, and it seems to be using NoLaggs ItemStacker. Though, When I have it on my server the item stack doesn't respawn. Is the server using NoLagg? The video is here, watch when he mines the coal:
http://youtu.be/gAGxrTVnPlc?t=21m40s
(if you get to the wrong timecode, just go to 21:40.
As you can see the stack respawns everytime he mines a new block. On my server it adds to the old stack that just stays on the same place on the ground.
EDIT: I just found out it's probably Craftbukkit++ that's doing this. http://forums.spout.org/threads/craftbukkit.938/
Maybe you can add a setting to either have the stack respawn or not (like it is now)? Cause I rather use CB+NoLagg than CB++ :/
-
View User Profile
-
Send Message
Posted Jun 6, 2012I turn off item buffer. I lost many blocks do to it. I still have it combine stacks.