
Modrinth · Minecraft mod
AutoMuteOnAfk
Automatically mutes Minecraft when the window loses focus (alt-tab / AFK) and restores your exact volume when you return.
Quick answer
Which AutoMuteOnAfk release should I use?
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.
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.
Install Architectury API first. We found matching files for this game-version and loader setup.
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.
- 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.
- 02
Bring the mods it needs
Install Architectury API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 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?
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.

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
/automuteonafkor 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, from0to100.showMessages(true) shows the action-bar messages. Set it tofalseto 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.
26.3
2 loader builds26.2
2 loader builds26.1.2
2 loader builds26.1
2 loader builds1.21.11
3 loader builds1.21.1
3 loader builds1.20.1
2 loader builds1.19.2
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
AutoMuteOnAfk versions and loaders
1.2.0
automuteonafk-neoforge-26.3-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-neoforge-26.2-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-neoforge-26.1.2-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-neoforge-1.21.11-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-neoforge-1.21.1-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-forge-1.21.11-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-forge-1.21.1-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-forge-1.20.1-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-forge-1.19.2-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-fabric-26.3-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-fabric-26.2-1.2.0.jar
6 Dec 2026
1.2.0
automuteonafk-fabric-26.1.2-1.2.0.jar
6 Dec 2026
Looking for an older file? The official Modrinth project page is in Resources.