docker-minecraft-server
docker-minecraft-server copied to clipboard
Add option to reset/delete the world on startup
Enhancement Type
A completely new feature
Describe the enhancement
Add a new option that when set to true will delete the world folder on startup. Useful for minigame servers using mods such as bingo or lockout where a fresh world with a new random seed is needed for each game as a quick container restart will do all of the work.
Another option could be to allow the world option to take an empty folder and that in combination with the force copy option could be used to the same effect.
Great idea!
A workaround I used was to point the WORLD at an empty directory and set FORCE_WORLD_COPY to true
WORLD: "/worlds/blank"
FORCE_WORLD_COPY: "true"