Skip to content

Restore backup doesn't work if worlds are not in root folder #107

@EllweissDev

Description

@EllweissDev

Describe the bug
Backups are not listed when restoring if the server world data is not at the root of the minecraft folder as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Have minecraft world data in another folder.
  2. Try to restore a backup from the backups folder.
  3. World is not listed.

Expected behavior
The tool should also pull configuration from server.properties to find the location of the world on the disk.

Versioning (please complete the following information):

  • OS: Oracle Linux 9
  • Minecraft Version(s): 1.21.4
  • Modloader(s): Fabric
  • Mod Version: 1.21

Additional context
Having a folder path instead of a single name is a supported feature of the server.properties file, so the tool should work with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions