xImAnton / mcweb

a web-remote minecraft server wrapper with some unique features
GNU General Public License v3.0
1 stars 0 forks source link

World Management #10

Open xImAnton opened 3 years ago

xImAnton commented 3 years ago

add multiple worlds per server, can be selected, created, deleted, backed up additional data to server object could be:

{
    "worlds": [
        {
            "displayName": "world",
            "_id": ObjectId(132),
            "path": "world",
            "backups": [
                {
                    "path": "/path/to/backup/folder",
                    "backupMods": false,
                    "timing": {
                        "enableRepeat": true
                        "repeating": {
                            "interval": <"weekly" | "daily" | "hourly" >,
                            "startTime": 132456789
                        },
                        "timestamp": 132456789
                    }
                }
            ]
        }
    ],
    "currentWorld": ObjectId(132)
}
xImAnton commented 3 years ago

Uploadable Worlds

xImAnton commented 3 years ago

maybe separate collection for backups