Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Commands and cheatsAll commands

Switch game

23 Wikis · pick your game
/stopsound

Command

/stopsound

Stops sounds that are currently playing for the chosen players.

Syntax

/stopsound <targets>
/stopsound <targets> * <sound>
/stopsound <targets> (ambient|block|hostile|master|music|neutral|player|record|ui|voice|weather) [<sound>]

Arguments

ArgumentKind of valueWhat to type
<targets>Target selectorThe players for whom sounds are stopped. One or more players.
<sound>IdThe id of the sound to stop, for example minecraft:music.game. Without it, all sounds of the chosen category are stopped.

Details

Permission level2: operators, worlds with cheats on, command blocks and functions
Works inSingleplayer with cheats enabled, multiplayer servers, command blocks and functions. Needs permission level 2 (gamemasters): operators, players in a world with cheats enabled, command blocks and functions.
ResultReports "Stopped all sounds", "Stopped all '<source>' sounds", "Stopped sound '<sound>'" or "Stopped sound '<sound>' on source '<source>'", depending on what was given. The number /execute store saves is the number of targeted players.
Only targetsWith only the targets, every sound is stopped for those players.
Sound sourcesThe source is the sound category: master, music, record, weather, block, hostile, neutral, player, ambient, voice or ui. With a source and no sound, all sounds of that category are stopped.
Any sourceWrite * in place of the source to stop one specific sound in every category. After * a sound id is required.
Always succeedsThe command reports success even if the sound was not playing.

Examples

/stopsound @a

Stops all sounds for all players.

/stopsound @s music

Stops the music that is playing for you.

/stopsound @a * minecraft:entity.ender_dragon.growl

Stops the Ender Dragon growl for all players, whatever category it plays in.

/stopsound @p record minecraft:music_disc.cat

Stops the music disc Cat in the record category for the nearest player.

Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)