Skip to content

Instantly share code, notes, and snippets.

Created May 24, 2016 19:14
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save manuelgu/1b0ad70874012647151313629eceab58 to your computer and use it in GitHub Desktop.
Download the most recent minecraft version (snapshot)
# Download version file
wget -qN
# Beautify the file
python -m json.tool version_manifest.json > versions.json
# Get the latest snapshot release
MCVER=`sed -n -e '/\"latest\"/,/}/ s/.*\"snapshot\": \"\([^\"]*\)\".*/\1/p' < versions.json`
# Download the latest snapshot release
wget -N$MCVER/minecraft_server.$MCVER.jar
# Delete temp files
rm versions.json
rm version_manifest.json
Copy link

This actually helped me because I need the links to make my customized launchers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment