Minecraft – how do i import bulk terrain/landscape data into a running minecraft server

minecraft-java-edition

I have written software that generates terrain and buildings (example : Zoo Dome ). Unfortunately it requires that I stop minecraft, run my software to alter the save file, and restart minecraft.

I would like a way to load terrain into a running minecraft server from an external source (file or URL). Bonus points if it works when the server is running on a remote machine.

floating islands

Best Answer

You can't do that since you cannot edit a file being used by another program, what might work is to get far away from the chunks you want to edit so that the server unloads them, and then you add your terrain, you could also modify when the server unloads a chunk. Aside from that I think there isn't anything else you could do