Files
minecraft/testing-vanilla/test.sh
fithwum d7b46be4b8
Some checks failed
Build and Push Minecraft Docker Images on Debian-base update / poll-debian-base-and-detect-changes (push) Failing after 1s
Build and Push Minecraft Docker Images on Debian-base update / Build and Push fabric (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-fabric (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / Build and Push testing-vanilla (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / Build and Push vanilla (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / generate-changelogs (push) Has been skipped
Build and Push Minecraft Docker Images on Debian-base update / generate-build-info (push) Has been skipped
change and add testing versions
2025-07-16 05:31:20 -07:00

12 lines
486 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2023 fithwum
# All rights reserved
MC_VERSION="1.14.4"
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')
echo "Server url: $MC_SERVER_FILE"
wget --no-cache --show-progress --progress=bar:force:noscroll $MC_SERVER_FILE -O /mnt/Other/Dockers/minecraft/testing/server-$MC_VERSION.jar