Closed ghost closed 6 years ago
See https://twitter.com/Dinnerbone/status/993773511469686784.
The old URLs for the Minecraft server JAR are depracted and will probably get removed. We can either hardcode the new URLs (for 1.12.2: https://launcher.mojang.com/mc/game/1.12.2/server/886945bfb2b978778c3a0288fd7fab09d315b25f/server.jar), or read the version_manifest.json files which contains URLs for each version's manifest and then in each version manifest, there is the server URL.
I decided to go with the second way because I think it is the way it is intended to be. I also changed the error when the server JAR is not present and the user does not want to download it automatically because it is no longer a static URL.
Fixes #382.
My IDE put the wrong commit message
See https://twitter.com/Dinnerbone/status/993773511469686784.
The old URLs for the Minecraft server JAR are depracted and will probably get removed. We can either hardcode the new URLs (for 1.12.2: https://launcher.mojang.com/mc/game/1.12.2/server/886945bfb2b978778c3a0288fd7fab09d315b25f/server.jar), or read the version_manifest.json files which contains URLs for each version's manifest and then in each version manifest, there is the server URL.
I decided to go with the second way because I think it is the way it is intended to be. I also changed the error when the server JAR is not present and the user does not want to download it automatically because it is no longer a static URL.
Fixes #382.