Back to mods
AutoMuteOnAfk project artwork

Modrinth · Minecraft mod

AutoMuteOnAfk

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which AutoMuteOnAfk release should I use?

Updated today
Latest stable file 1.2.0
Game version 26.3
Loader NeoForge

AutoMuteOnAfk 1.2.0 targets 26.3 with NeoForge. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is AutoMuteOnAfk required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does AutoMuteOnAfk 1.2.0 need?

1.2.0. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Architectury API first. We found matching files for this game-version and loader setup.

Architectury API Needed by AutoMuteOnAfk 1.2.0
required
Matching file found Matched file: 22.1.7+neoforge

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add AutoMuteOnAfk without breaking your instance.

Built for AutoMuteOnAfk 1.2.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.0. It targets 26.3 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Architectury API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.0. It opens that exact file at the source.

About this project

What does AutoMuteOnAfk add?

JOIN OUR DISCORD CURSEFORGE

Auto Mute On AFK turns the game down when you switch to another window and brings back your exact volume when you return. Alt-tab to a browser or a video, and the game goes quiet without you touching the volume slider, or keeps the music playing softly if you prefer.

Restore volume when focused

Install it on the client only. Servers don't need it.

Dependencies: Fabric needs Fabric API and Architectury API. NeoForge needs Architectury API. Forge needs nothing else.

Free to use in any modpack — public or private, no permission needed.

What it does

  • Quiet in the background: when the Minecraft window loses focus, the master volume drops to your background level. By default that's 0%, so the game goes silent, but you can leave it playing softly at any level up to 100%.
  • Your volume comes back: when you return to the window, or turn the mod off, the exact volume you had before is restored. It survives world changes, menus and even a disconnect while you're away, such as an AFK kick.
  • Volume settings menu: open it with /automuteonafk or a key. The slider sets whole percentages, and the side buttons move the level by 10 points.
  • Keys for everything: bind keys to open the menu, raise or lower the background level by 10 points during play, and turn the mod on or off. None of them has a key by default, so assign them in Controls under Auto Mute On AFK.
  • Optional messages: a short line on the action bar tells you when the game is muted or restored. You can turn it off.

Configuration

Settings are stored in config/automuteonafk.json, created on first launch. Changes from the menu and keys are saved there, and editing the file updates the running game and the open menu.

  • targetVolumePercent (0) sets the background volume, from 0 to 100.
  • showMessages (true) shows the action-bar messages. Set it to false to hide them.
  • enabled (true) turns the mod on or off, and the toggle key flips it too.

For modpack authors

  • Preset the background level in config/automuteonafk.json. Configs from older versions keep their settings and get the default level.
  • All four key bindings start unassigned, so the mod takes no keys from your pack's controls.

Details

  • It only changes your own master volume. It never affects the server or other players, and it doesn't fight the volume slider while you're playing.
  • Available in English, Russian, Simplified Chinese, Spanish, French, German, Japanese, Brazilian Portuguese, Korean and Italian.

Feedback

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

More mods by Nikrecs: PerformanceHUD · ResizeableSubtitles

My other mods that I recommend.

Project description from Modrinth.

Pick your setup

AutoMuteOnAfk by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

18 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

AutoMuteOnAfk versions and loaders

60 of 60 releases match

Looking for an older file? The official Modrinth project page is in Resources.