KeepChunks icon indicating copy to clipboard operation
KeepChunks copied to clipboard

Chunks don't get loaded on server start

Open paulober opened this issue 2 years ago • 1 comments

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:

  1. Mark some chunks to keep
  2. build something you can tell if it was running for some time or not
  3. then shutdown the server
  4. start the server again and do nothing, no commands no joining, nothing
  5. 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

paulober avatar Nov 06 '22 23:11 paulober

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.

dorrzun avatar Nov 12 '22 03:11 dorrzun