Geitenijs / KeepChunks

The most powerful chunk loading plugin!
Other
42 stars 9 forks source link

Chunks don't get loaded on server start #61

Open paulober opened 1 year ago

paulober commented 1 year ago

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):

dorrzun commented 1 year ago

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.