Can you unload chunks? help
With 1.21 coming out, my server is going to have to decide whether to completely wipe, or move spawn/RTP far far away where there will be new chunks.
Is there a way to unload chunks so that they can reload for the new update?? How do you server owners go about updating versions???
30 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by spenuch#0
Typically when you update your server the world should upgrade automatically. You should always take backups and test beforehand though
So there isnβt any need to wipe / move everything to new chunks
If by unload you mean deleting uninhabited ones temporarily to allow for new terrain generation, mcaselector would be the way to go
GitHub
GitHub - Querz/mcaselector: A tool to select chunks from Minecraft ...
A tool to select chunks from Minecraft worlds for deletion or export. - Querz/mcaselector
Oh interesting, what do you mean by this? Upgrade automatically? I've always had trouble with the updates
Hence why you make backups.
Typically, you can just stop the server, make a backup, update your plugins & paper / whatever server software
and the world should update to the new format if necessary
Ahh I see. My trouble is that a player will load a chunk, in 1.20, and then when 1.21 content comes out there will be no new blocks in those already loaded chunks. I was looking to unload chunks so that when a player walks over to load it again, it will be in 1.21
Gonna check it out thanks a ton!
The server should automatically upgrade the entire world iirc when you update to 1.21
Oh fr? Even already loaded chunks?
With the new 1.21 update there is going to be those new underground trial structures. If I have thousands and thousands of already loaded chunks, players aren't going to be able to find these structures right?
Because the structure is only gonna spawn inside of new unexplored chunks
Honestly I think this is EXACTLY what im looking for. Selecting chunks that aren't player towns and then unloading them for new 1.21 chunks to load in
yeah mcaselector is the way to go if you're wanting that
Amazing, thanks a ton. Glad I asked here
you can also search for chunks that haven't been resided in for under 1 minute (or some other time period)
so no manual selection required for the most part
Youre joking
Ive been watching a tutorial on it but I havent gotten that far in
sounds extremely helpful
thanks so so much again
it's pretty easy to understand even without tutorials
Even better haha
get to this via ctrl+f
ctrl +D is to delete highlighted chunks
gotcha
ok π
thanks a bunch really really helpful shortcut keys
!solved
post closed!
The post/thread has been closed!
Requested by spenuch#0
what does the 1200 means?
1200 ticks (60 seconds since minecraft ticks 20 times per second)
noted, thank you for the fast reply
no problem π
alternatively you can use the chunky plugin and can do it in game if u dont want to have to download the world and boot up mcaselector everytime u want to do this. (just make sure u take backups prior)
would also like to mention that this proess is not called unloading.
Chunks load/unload has nothing to do with creating or deleting chunks on any version.
what "loading" does is take already made chunks from storage (the world file) and puts them in the world so the players can see.
then "unloading" removes them from the world so the players can no longer see
Think as you walk fly in a straight line in a world as you keep moving the world will come into view infront of you, then behind you when u get far enough away, the world disappear. this is loading and loading.
"generating" means it'll programmting create the chunks based off the seed (and the minecraft version) write them to the world file, and THEN automatically "load" those chunks so the player can see them.
If we go back to the flying in a straight line example, if you fly to a place that has never been "loaded" before it'll then "generate" new chunks, then "load" them. What you want is for those chunks to be re-generated on 1.21 so they have the new features (ie. trial chambers). In order to do that you need to...
"delete", (aka "purge" or "trim") those chunks. So that next time they are attempted to load, the server will see they don't exist yet, and will re-generate them
(its a bit more complicated than this, but this is a general explaination that should help you understand without going in too much details or the exact semantics). Hopefully this prevent confusion in the future if u ask about "unloading"
they meant deleting chunks so I answered/explained it in layperson way
always wondered about chunky unloading process tho, thanks for explaining
yeah obviously, was just trying to help shed some information to them so we're not just telling them what to do without any reasoning
chunky deletes the chunks from the disk, but not memory. so you'll need to restart the server the server to see the trimming happen