AutoMuteOnAfk

Quick rating

AutoMuteOnAfk

No reviews yet

Automatically mutes Minecraft when the window loses focus (alt-tab / AFK) and restores your exact volume when you return.

QoL & Tweaks
Performance & Optimization
Mod Loaders
Forge
NeoForge
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
automuteonafk-neoforge-26.2-1.0.0-26.2.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

JOIN OUR DISCORD

Automatically mutes the game while the Minecraft window is unfocused, then restores your exact volume the moment you come back. When you alt-tab away or go AFK, the mod stores your current master volume and sets it to 0%; when the window regains focus, your previous volume is restored — so the game never keeps blasting audio in the background, and you never have to touch the volume slider yourself.

📦 Install on the client. No server installation required — it works on any server (vanilla or modded) and in singleplayer.

🎮 Singleplayer note: Works perfectly in singleplayer — just drop it into your mods folder as usual.

ℹ️ Purely client-side: it only changes YOUR game's master volume. It never affects the server or other players, and it does not fight the volume slider while you are actively playing — it only acts when the window's focus actually changes.

Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/4XUPywnEyE

How it works:

  • Mute on focus loss: The instant the Minecraft window loses focus (alt-tab, switching apps, going AFK), master volume is set to 0%.
  • Restore on focus return: The instant the window regains focus, your previous volume is restored — down to the exact value you had.
  • Never loses your volume: The stored level survives world changes, menus, and even getting disconnected while muted (e.g. an AFK kick) — it is restored as soon as focus returns, never overwritten.
  • Optional action-bar message: A short "Game muted" / "Game volume restored" message can be shown when the state changes.
  • Toggle hotkey: Bind a key to enable or disable the mod on the fly, with the new state shown on the action bar.

Localization: fully translated into 10 languages — English, Russian, Simplified Chinese, Spanish, French, German, Japanese, Brazilian Portuguese, Korean, and Italian.

Configuration Config file: config/automuteonafk.json It is created with sensible defaults on first launch and loaded on startup.

You can also toggle the mod in-game without touching the file: open Options > Controls > Key Binds, find the Auto Mute On AFK category, and bind the Toggle Auto Mute On AFK key (unbound by default). Pressing it enables/disables the mod instantly and saves the new state.

Available options

enabled

  • When true (default), the mod is active and mutes/restores on focus changes.
  • When false, the mod does nothing (you can also flip this with the toggle hotkey).

showMessages

  • When true (default), a short action-bar message is shown when the game is muted or restored. Set to false for silent operation.

Examples

Default behavior (mute on unfocus, with messages):

{
"enabled": true,
"showMessages": true
}

Mute silently, without any on-screen messages:

{
"enabled": true,
"showMessages": false
}

Keep the mod installed but turned off (re-enable any time with the hotkey):

{
"enabled": false,
"showMessages": true
}

JOIN OUR DISCORD

Automatically mutes the game while the Minecraft window is unfocused, then restores your exact volume the moment you come back. When you alt-tab away or go AFK, the mod stores your current master volume and sets it to 0%; when the window regains focus, your previous volume is restored — so the game never keeps blasting audio in the background, and you never have to touch the volume slider yourself.

Restore volume when focused

📦 Install on the client. No server installation required — it works on any server (vanilla or modded) and in singleplayer.

🎮 Singleplayer note: Works perfectly in singleplayer — just drop it into your mods folder as usual.

ℹ️ Purely client-side: it only changes YOUR game's master volume. It never affects the server or other players, and it does not fight the volume slider while you are actively playing — it only acts when the window's focus actually changes.

Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/4XUPywnEyE

How it works:

  • Mute on focus loss: The instant the Minecraft window loses focus (alt-tab, switching apps, going AFK), master volume is set to 0%.
  • Restore on focus return: The instant the window regains focus, your previous volume is restored — down to the exact value you had.
  • Never loses your volume: The stored level survives world changes, menus, and even getting disconnected while muted (e.g. an AFK kick) — it is restored as soon as focus returns, never overwritten.
  • Optional action-bar message: A short "Game muted" / "Game volume restored" message can be shown when the state changes.
  • Toggle hotkey: Bind a key to enable or disable the mod on the fly, with the new state shown on the action bar.

Localization: fully translated into 10 languages — English, Russian, Simplified Chinese, Spanish, French, German, Japanese, Brazilian Portuguese, Korean, and Italian.

Configuration Config file: config/automuteonafk.json It is created with sensible defaults on first launch and loaded on startup.

You can also toggle the mod in-game without touching the file: open Options > Controls > Key Binds, find the Auto Mute On AFK category, and bind the Toggle Auto Mute On AFK key (unbound by default). Pressing it enables/disables the mod instantly and saves the new state.

Available options

enabled

  • When true (default), the mod is active and mutes/restores on focus changes.
  • When false, the mod does nothing (you can also flip this with the toggle hotkey).

showMessages

  • When true (default), a short action-bar message is shown when the game is muted or restored. Set to false for silent operation.

Examples

Default behavior (mute on unfocus, with messages):

{
"enabled": true,
"showMessages": true
}

Mute silently, without any on-screen messages:

{
"enabled": true,
"showMessages": false
}

Keep the mod installed but turned off (re-enable any time with the hotkey):

{
"enabled": false,
"showMessages": true
}

Screenshots

Gallery

  • Restore volume when focused
    Restore volume when focused
  • Keybind
    Keybind
  • Keybind
    Keybind
  • Restore volume when focused
    Restore volume when focused

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works