docs: clarified path for zip file modpack (#2361)

This commit is contained in:
Geoff Bourne 2023-08-26 13:38:14 -05:00 committed by GitHub
parent 8fd1495795
commit 03034d2f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,16 +47,14 @@ These paths work well if you want to have a common set of modules in a separate
## Zip file modpack ## Zip file modpack
Like the `WORLD` option above, you can specify the URL or path of a "mod pack" Like the `WORLD` option above, you can specify the URL or container path of a "mod pack" to download and install into `mods` for Forge/Fabric or `plugins` for Bukkit/Spigot. To use this option pass the environment variable `MODPACK`, such as
to download and install into `mods` for Forge/Fabric or `plugins` for Bukkit/Spigot.
To use this option pass the environment variable `MODPACK`, such as
```shell ```shell
docker run -d -e MODPACK=http://www.example.com/mods/modpack.zip ... docker run -d -e MODPACK=http://www.example.com/mods/modpack.zip ...
``` ```
!!! note !!! note
The referenced URL must be a zip file with one or more jar files at the The referenced URL/file must be a zip file with one or more jar files at the
top level of the zip archive. Make sure the jars are compatible with the top level of the zip archive. Make sure the jars are compatible with the
particular `TYPE` of server you are running. particular `TYPE` of server you are running.