Solved Removing chunks from loaded world

Discussion in 'Spigot Plugin Development' started by DelfikPro, Aug 14, 2018.

  1. Hello.
    I need to remove (or regenerate) some chunks (all the chunks to be precise) from world without unloading the world itself. There is no players in this world so it is allowed to unload chunks.
    Actually what I want is to regenerate empty world (map) without entire server lags (which happens when I just unload world, removing world folder and load it again).
    The world must be completely empty (generator setting are: flat, 1*minecraft:air).
    Is it a good approach to unload chunks, removing world region files and load them back? Is there any other methods to achieve this async?
     
  2. Solved with unloading all the chunks and removing region files from world folder.