mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 13:52:27 +00:00
21 lines
424 B
Bash
21 lines
424 B
Bash
#!/bin/bash
|
|
|
|
: "${FOLIA_CHANNEL:=experimental}"
|
|
|
|
# shellcheck source=start-utils
|
|
. "${SCRIPTS:-/}start-utils"
|
|
set -o pipefail
|
|
handleDebugMode
|
|
|
|
if [[ $FOLIA_DOWNLOAD_URL ]]; then
|
|
export PAPER_DOWNLOAD_URL="$FOLIA_DOWNLOAD_URL"
|
|
fi
|
|
|
|
if [[ $FOLIABUILD ]]; then
|
|
export PAPERBUILD="$FOLIABUILD"
|
|
fi
|
|
|
|
PAPER_PROJECT="folia" \
|
|
PAPER_NAME="FoliaMC" \
|
|
PAPER_CHANNEL="${FOLIA_CHANNEL}" \
|
|
exec "${SCRIPTS:-/}start-deployPaper" "$@"
|