gitgud banner

gitgud

5 devlogs
7h 58m 10s

A Git mod for Hytale. It will track changes made to the world, which you can rollback, commit, and revert.

Loading README...

mattseq

compresses files using gzip now.

Attachment
0
mattseq

releasing the mod today! its not entirely complete, the commit jsons arent compressed, block changes arent stashed at intervals so it might take a lot of memory after a lot of block changes. i improved the commands, wrote the README, etc. i also learned github actions yesterday, so i set up one that automatically creates issues from any TODO comments, which was cool, although not that useful for a small project

Attachment
0
mattseq

ok just finished up. changes are now automatically stashed and unstashed when stopping and starting the server so they’re never lost. i also added a status command as well, so its a bit more obvious whats going on. as promised, i recorded a video demo but it was too large to attach to this devlog so here’s a google drive link: https://drive.google.com/file/d/1O23bMkSVQa4SZZll06KLZY89ol3WN7id/view?usp=sharing

Attachment
0
mattseq

forgot to devlog for a while. i’ve most of the basics working. block tracking works (just for placing and breaking blocks), i can commit those changes and rollback to the previous commit. its not the most optimized vcs, it doesnt have hashing, buckets, file compression, or objects + trees, and it records block changes at the same position multiple times, but it does work. besides it doesnt have to store as much as git since its storing deltas not whole snapshots. im too lazy to record it but i will on the next devlog, promise. rn im working on stashing block changes if the server is turned off or at a fixed interval to prevent it from taking up too much memory

Attachment
0
mattseq

just got started with setting up my environment. i cloned a plugin template off of github. its pretty well made, it basically looks inside your hytale game files and uses server.jar from there, and when u run it i runs server.jar with your mods. then you can just join with your client. had to make a small change to the build.gradle bc my hytale files dont exist in the default location, they exist on another drive. i also got started with some of the block tracking using events. i found this repo where someone already made git for minecraft (which was my original idea a few months ago) https://github.com/rayyankhan47/Blockbase which is helpful to base it off of

Attachment
Attachment
0