JustAHuman-xD / SlimefunEssentials

A client sided mod to enhance Slimefun
MIT License
18 stars 13 forks source link

Persist the display of Jade. #34

Closed Eternal130 closed 4 weeks ago

Eternal130 commented 1 month ago

When leaving the server, store placedBlocks in a file. Upon joining the server, load the corresponding file based on the address. This way, placedBlocks achieves persistent storage. Even after restarting the game, Jade can correctly display previously placed blocks. I conducted tests on a 1.20.6 Paper server using the localized Chinese version of SlimeFun, so I'm not sure if this issue exists in the original SlimeFun.

JustAHuman-xD commented 4 weeks ago

So there isn't really a point to having this as the server will send data that will override this anyways. It also opens the door to desyncs if stuff changes while the client is offline.

JustAHuman-xD commented 4 weeks ago

I'm also in the middle of rewriting how this system works as well so this system will look pretty different when I'm done with it 😅