
CloseOnMove
Close / Exit in-game GUI's using movement keys, so you can make a quick getaway!
Screenshots

About this Mod
CloseOnMove
Close / Exit in-game GUI's using movement keys, so you can make a quick getaway!
What does it do?
Are you like me? — Accidentally opening your inventory mid-battle, or panicking and forgetting how to close a chest when you hear the hissing of a Creeper?
Then this mod is great for you!
Use W, A, S, D or Space to quickly close in-game GUI's such as the inventory, creative menu, chests, advancements screen etc.
It's made so that if a text field is focused, the GUI is not closed so you can still type stuff in the recipe book or creative menu for example.
Do you use other keys to move, or just want to add more keys to exit GUI's? Use the closeonmove.json file in your config folder, or use Mod Menu in the mod versions of Minecraft 1.20.3 and above.
Dependencies
- Fabric API
- Mod Menu (Optional, for mod versions of Minecraft 1.20.3+)
Compatibility
I have not found any incompatibilities in terms of other mods, although Java 21 is required.
Available Versions
How to Install CloseOnMove on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "CloseOnMove". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+26 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
CloseOnMove server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is CloseOnMove compatible with fabric?
CloseOnMove officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with CloseOnMove – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CloseOnMove consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install CloseOnMove with just one click on your server.