Skip to content

Commit

Permalink
Use launcher.mojang.com instead of s3.amazonaws.com to download serve…
Browse files Browse the repository at this point in the history
…r.jar (#170)

* let mktest.sh use launcher.mojang.com instead of amazonaws to download the server jar

* use launcher.mojang.com in the docs instead of amazonaws for downloading the server jar
  • Loading branch information
zeichenreihe authored Feb 28, 2022
1 parent e44817b commit a773507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/usage/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ First, create a clean directory (folder). For this tutorial, we call it
``carpet``. There, download the vanilla jar and Carpet patch.

* `Download the 1.12.2 vanilla server jar
<https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar>`_.
<https://launchermeta.mojang.com/v1/packages/cfd75871c03119093d7c96a6a99f21137d00c855/1.12.2.json>`_.
* `Download the latest Carpet patch
<https://github.com/gnembon/carpetmod/releases/latest>`_.

Expand Down
2 changes: 1 addition & 1 deletion mktest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ else
cp "$GRADLE_CACHE_JAR" "$MC_JAR"
else
echo "Downloading server ..."
wget "https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar" -O "$MC_JAR" || { echo "failed to download MC jar" && exit 1; }
wget "https://launcher.mojang.com/v1/objects/886945bfb2b978778c3a0288fd7fab09d315b25f/server.jar" -O "$MC_JAR" || { echo "failed to download MC jar" && exit 1; }
cp "$MC_JAR" "$MC_JAR.orig"
fi
fi
Expand Down

0 comments on commit a773507

Please sign in to comment.