Skip to content

Updating doesn't change the start command #9

@realSZ27

Description

@realSZ27

When the server updates to another version, the .jar will be named differently, but the start command in the service file wont be changed to reflect this.

It would also be good to cleanup the old .jar when updating, and have warnings when the user tries to switch from one server software to another. Examples below. I don't think disallowing these switches is good either because there are some legitimate scenarios where it could work perfectly fine.

Switching from vanilla --> paper/purpur is fully supported. And purpur is a drop-in replacement for paper so switching from paper --> purpur is fully supported. But switching from fabric --> anything else (except manual) is unsupported because many mods change the world. Purpur --> paper works, but you will lose any purpur-specific configuration. And of course the script doesn't know what the manual server .jar is, so it's up to the user to make sure the switch is compatible.

Downgrading minecraft versions doesn't work unless you want to reset your world, or more depending on how far you go back.

Went on a little rant, but it's still kinda related lol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions