mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-03-04 15:17:17 +00:00
Added more description of DATAPACKS variables (#1784)
This commit is contained in:
parent
1c9e31c630
commit
ec06e3bfeb
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -876,12 +876,14 @@ docker run -d -e EXTRA_ARGS='--world-dir ./worlds/'
|
|||
|
||||
### Datapacks
|
||||
Datapacks can be installed in a similar manner to mods/plugins. There are many environment variables which function in the same way they do for [mods](#working-with-mods-and-plugins):
|
||||
* `DATAPACKS`
|
||||
* `DATAPACKS_FILE`
|
||||
* `REMOVE_OLD_DATAPACKS`
|
||||
* `REMOVE_OLD_DATAPACKS_DEPTH`
|
||||
* `REMOVE_OLD_DATAPACKS_INCLUDE`
|
||||
* `REMOVE_OLD_DATAPACKS_EXCLUDE`
|
||||
|
||||
* `DATAPACKS`: comma-separated list of zip file URL, zip file in container, or directory in container
|
||||
* `DATAPACKS_FILE`: a text file within the container where each line is a zip file URL, zip file in container, or directory in container
|
||||
* `REMOVE_OLD_DATAPACKS`: if "true" the datapacks directory is removed of everything matching `REMOVE_OLD_DATAPACKS_INCLUDE`, but excluding `REMOVE_OLD_DATAPACKS_EXCLUDE` no deeper than `REMOVE_OLD_DATAPACKS_DEPTH`
|
||||
* `REMOVE_OLD_DATAPACKS_DEPTH`: default is 16
|
||||
* `REMOVE_OLD_DATAPACKS_INCLUDE`: default is `*.zip`
|
||||
* `REMOVE_OLD_DATAPACKS_EXCLUDE`: default is empty
|
||||
|
||||
Datapacks will be placed in `/data/$LEVEL/datapacks`
|
||||
|
||||
### VanillaTweaks
|
||||
|
|
Loading…
Add table
Reference in a new issue