ModsFinder

StayInGame

by DerJxnnik

StayInGame stops the Windows key and Alt+Tab from pulling Minecraft out of focus, so a player in fullscreen is not accidentally thrown out of the game.

FabricClient-side onlyMIT LicenseOpen source26.2

What it does

Each blocker can be switched on or off on its own: one for the Windows key and one for Alt+Tab. Two hotkeys, F8 and F9 by default, toggle them during play, and an ActionBar message shows green for enabled and red for disabled. Blocking works through a native Windows API hook, so on macOS and Linux the mod has no effect.

Optional Mod Menu integration adds an in-game settings screen where the toggles and hotkeys can be changed. Text is available in English, German, Austrian German and Swiss German. The mod is released under the MIT License and is open source, with its source code and issue tracker public. It is built for the Fabric loader and needs Fabric API, and files cover game version 26.2 only, with 1.0.0 as the latest file dated 2026-07-06.

Key features

  1. Windows key blocking

    The Windows key is ignored while Minecraft has focus, so pressing it does not minimize the window.

  2. Alt+Tab blocking

    A separate toggle stops Alt+Tab from switching away from the game during intense moments.

  3. Hotkey toggles

    F8 and F9 switch each blocker on or off during gameplay, and the defaults can be changed.

  4. ActionBar feedback

    A green or red message in the action bar confirms whether each blocker is currently enabled.

Compatibility

Latest build for each game version and loader.

26.21.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Optional 1

Mod MenuAdds a mod menu to view the list of mods you have installed.
Optional

Use cases

Fullscreen play

Players who run Minecraft in fullscreen can keep the game focused while a Windows shortcut is pressed by accident.

Toggling off when needed

Both blockers can be turned off with a hotkey whenever the player wants to switch windows.

Who it’s for: Players on Windows who play in fullscreen and want fewer accidental exits from the game during long sessions.

How it compares

Full comparison

Borderless Mining Revived is a client-side Fabric mod for 1.21.11 – 26.3, open source under the MIT License, with a different focus. Revert Game Menu is a client-side Fabric mod for 26.2 – 26.3 released under All rights reserved, so it is not open source. Settings Hotkey is a client-side Fabric mod for 26.1.2 under the CC0 1.0 Universal license, which is open source, and it covers a different set of settings.

ModLoadersGame versionsEnvironmentUpdated
StayInGameFabric26.2Client-side only2026-07-06
Borderless Mining RevivedFabric1.21.11 – 26.3Client-side only2026-10-08
Revert Game MenuFabric26.2 – 26.3Client-side only2026-09-26
Settings HotkeyFabric26.1.2Client-side only2026-07-26

Questions

Does StayInGame need Fabric API?

Yes. Fabric API is required, and the mod is built for the Fabric loader only.

Does StayInGame work on macOS or Linux?

No. The blocking uses a native Windows API hook, so the mod has no effect on macOS or Linux.

Is Mod Menu required to change the settings?

No. Mod Menu is optional and adds an in-game settings screen, while the hotkeys work without it.

Which game versions does StayInGame support?

Files exist for game version 26.2 only, with 1.0.0 as the latest file.

In the catalog

StayInGame is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 13,894 mods support Minecraft 26.2.

Similar mods

What the author says

Blocks the Windows key and Alt+Tab while Minecraft is focused, so you don't accidentally get kicked out of fullscreen during intense moments.
DerJxnnik, on the Modrinth page

Official listing

Owner
DerJxnnik
Published
2026-07-06
Updated on Modrinth
2026-07-06
Facts verified
2026-10-15

Tags