Skip to content

[FEATURE] MCB: Allow game to be updated to a specific version #3879

@mbaker3

Description

@mbaker3

User Story

As a server admin, I want to overwrite the currently installed game version with a specific version so that I can choose the exact build I am running rather than only being able to update to the latest version.

This accomplishes functionality similar to the VERSION argument used when consuming docker containers.

Basic info

  • Distro: [Ubuntu 20.04]
  • Game: [Minecraft: Bedrock Edition]
  • Command: [Update]
  • LinuxGSM version: [v20.1.3]

Further Information

When mcbserver update --override {some.version.number} is called attempt to install a specific version of the game.

Using the same URL pattern assumed by the update script update_minecraft_bedrock.sh construct a URL to download a specific version and attempt to download. If the download fails leave the existing install intact and provide an error message to the caller.

It may be useful to consider adding this functionality when performing the initial install of the game too.

Further Reading

Context: https://discord.com/channels/127498813903601664/424152809970204672/980876928762400848

The need for this feature emerged after the Minecraft team posted a beta server build to their main server download page. Servers were auto updated to a beta version leaving them incompatible with most game clients. This feature would allow admins to quickly/easily roll back their server version after disabling their auto-update jobs.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions