
Minecraft has no real direction, anchoring plot, or specific guidelines. It hits the right tune on the subject of creation: it really does provide building blocks for your imagination. Minecraft is to my 25-year-old self as Legos were to my 5-year-old self: a time-sucking, mind-bending, and sleep-depriving experience in the simplest of activities. Mv /minecraft/temp/server.jar /minecraft/minecraft_server.At its heart, Minecraft is a blocky first-person game about building things, exploring an endless wilderness, and fighting off nasty nocturnal beasts, but that doesn't do it justice. #Move the downloaded server file to the minecraft_server.jar file in minecraft directory Mv /minecraft/minecraft_server.jar /minecraft/minecraft_ #Backup the old minecraft_server.jar file 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.
