EngineHub / EngineHub/WorldEdit
More configurable snapshot restore functionality
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 960
- Avg merge
- 6h 57m
- Merged PRs (30d)
- 1
Description
### The Problem
Restoring from a backup on a Fabric server, where dimensions are stored inside of the main world folder in DIM1 and DIM-1, does not work. In addition, [Textile Backup](https://github.com/Szum123321/textile_backup), which is a backup mod for Fabric, omits the world subdirectory and instead has the world files directly in the archive. For example, WorldEdit expects files in `backup/world//world/region` whereas Textile Backup has files in `backup/world//region`. Both WorldEdit and Textile Backup have some directory configuration; you can change WorldEdit's snapshot directory, and you can also change Textile Backup's backup location, but neither mod lets you change the config so they are compatible with each other.
### A Solution
The directory structure for the archives themselves should be configurable. This could be set in the main WorldEdit config file, or possibly while selected an archive with the /snap command.
### Alternatives
This problem _could_ be fixed on Textile Backup's side but imo it would make more sense for the mod _reading_ the archive to accept formats used by many mods, and not WorldEdit's own specific structure. (also, I'm sure that Textile Backup isn't the only backup plugin/mod to not save its backups in this one specific format)
### Anything Else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.