Better-than-Adventure / bta-issues

You can report bugs for Better than Adventure here.
26 stars 0 forks source link

Autosave singleplayer world on window close #284

Open Beethoven-n opened 1 year ago

Beethoven-n commented 1 year ago

Is your feature request related to a problem? Please describe. In modern versions of Minecraft, the world is saved to disk when the window is closed. It was a bit jarring to see that not implemented in the fork.

Describe the solution you'd like While in a singleplayer world, if the window is closed, either thru alt-f4 or literally clicking the close button, BTA should save the world as though you quit to the title screen, then quit Minecraft.

Describe alternatives you've considered The existing autosave interval is a very useful substitute for this feature, but it may result in a periodic performance hit on hard drives, or lower-spec hardware. I also already back up my world to a backups folder with a shell script on close, but I don't expect everyone to do that