All Mods Resource Packs Data Packs Shaders Modpacks Plugins
FastQuit

FastQuit

by contaria • Downloads: 45 • Followers: 0
Description
Gallery
Changelog
Versions

FastQuit

About this mod

This mod lets you return to the title screen early while your world is still saving in the background.

Don't worry, the mod will wait for the world to finish saving when necessary, no data will be lost!

The world will show up on the world list, and you can even edit, delete or recreate it while it is still saving. This is done by reusing the info from the still saving world.

In its current state this should be safe to do as measures for thread safety have been taken. If you do somehow still encounter an issue, the worst thing to happen will be the action failing and Minecraft showing you a toast informing you of it.

If that happens, please open an issue with your .minecraft/logs/latest.log file attached!

Join the Discord!

If you are interested in my mods or have any questions, you can join my Discord!

Configure

To configure the mod, open the config screen from ModMenu or go to .minecraft/config/fastquit-config.txt.

There is currently three options to configure:

Show Toasts:

Determines whether a toast gets shown when a world finishes saving.

Background Thread Priority:

Sets the thread priority of the server when saving worlds in the background. This is done to improve client performance while saving, but will make the saving take longer over all. Value has to be between 0 and 10, setting it to 0 will disable changing thread priority.

Render "Saving world" Screen:

When playing on high render distance, quitting the world can still take a bit because the client-side chunk storage has to be cleared. By enabling this setting the "Saving world" screen will be rendered.

Show Saving Time

Determines whether the time it took to save the world gets displayed on toasts and the world list. Value has to be between 0 and 2, with 0 never showing the time, 1 only on the toast and 2 also on the world list. In ModMenu these are accordingly labelled.

How does this mod work?

At it's core, this mod is quite simple:

Normally, when quitting a singleplayer world, the client will wait until the server thread has finished saving the world before going to the Title Screen. This mod skips this waiting period and lets the server continue saving in the background.

PLEASE NOTE this does not always make quitting a world instant, as the client can still take a bit of time to unload rendered chunks etc. However, even in that case you will see a speedup as clientside unloading and serverside saving now perform simultaneously instead of one after the other.

Of course in practice this is not quite that easy:

When working with multiple threads like this, many problems arise. For example, when going to the world list, Minecraft will try to read its level data but fails because the background saving still locks the world file.

Instead, we now access the information through the still saving server. Similarly, when trying to edit, delete or recreate the world, we have to use the existing session.

To keep these processes thread safe, a lot of synchronization has to be done to ensure the saving server and the client don't get in each other's way.

For some things, like rejoining the still saving world or making a backup, we just wait for the server to finish saving completely. We also wait for the worlds to finish saving when quitting the game to ensure no data is lost.

Thanks to...

Translators:

  • Felix14-v2 (Russian)
  • Cccc-owo (Simplified Chinese)
  • JustAlittleWolf (German)
  • YakisikliBaran (Turkish)
  • Skidamek (Polish)
  • Oondanomala (Italian)
  • Madis0 (Estonian)
  • notlin4 (Traditional Chinese)
  • BurrConnie (Ukrainian)
  • GodGun968 (Simplified Chinese)
  • ImVietnam (Vietnamese)
  • ishi-sama (French)
  • KAGUYA-1137 (Japanese)
  • demorogabrtz (Portuguese)
  • ReallySuperOtter (Swedish)
  • asabhi6776 (Hindi)

Compatibility

With the help of MixinExtras and a custom Mixin Config Plugin, the mixins have been designed to be very non-intrusive while also being very effective.

Fast Backups:

  • (FIXED in FastQuit v3.1.0+) crash on world exit when "Allow multiple running Worlds" is ON
  • (FIXED in Fast Backups v0.17+) crash when quitting Minecraft immediately after world exit, fixed in newer versions of Fast Backup

Wakes:

  • (FIXED in Wakes v0.4.0+) crash on world exit with Wakes 0.3.0

If you suspect an incompatibility with another mod, please open an issue!

Problems?

If you are experiencing any problems, please open an issue on the issue tracker!

Make sure to attach important info like other mods you were using, log- or crash-files and if possible steps to reproduce.

Before uploading any files make sure to get rid of personal data! (For example your computers username in logged directories)

How to Install FastQuit (Mod)

FastQuit by contaria is verified for Fabric, Quilt across Minecraft versions 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 (latest release: 3.1.5+mc26.2, file size: 62 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2) and platform (Fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Quilt.
  3. Move the downloaded FastQuit file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2
Fabric
2mo ago 25
26.1.x
Fabric
2mo ago 12
1.21.11
Fabric
2mo ago 8
1.21.x
Fabric
2mo ago 6
1.21.x
Fabric
2mo ago 5
1.21.6
Fabric
2mo ago 4
1.21.x
Fabric
2mo ago 4
1.21.x
Fabric
2mo ago 3
1.21.x 1.20.x
Fabric Quilt
2mo ago 3
1.20.x
Fabric Quilt
2mo ago 2
1.20.x
Fabric Quilt
2mo ago 2
1.20.x
Fabric Quilt
2mo ago 2
1.20.x
Fabric Quilt
2mo ago 2
1.19.x
Fabric Quilt
2mo ago 2
1.19.x
Fabric Quilt
2mo ago 2
1.19.x
Fabric Quilt
2mo ago 2
1.19.3
Fabric Quilt
2mo ago 1
1.19.3
Fabric Quilt
2mo ago 1
1.18.x 1.17.x
Fabric Quilt
2mo ago 1
1.18.2
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
1.19.3
Fabric Quilt
2mo ago 1
1.19.3
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
22w46a 22w45a 22w44a +3
Fabric Quilt
2mo ago 1
22w46a 22w45a 22w44a +3
Fabric Quilt
2mo ago 1
22w46a 22w45a 22w44a +3
Fabric Quilt
2mo ago 1
22w46a 22w45a 22w44a +3
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
1.19.x
Fabric Quilt
2mo ago 1
1.19.x
Fabric
2mo ago 1
1.19.x
Fabric
2mo ago 1
1.19.x
Fabric
2mo ago 1
1.19.x
Fabric
2mo ago 1
1.19.x
Fabric
2mo ago 1
Thanks to koboshchan for this 26.2 port! :)
  • port to 26.2
  • added korean translations (thanks good7777865)

Thanks to Riflusso for porting to 26.1! :)
  • port to 26.1-26.1.2
  • updated polish translations (thanks lumiscosity)

Thanks to ImGRUI for this port to 1.21.11! :)
Took a while as per usual but FastQuit is now updated to 1.21.10!
Also fixed a couple small incompatibilities.
Fixed a critical bug, thanks to Madis0 for reporting!
  • CRITICAL ISSUE FOUND, PLEASE WAIT FOR 3.1.1!**

FastQuit 3.1.0 for 1.21.6 is now out!
  • updated to Minecraft 1.21.6 (thanks Riflusso)
  • renamed base package to me.contaria
  • added new translations:
  • Portuguese (thanks demorogabrtz)
  • Swedish (thanks ReallySuperOtter)
  • Hindi (thanks asabhi6776)
Sorry for the long wait, FastQuit now officially supports 1.21.4!
Thanks to megabyte6 for contributing this update :)
Sorry for the long wait, FastQuit now officially supports 1.21.2 & 1.21.3!
Thanks to kel-cu for contributing this update :)
Now available for Minecraft 1.20.5 & 1.20.6!

Edit: This release works for 1.21 and 1.21.1 too :)
Finally available for 1.20.4, thanks to Madis0 and Clomclem for helping with this update!

  • changed translation keys to conform to the cloth autoconfig format
  • added new translations:
  • French (thanks ishi-sama)
  • Japanese (thanks KAGUYA-1137)
  • updated translations:
  • Vietnamese (thanks ImVietnam)
  • Traditional Chinese (thanks notlin4)
Finally got around to getting FastQuit 3.0.0 out of beta!

  • rewrote config system (now uses Cloth Config API)
  • if you are updating from 2.x or older you will have to reconfigure your FastQuit options
  • added a new option "Allow multiple running Worlds", if disabled you won't be able to join a new singleplayer world until the one in the background has finished saving
  • this is to prevent some mod conflicts and will automatically disable itself when an incompatible mod is detected
  • fixes an issue with Quilt Standard Libraries
  • added some new translations:
  • Estonian (thanks Madis0)
  • Traditional Chinese (thanks notlin4)
  • Ukrainian (thanks BurrConnie)
  • Vietnamese (thanks ImVietnam)
  • updated some translations:
  • Simplified Chinese (thanks GodGun968)
  • Italian (thanks Oondanomala)

  • Please note that some of these translations were made before newer updates and might be incomplete.*
  • fix the translation string on the waiting screen being wrong, causing it to not be translated (thanks Kichura!)
  • fix deleting a currently saving world not working or even crashing
  • updated to 1.20+
  • rewrote config with cloth config
  • you will have to redo your settings, the old config file is not supported anymore
  • added a new setting for improved mod compatibility:
  • "Allow multiple running Worlds", defaults to *ON*, automatically disables itself if an incompatible mod is detected (currently only the Quilt Biome API)
  • added translations:
  • Estonian (thanks Madis0)
  • Traditional Chinese (thanks notlin4)
  • Ukrainian (thanks BurrConnie)
  • updated translations
  • Simplified Chinese (thanks GodGun968)

Please note that translation contributions were made before the 3.0.0 changes and are therefore still incomplete
  • support for configuring options through Catalogue
  • increase spacing and wrap texts on config screen to avoid text clipping into buttons
  • always re-render old screen immediately after waiting
###
  • added turkish, polish and italian translations (thanks to YakisikliBaran, Skidamek and Oondanomala!)
  • updated russian translations (thanks Felix14-v2)
###
  • reduced filesize using machete
  • support for configuring options through Catalogue
  • increase spacing and wrap texts on config screen to avoid text clipping into buttons
  • always re-render old screen immediately after waiting
###
  • added turkish, polish and italian translations (thanks to YakisikliBaran, Skidamek and Oondanomala!)
  • updated russian translations (thanks Felix14-v2)
###
  • reduced filesize using machete
FastQuit Icon
Download FastQuit
Select game version
Select platform