itzg/docker-minecraft-server

Add REMOVE_OLD_CONFIGS

Open

#3,883 opened on 2026年1月24日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Shell (13,694 stars) (1,858 forks)batch import
enhancementhelp wanted

説明

Enhancement Type

Improve an existing feature

Describe the enhancement

It would be awesome if you could implement env var REMOVE_OLD_CONFIGS.

Aim is to delete/cleanup all files in config folder on server boot before it downloads the modpack.

Why do I need this?

Because some mod authors have designed their mod configs badly and have put client and server configurations in single file. Due to that, so that every modpack update wouldn't override client's custom settings, I've moved some of those settings to defaultoptions configs (which are only copied using some specific mods when the file doesn't already exist).

コントリビューターガイド

Add REMOVE_OLD_CONFIGS · itzg/docker-minecraft-server#3883 | Good First Issue