Forgotten Graves

Forgotten Graves

273k Downloads

[FEATURE, 1.18.2 pref] Gravestone Spawn Command

ConqAra opened this issue · 3 comments

commented

gravestones should keep data, so if they are destroyed somehow a /gravespawn command could spawn a gravestone where you're at. even though the grave seem invincible, issues like barribob/bosses-of-mass-destruction#106 can occur. A simple fix would be to add an OP command that is able to spawn your (or any player's, based on @,)" last gravestone with the exact data it held. So that "accidents" can be nullified. When dying, old data is wiped and replaced with new. Is implementing this feature possible?

commented

I've backported the functionality to 1.19.1 and 1.19 (not released yet).. I'll see if I can't get it backported to 1.18.2 this weekend and release all 3 versions.

Update (8/28/23)
Ended up getting called into work over the weekend.. but I do have the client/server booting up properly at least; some functionality isn't quite working yet so I'll need to investigate more.

Update (9/1/23)
A good amount needs work it seems but I have some ideas.. the main thing is I'm not sure how to go about supporting custom dimensions. It may just have partial support, i.e. you can restore the contents of the grave to your player but it won't remove the grave from the world like it does in 1.19+ (for custom dimensions). No ETA, really, but I'd like to finish it before moving on to other things.

Update (9/3/2023)
Most of the bigger issues seem to be resolved.. still need to do more testing but hopefully it'll be done sooner rather than later.

commented

Hmm, so 1.19.2+ already has backup functionality (with commands to retrieve/recover graves, delete them, etc).

There's been a lot of refactors and additions since 1.18.2.. so it might be easier to just backport from 1.19.2 to that version. 🤔

I'm not sure when I'll get around to doing so, I've been quite busy lately, but I'll poke around and see. It might be easy enough.

commented

OK, I just published this to CurseForge and Modrinth. All of the typical testing I do has been done and it seems fully functional. If you run into any issues, please let me know, thanks!

EDIT: Oh, and make sure to remove the old config and regenerate it, a bit has changed in it.