-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Enhancement Type
Improve an existing feature
Describe the enhancement
Hi, thanks for your great work!
It would be cool to have a way to download plugin configs or other config files before patching/launching in order to patch them. Currently you would have to let the server start, shut down and then start up again to use patches.
As far as I can see, mc-image-helper already has the functionality to download a file into a given folder:
if ! mc-image-helper mcopy \ |
I'm a bit uncertain how to declaration of these should look. My suggestion would be to have something like this:
DOWNLOAD_EXTRA_CONFIGS: |
plugins/LuckPerms;https://raw.githubusercontent.com/LuckPerms/LuckPerms/refs/heads/master/bukkit/src/main/resources/config.yml
plugins/WorldEdit;https://raw.githubusercontent.com/EngineHub/WorldEdit/refs/heads/version/7.3.x/worldedit-bukkit/src/main/resources/defaults/config.yml
With a declaration like that, some character would be needed to delimit the dest;source pair. The semicolon was my first thought, eventough it may still be used in urls. https://www.ietf.org/rfc/rfc3986.txt Page 12