update: holesail image 2.2.0 & refactor

This commit is contained in:
2025-07-30 15:37:02 -07:00
parent 025e9d5116
commit 93ac77e6dd

4
mc
View File

@@ -6,6 +6,8 @@ RED="\033[0;91m"
GREEN="\033[0;92m"
RESET='\033[0m'
HOLESAIL_DOCKER_IMAGE='anaxios/holesail:2.2.0'
readonly base_url="https://api.my-mc.link/"
readonly headers=( -H "Accept: application/json" -H "Content-Type: application/json" -H "x-my-mc-auth: ${MY_MC_API_KEY}" )
@@ -116,7 +118,7 @@ function connect() {
-e HOST=0.0.0.0 \
-e PUBLIC=false \
-e MY_MC_API_KEY=$MY_MC_API_KEY \
-p $port:25565 'anaxios/holesail:2.1.0'
-p $port:25565 "$HOLESAIL_DOCKER_IMAGE"
echo ""
}