Giter Site home page Giter Site logo

Comments (9)

TheRemote avatar TheRemote commented on June 8, 2024

Normally I'd say this wouldn't be possible but you phrased this just right. It would be possible to back up the previous version from an update. This could be stored in the "downloads" folder or could even just be bedrock_server.bak as the previous version.

I will keep this open and investigate this but I think I can manage this and that it sounds like a good idea. Microsoft does leave people in a bad spot on this quite often. I'm not sure if their build servers aren't synced up quite right or if someone actually changes it or what it is but yeah I could definitely see the practical use of this.

I will investigate!

from minecraftbedrockserver.

starkey-01 avatar starkey-01 commented on June 8, 2024

Just encountered this issue also. The Minecraft Dedicated Server page states it is only serving up the Wild beta however the download URLs are still available if you look up the long version number. For example Minecraft 1.18.33.02.

https://minecraft.azureedge.net/bin-linux/bedrock-server-1.18.33.02.zip
https://minecraft.azureedge.net/bin-win/bedrock-server-1.18.33.02.zip

Could allow the user to input the URL or version number if this URL stays consistent.

from minecraftbedrockserver.

TheRemote avatar TheRemote commented on June 8, 2024

That's a great trick. I'll post this on my blog too for people who want to try this!

from minecraftbedrockserver.

dbroome1978 avatar dbroome1978 commented on June 8, 2024

Did this work for you? I updated the DownloadURL and DownloadFile in the start script.
It downloaded and extracted bedrock-server-1.18.33.02.zip. But when I run screen - it still shows the beta runing

from minecraftbedrockserver.

awesomejt avatar awesomejt commented on June 8, 2024

Thanks, I would have just submitted a PR, but I just didn't have the time and I wasn't sure if you were open to contributions.

from minecraftbedrockserver.

TheRemote avatar TheRemote commented on June 8, 2024

Hey dbroome,

Most likely it's replacing your manual extraction. You would want to disable the update check temporarily for this as it's probably replacing your manual extraction.

The script will support this as yes it's a bit of a pain to do manually since there's never really been too much of a need for it (at least not longer than a few hours or maybe a day was the previous record which has been shattered by this event).

I'm just pretty sure that even if I finish it today this is probably just going to be fixed and no later than tomorrow as that is the last day of the conference.

Thanks everyone for working on this and bearing with me!

from minecraftbedrockserver.

dbroome1978 avatar dbroome1978 commented on June 8, 2024

That did it. Thank you

from minecraftbedrockserver.

starkey-01 avatar starkey-01 commented on June 8, 2024

For future users with the same issue, I just ran these three steps from start.sh inside the servername folder and replaced $DownloadFile $DownloadURL, dirname and servername.

The scripts won't reinstall the latest version if it is already in the downloads folder until a newer version is available so this would have be repeated when they release the next version. The other issue #122 around automatic updates should resolve this.

curl -H "Accept-Encoding: identity" -H "Accept-Language: en" -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.$RandNum.212 Safari/537.36" -o "downloads/$DownloadFile" "$DownloadURL" 
unzip -o "downloads/$DownloadFile" -x "*server.properties*" "*permissions.json*" "*whitelist.json*" "*valid_known_packs.json*" "*allowlist.json*" 
Permissions=$(chmod u+x dirname/minecraftbe/servername/bedrock_server >/dev/null)

from minecraftbedrockserver.

TheRemote avatar TheRemote commented on June 8, 2024

Added with PR #124 (thanks smallsam!)

from minecraftbedrockserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.