-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
CraftBukkit version 4159-Spigot-e2c1eee-12360a7
-
just my test plugin
-
Yes
Recently I noticed when the server is frozen via `/tick freeze` ... chunks do not unload.
I haven't been able to test this on vanilla as I don't know a way to check for size of loaded chunks on a vanilla server.
I'm going to guess this is probably a vanilla issue as well, and I feel like Mojang would say this is intended.
While this is probably a Minecraft/vanilla bug, I figured I'd bring it to Spigot's attention in the hopes of a server side remedy.
I'm including a plugin with simple code in a command:
World world = player.getWorld(); int size = world.getLoadedChunks().length; player.sendMessage("Size of loaded chunks: " + size);
Steps to reproduce:
- log in
- once you feel chunks have finished loading around you, run the command "/test"
- Obviously based on view distance set, the output will vary, in my scenario I get "121"
- Move around a bit, run the command again, number will be the same.
- Now run "/tick freeze"
- move around quite a bit
- as you move around, run the "/test" command again, and you shall see this number climb.
- now run "/tick unfreeze", wait a second, run "/test"
- you should see the number we originally started with.
Since this is most likely intended by the server, maybe a Spigot/Bukkit config option to disable this? (if do-able)
Thank you for your time.