electrobta.blogg.se

Minecraft server jar downlaod
Minecraft server jar downlaod





minecraft server jar downlaod

#Backup the old minecraft_server.jar file

minecraft server jar downlaod

SERVERURL=$(jq -r '.' /minecraft/temp/$VER2) #Parse the version.json file to get server download url json on the end of the version to use to parse the json file #Get the version specific json file to parse VER=$(jq -r '.versions.id' /minecraft/temp/version_manifest.json) URL=$(jq -r '.versions.url' /minecraft/temp/version_manifest.json) #Parse the version and version.json files into variables # Get the version_manifest file from Mojang # Symbolically server.jar link to the latest version. # Only download latest version if target filename does not exist.ĭeclare -r manifest="/tmp/manifest.$latest_version.json"Ĭurl -Ss -o "$manifest" "$latest_manifest_url"ĭeclare -r jar_url=$(jq -r "." "$manifest")Įcho "manifest url: $latest_manifest_url"ĭeclare -r jar="minecraft_server.$latest_version.jar" This file includes the following (as of this answer): "latest": )) \ I found the file they use to work out what the current version is and the URL to it: I recently decompiled the launcher for this very reason, to manage automatic updates for my server wrapper with their new naming convention.







Minecraft server jar downlaod