KeepChunks
KeepChunks copied to clipboard
Chunks don't get loaded on server start
Describe the bug If the server restarts the chunks saved in the plugin don't get loaded until a first player joins the server.
To Reproduce Steps to reproduce the behavior:
- Mark some chunks to keep
- build something you can tell if it was running for some time or not
- then shutdown the server
- start the server again and do nothing, no commands no joining, nothing
- then join the server after some time
Now you can see that the chunk have not been loaded in the time from restart until a first player joins the server.
Expected behavior That the chunks get loaded after a server restart no matter if a player has joined the server or not.
Environment (please complete the following information):
- OS: Debian 11
- Server Software Paper
- Server Version 1.19.2
- Full list of plugins: Just KeepChunks and WebConsole
Thanks for checking in this issue. It sounds interesting, and may very well be a problem. What time measuring device are you using, and how long did you wait until checking?
It's possible that it may be related to how servers lazily load chunks on start-up? Or Paper may change this behavior. I'll need to investigate regardless.