Skip to content

A helpful script I use to update my jarfile #408

@jgrogers

Description

@jgrogers

I play Minecraft infrequently enough that every time I try to connect to my server, the jarfile is out of date. I wrote a little script to streamline the updating process. Here my server is called "world" and my jargroup is called "latest". Please feel free to use this however you please.

lynx -source https://minecraft.net/en-us/download/server | grep "launcher.mojang.com" | cut -d '"' -f2 | xargs sudo msm jargroup changeurl latest
sudo msm world jar latest
sudo msm world stop
sudo msm world start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions