docker-minecraft-server icon indicating copy to clipboard operation
docker-minecraft-server copied to clipboard

extension "wolrd copy" function for "Custom worlds" folder

Open EvilBlood opened this issue 1 year ago • 3 comments

Enhancement Type

Improve an existing feature

Describe the enhancement

Hello, you have the feature that a worldfolder is copied at startup. (environment variable "WORLD" and "FORCE_WORLD_COPY") I wanted to ask if it is possible that this also works for a "Custom worlds directory path". So that at startup all worlds from a folder are copied into the "Custom worlds" folder.

best regards

EvilBlood92

EvilBlood avatar Jan 13 '24 13:01 EvilBlood

There's not yet an option to copy multiple world directories since most of the time you can only run one. The exception I know is for multiverse, so maybe this we'll help https://docker-minecraft-server.readthedocs.io/en/latest/misc/world-data/#custom-worlds-directory-path

itzg avatar Jan 13 '24 15:01 itzg

The "https://docker-minecraft-server.readthedocs.io/en/latest/misc/world-data/#custom-worlds-directory-path" works i am just looking for a solution to copy multiple worlds when starting the server.

EvilBlood avatar Jan 13 '24 17:01 EvilBlood

Can you clarify why you're needing multiple worlds copied?

itzg avatar Jan 13 '24 19:01 itzg