GameplayJavaBedrock
/stopsound
Stop a sound that is currently playing.
Syntax
Parameters
- targets
- entity selector
- Players to stop the sound for.
- sourceoptional
- literal
- Limit to one mixer category.
- soundoptional
- sound ID
- Stop only this specific sound.
Examples
Stop all sounds for every player.
Stop background music for yourself.
Permission level
/stopsound requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.