This commit is contained in:
2025-07-01 08:45:44 -07:00
parent 0687af5815
commit 853c9caf5c
11 changed files with 18 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ ENV XMS_SIZE=""
ENV XMN_SIZE=""
# URL's for files
ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/bedrock/install_script.sh
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/bedrock/install_script.sh
# Install java-17 & Dependencies.
RUN apt-get -y update && apt-get autoclean && apt-get autoremove \

View File

@@ -7,7 +7,7 @@
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
MC_RUN_FILE=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/vanilla/run.sh
MC_RUN_FILE=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/vanilla/run.sh
rm -fr /MCserver/MCserver_*.jar
rm -fr /MCserver/run_*.sh
@@ -30,7 +30,7 @@ if [ -e /MCserver/MCserver-$MC_VERSION.jar ]
fi
sleep 1
https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/
# Looking for run-${MC_VERSION}.sh
if [ -e /MCserver/run-$MC_VERSION.sh ]
then