Skip to content

Pre-downloading plugin configs to allow patching on first startup #3658

@Crafter-Y

Description

@Crafter-Y

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions