NoSpawnChunks
NoSpawnChunks
What does it do?
Ever wished you could run more on less? Multiworlds taking up all your memory and noone visits them very often?
The solution is now simple: install this plugin! This plugin does one thing, and one thing only, prevents spawn chunks being loaded into memory for all worlds on the server.
What does this mean in practice?
It means you can run a 2 person server on as little as 32mb ram (including 8-10 lightweight plugins). It also means that the memory impact from having 10+ worlds enabled at once on your server is reduced to an absolute minimum.
How to install
There is no configuration, it is literally drag and drop. Just install the plugin, stop the server, and do a full restart; the plugin is now enabled, and you should notice a dramatic drop in memory footprint.
There are no known errors to using this plugin other than increased server performance ;)
Plugin conflicts
Not so much a conflict - but if you are trying to run in a low-memory situation, any plugin that force-loads chunks will ruin that for you.
1.15.2????????
Works for 1.15+ ??
Good plugin!
What does the garbageCollector do?
Also, would it be possible to unload all chunks when server receive the "restart" order and start the server with just 1 chunk loaded, and start loading new chunks 5 seconds later after the restart?
Thanks.
Spigot 1.9 works fine
People, this plugin works fine on Spigot 1.8. (At least for me.)
For anyone wanting a version for 1.8.x: here you go https://github.com/dmulloy2/NoSpawnChunks/
@MonarchServer
It works for me. Using it on a 1.7.9 Spigot server. Works great.
This plugin no longer works.
I was wondering if I could continue this please? I used this plugin a lot back when it worked, and it's amazing at keeping the frames high and the lag low. I can't exactly implement new fancy features but I sure can update it.
@Zilacon
Try using a World Border. This will disable the load of any chunks outside of that border also having a "fill" tool it will generate all chunks within the worldborder so if you did that it will decrease your serverload alot! You can also set a world border render all chunks inside it and remove it again :)
@c0dejunkie
The spawn area is far less than 1000 chunks. Therefore, if you have 8000+ chunks loaded, you have some other issue. I'm not saying the plugin is working, and I'm not saying it's not, I'm just saying you can't tell from that because whatever else is loading chunks is getting in the way of you getting accurate numbers
Using this on a Tekkit Classic server and i once had 27819 chunks loaded... This definitely does not work.
Used it also on my Hexxit (1.5.2) server and again had 9204 chunks loaded...
This is with about 20 players online on each server.
ALL mod items that could "load chunks" are banned...
Any ideas?
Not sure if this is working, it says
[NoSpawnChunks] World:overworld has 1956 chunks in memory. [NoSpawnChunks] This is using approx 396,544k ram out of a total usage of 1,062948k [NoSpawnChunks] Players Online: 5 [NoSpawnChunks] TPS: 19
And then more info on other worlds/dimensions
Can someone tell me if this is working properly?
@c0dejunkie
Maybe another plugin is forcing chunk loading, any chance you could post a plugin list?
i am starting to think that this plugin is only half working cause in my main world with only me online has 8000+ chunks loaded, other worlds either have 1 loaded or none at all... if you do update this plugin then can you please add an option to be able to turn the plugin off on a per world basis . thanks a lot
@codename_B
It does not seem to be working on my MCPC+ server, anyway to fix this? I got over 3000 chunks loaded...
@codename_B
Will there be an update in the future? One problem I am currently having is when firing a bow, the bow will stop in the air and after a few seconds it lands where it aimed. This occurs randomly.
It's not abandoned, it still works juuust fine :)
@zxdragonblade
No it's ok ;) I don't mind
@HDfunctions
lol srry for asking so much