-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed. No files downloaded #364
Comments
Happened to me too, I was trying to create a test server: |
Same here. Maybe the JSON format has changed once again? |
@1337gut entirely possible. From a cursory glance over the init/msm code, it's looking for URL's with 'server' inside, but the list is: https://launchermeta.mojang.com/mc/game/version_manifest.json and doesn't include any server mentions. Just launcher versions. |
I'd be happy to merge a PR fixing this, if anyone's got time. |
I tried to change the code to point to an old .json (albeit only up to 1.12.2) stored on aws, but it still failed with the same error. Line 1110. Probably me doing something daft this is first time using msm. |
What it will need to do is fetch version_manifest.json, search [versions] for the one needed (ie. highest version of "release" or "snapshot") fetch the {version}.json, then pull the jar download url from [downloads][server][url]. It might also be a good idea to verify the download file against the [downloads][server][sha1]. {version}.json also has all the library downloads urls too, which might be useful (I think I had to manually download those last time I setup a new server, which was a while ago...) If nobody else can get to this, I can give it a try later this week if I have time. I just haven't done much with complex bash in years. |
Same issue. Would love a fix, trying to spin one up for my son |
This will be fixed by PR #365 |
I've merged the PR, and the fix should be included in |
Can verify it works on Ubuntu (provided universe repo is enabled for installer to be able to get jq, #366) |
sudo msm the-world jar minecraft Downloading latest version... Checking minecraft version JSON... Done. Failed. No files were downloaded.
All from the auto installation. Permissions seem fine.
The text was updated successfully, but these errors were encountered: