A
Admincraftβ€’8mo ago
spenuch

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
Admincraft Meta
Admincraft Metaβ€’8mo ago
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
Skullians
Skulliansβ€’8mo ago
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
DogeConomy
DogeConomyβ€’8mo ago
If by unload you mean deleting uninhabited ones temporarily to allow for new terrain generation, mcaselector would be the way to go
DogeConomy
DogeConomyβ€’8mo ago
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
spenuch
spenuchOPβ€’8mo ago
Oh interesting, what do you mean by this? Upgrade automatically? I've always had trouble with the updates
Skullians
Skulliansβ€’8mo ago
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
spenuch
spenuchOPβ€’8mo ago
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!
Skullians
Skulliansβ€’8mo ago
The server should automatically upgrade the entire world iirc when you update to 1.21
spenuch
spenuchOPβ€’8mo ago
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
DogeConomy
DogeConomyβ€’8mo ago
yeah mcaselector is the way to go if you're wanting that
spenuch
spenuchOPβ€’8mo ago
Amazing, thanks a ton. Glad I asked here
DogeConomy
DogeConomyβ€’8mo ago
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
spenuch
spenuchOPβ€’8mo ago
Youre joking Ive been watching a tutorial on it but I havent gotten that far in sounds extremely helpful thanks so so much again
DogeConomy
DogeConomyβ€’8mo ago
it's pretty easy to understand even without tutorials
spenuch
spenuchOPβ€’8mo ago
Even better haha
DogeConomy
DogeConomyβ€’8mo ago
No description
DogeConomy
DogeConomyβ€’8mo ago
get to this via ctrl+f ctrl +D is to delete highlighted chunks
spenuch
spenuchOPβ€’8mo ago
gotcha
DogeConomy
DogeConomyβ€’8mo ago
ok πŸ™‚
spenuch
spenuchOPβ€’8mo ago
thanks a bunch really really helpful shortcut keys !solved
Admincraft Meta
Admincraft Metaβ€’8mo ago
post closed!
The post/thread has been closed!
Requested by spenuch#0
matnep
matnepβ€’7mo ago
what does the 1200 means?
DogeConomy
DogeConomyβ€’7mo ago
1200 ticks (60 seconds since minecraft ticks 20 times per second)
matnep
matnepβ€’7mo ago
noted, thank you for the fast reply
DogeConomy
DogeConomyβ€’7mo ago
no problem πŸ™‚
QarthO
QarthOβ€’7mo ago
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"
DogeConomy
DogeConomyβ€’7mo ago
they meant deleting chunks so I answered/explained it in layperson way
matnep
matnepβ€’7mo ago
always wondered about chunky unloading process tho, thanks for explaining
QarthO
QarthOβ€’7mo ago
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

Did you find this page helpful?