Question Chunk unloading core mechanics

Lord_Tigrou

New member
Oct 27, 2022
1
0
1
Hello everyone,
I have a quite simple yet seemingly hard to answer question about the core functionning of chunk loading and mostly unloading of a mc server, more specifically a paper one. When exactly will a chunk be unloaded from the server's RAM (without considering java's garbage collector btw) ? Will some chunk stay loaded after the last player in range leaves or will some chunk stay loaded under some conditions ?
Just to be clear, I am talking about the server's side and not the client's.
Cheers,
Tigrou/Utorque
 
Last edited:

electronicboy

Administrator
Staff member
Dec 11, 2021
216
10
34
28
A chunk will be unloaded when there is no ticket keeping the chunk loaded (and the chunk manager does it work; paper will keep chunks loaded with a "delay" ticket in some cases to prevent spurradic reloading of chunks in some cases")