Add Folia support (#2081)

This commit is contained in:
Marie
2023-04-14 04:55:58 +02:00
committed by GitHub
parent 3019388864
commit 834127db2e
4 changed files with 53 additions and 14 deletions

11
scripts/start-deployFolia Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
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" exec ${SCRIPTS:-/}start-deployPaper "$@"