Auto-detect and download Benchmark in dev and stag
This commit is contained in:
parent
4720f63667
commit
a0981f0c81
@ -78,6 +78,24 @@ fi
|
|||||||
git pull
|
git pull
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#
|
||||||
|
# Import dev-tools
|
||||||
|
#
|
||||||
|
if [[ "$ENV" = "dev" || "stag" ]]; then
|
||||||
|
echo
|
||||||
|
echo "checking devtools..."
|
||||||
|
(
|
||||||
|
source ./config/server-properties/helpers/curl.sh
|
||||||
|
cd ./world/datapacks
|
||||||
|
if [[ ! -f benchmark-v2-1-0.zip ]]; then
|
||||||
|
"missing Benchmark v2, downloading..."
|
||||||
|
__curl "https://files.ferdin.land/ferdinland/devtools/benchmark-v2-1-0.zip" > benchmark-v2-1-0.zip
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
echo "devltools all good!"
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copy server-properties
|
# Copy server-properties
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user