World Memory 是 Backup Optimization 模组的原型,它提供了一种无需进行备份或重启服务器即可将玩家所在位置及其他区域的区块回退到之前状态的方法——只需单击一下即可“倒流时间”,回到区块的某个先前迭代版本。
所有区块数据均以哈希处理后的纯文本字符串形式保存在世界文件中,从而减少了正常备份文件所需的存储空间。
该模组保存了哪些内容?
- 服务器崩溃前的状态
- 区块损坏前的状态(尚未完全测试,但功能可用)
- 爆炸前后的状态;若发生崩溃,会自动执行回滚
- 拥有额外数据的生物 NBT 数据(狼、村民、马、重命名实体等)
- 存储在方块中的 NBT 数据(床、箱子、告示牌、红石等)
任何且所有的修改都会被记录(正常情况下我希望如此 ?),并且可以被回滚。
目前未保存以及未来计划保存的内容:
剧透
(我知道我把 "future" 拼错了,还多加了一个 "E")
本模组目前定位为 Vanilla+(原版增强),旨在帮助服务器管理员回滚被破坏的区块和区域。
请注意,这只是一个原型,其优化程度可能未达到我的预期。如有任何问题,请通过我的 Discord 或私信反馈,非常感谢。
由我亲自进行的视频开发测试:
简短问答:
Q1:会有 NeoForge 版本吗?
A:会有。但由于我一个人开发,而我目前对 NeoForge 一无所知,所以需要花费一些时间。另外,目前没有 Forge 版本的计划,但也略有考虑。
Q2:会支持 [插入某个冷门的 Minecraft 版本] 吗?
A:1.20.1 及更高版本,爱要不要。你们可以 fork 代码并移植到低版本,我只要求你在底部用小字保留我的名字。
Q3:是否会跳过某些版本?
A:除了上一个问题中提到的内容外,我可能会制作一个 1.19.2 版本。此外,如果我发现在某个版本上开发过于吃力(根据模组开发总结,1.21 版很痛苦),我可能会跳过它。请记住,我目前是单人开发,并非团队领导,目前我更倾向于独自开发。
Q4:这个模组是否有更广泛的用途?
A:是的。这个模组仅仅是因为我思考如何在 Minecraft 中实现时间旅行而偶然诞生的,并且在未来它将不仅仅是一个“备份模组”。
World Memory it is a prototype of Backup Optimization mod, It add a way to revert back the chunks where you stand and elsewhere to a previous state without having to do backups or restarting a server simply "rewinding time" to a previous iteration of the chunks in a single click.
All chunks are saved in plained strings hashed inside the world file hence reducing the space needed for a normal back up file.
What is saved by the mod ?
- States before server crash
- States before corrupted chunks ( Not fully tested but working )
- States before and after explosion with an automatic rewind in case of crash
- NBT data of Mobs that has extra data ( Wolves, villager, horses, renamed entity etc... )
- NBT data stored in blocks ( bed, chest, signs, red stone etc )
Any and all modifications is recorded (normally i hope ?) and can be rewinded.
What is not saved and will in the future be saved ?
Spoiler
( yaya i know i misspelled future and i added the "E" )
-
Player Inventories
So far only mob/entities with inventory are saved and can be restored. As for player it is currently not yet implemented given it may cause duplication dupes ( since a player CAN respawn ) for now this feature is "here" but only work for (normally) Hardcore Worlds
-
External mods in general
Some future proofing was done already if a mod adds some tnt just with more power the mod can revert it back but what i like to call "special cases" are not rewindable yet ( custom explosions etc )
The mod is FOR NOW Vanilla+ Intended as a way for server owners to rewind griefed chunks and areas.
Bear in mind that this is a prototype and probably not as optimized as i wish it be. Any issue please report it on my discord or via DM's thank you so much.
Video Dev Testing by yours truly:
Short Q&A:
Q1: Will there be a version for NeoForge
A: Yes. But i'm alone so it will take time given i have 0 knowledge on Neoforge yet. And no unfortunately no Forge version in mind but it is slightly considered.
Q2: Will there be a [Insert obscure minecraft version] of the mod ?
A: 1.20.1 and higher take it or leave it. Yall can fork it and backport it i simply ask for my name in little letters at the bottom.
Q3: Will there be some version that may be skipped ?
A: Beside what's said in the previous question i will maybe make a 1.19.2 version and also if i find a version too exhausting ( According to modding summary 1.21 is a pain ) i will skip it. Keep in mind i am alone at the moment i am no team leader and i prefer it that way for now.
Q4: Does this mod have an extra scope ?
A: Yes. This mod is simply an happy coïncidence of me thinking of ways to make time travel possible in minecraft and has such will in the futur be more than simply a "back up mod"
评论 0
登录后参与评分
还没有评论,来抢沙发吧