mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-05 01:49:16 +00:00
modrinth: change MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES default to false
This commit is contained in:
parent
dba2556e4e
commit
78d076e65e
3 changed files with 3 additions and 3 deletions
|
@ -873,7 +873,7 @@ For example, the following will auto-download the [EssentialsX](https://www.spig
|
||||||
```
|
```
|
||||||
-e MODRINTH_PROJECTS=fabric-api,fabric-api:PbVeub96,fabric-api:beta
|
-e MODRINTH_PROJECTS=fabric-api,fabric-api:PbVeub96,fabric-api:beta
|
||||||
```
|
```
|
||||||
- **MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES**=true : required dependencies of the project will _always_ be downloaded and optional dependencies can also be downloaded by setting this to `true`
|
- **MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES**=false : required dependencies of the project will _always_ be downloaded and optional dependencies can also be downloaded by setting this to `true`
|
||||||
- **MODRINTH_ALLOWED_VERSION_TYPE**=release : the version type is used to determine the newest version to use from each project. The allowed values are `release`, `beta`, `alpha`.
|
- **MODRINTH_ALLOWED_VERSION_TYPE**=release : the version type is used to determine the newest version to use from each project. The allowed values are `release`, `beta`, `alpha`.
|
||||||
|
|
||||||
### Downloadable mod/plugin pack for Forge, Fabric, and Bukkit-like Servers
|
### Downloadable mod/plugin pack for Forge, Fabric, and Bukkit-like Servers
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
## Extra options
|
## Extra options
|
||||||
|
|
||||||
`MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES`
|
`MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES`
|
||||||
: Required dependencies of the project will _always_ be downloaded and optional dependencies can also be downloaded by setting this to `true`. The default is "true"
|
: Required dependencies of the project will _always_ be downloaded and optional dependencies can also be downloaded by setting this to `true`. The default is "false".
|
||||||
|
|
||||||
`MODRINTH_ALLOWED_VERSION_TYPE`
|
`MODRINTH_ALLOWED_VERSION_TYPE`
|
||||||
: The version type is used to determine the newest version to use from each project. The allowed values are `release` (default), `beta`, `alpha`.
|
: The version type is used to determine the newest version to use from each project. The allowed values are `release` (default), `beta`, `alpha`.
|
||||||
|
|
|
@ -229,7 +229,7 @@ function handleGenericPacks() {
|
||||||
|
|
||||||
function handleModrinthProjects() {
|
function handleModrinthProjects() {
|
||||||
: "${MODRINTH_PROJECTS:=}"
|
: "${MODRINTH_PROJECTS:=}"
|
||||||
: "${MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES:=true}"
|
: "${MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES:=false}"
|
||||||
: "${MODRINTH_ALLOWED_VERSION_TYPE:=release}"
|
: "${MODRINTH_ALLOWED_VERSION_TYPE:=release}"
|
||||||
|
|
||||||
if [[ $MODRINTH_PROJECTS ]] && isFamily HYBRID FORGE FABRIC SPIGOT; then
|
if [[ $MODRINTH_PROJECTS ]] && isFamily HYBRID FORGE FABRIC SPIGOT; then
|
||||||
|
|
Loading…
Reference in a new issue