itzg/docker-minecraft-server

Add option to reset/delete the world on startup

Open

#1649 opened on Aug 3, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Shell (13,694 stars) (1,858 forks)batch import
enhancementhacktoberfesthelp wanted

Description

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.

Contributor guide