File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ handleDebugMode
9
9
: " ${PAPERBUILD:= } "
10
10
: " ${PAPER_DOWNLOAD_URL:= } "
11
11
: " ${PAPER_CUSTOM_JAR:= } "
12
+ : " ${PAPER_CONFIG_DEFAULTS_REPO:= https:// raw.githubusercontent.com/ dayyeeet/ minecraft-default-configs/ main} "
12
13
13
14
resultsFile=/data/.paper.env
14
15
if [[ $PAPER_CUSTOM_JAR ]]; then
49
50
50
51
fi
51
52
53
+ # Download default configs to allow for consistent patching
54
+ configs=(paper-global.yml paper-world-defaults.yml spigot.yml)
55
+ mkdir -p config
56
+ if ! get --skip-existing --log-progress-each -o config " ${configs[@]/#/ ${PAPER_CONFIG_DEFAULTS_REPO} / ${VERSION} / } " 2> /dev/null; then
57
+ log " WARN: one or more default PaperMC config files were not available from ${PAPER_CONFIG_DEFAULTS_REPO} "
58
+ fi
59
+
52
60
# Normalize on Spigot for downstream operations
53
61
export FAMILY=SPIGOT
54
62
You can’t perform that action at this time.
0 commit comments