Z0rdak / Yet-Another-World-Protector

Yet Another World Protector is a server-side protection mod which allows you to protect your creations against various different events/actions of players, mobs and the environment. It was inspired by the forge mod WorldProtector and the WorldGuard plugin.
https://www.curseforge.com/minecraft/mc-mods/yawp
GNU Affero General Public License v3.0
21 stars 8 forks source link

Region backup/snapshot feature #60

Open Z0rdak opened 1 year ago

Z0rdak commented 1 year ago

I think it would be nice to have a feature for a Local Region to save its exact block state at a particular point and restore it later.

This could be useful for mini-games, mining areas or other things.

On the other hand, there are for sure mods already available which can handle such a thing.

Either I implement this feature myself or I provide an API for other mods to get block information from a region to implement this feature their self.

Reincarnaciya commented 1 year ago

Are you planning to add database(MySQL) integration ?

Z0rdak commented 1 year ago

Are you planning to add database(MySQL) integration ?

I thought about adding a SQL-Server adapter integration in the future. But this would be then an alternative for saving all the region data to a database, instead saving it as NBT data.

This feature is more about saving the exact blockstate of a region.

Z0rdak commented 2 months ago

From the discord:

I'm curious, with the WorldEdit integration, could you make it server-sided too so you could integrate with functionality like the rollback feature of WorldEdit?

It would be epic to have claims like arenas or apartments and roll them back to certain snapshots (Bearbeitet)

WorldEdit can handle all the block related functionality: https://worldedit.enginehub.org/en/latest/usage/snapshots/