Stop Sound (Effect) — Skript

Addon: Skript · Category: Effect

Syntax

stop (all:all sound[s]|sound[s] %strings%) [(in|from) %soundcategory%] (to|for|from playing to) %players%

Description

Stops specific sounds, or all sounds, from playing to players or to everybody in an instance. If no sound category is provided, the sound is stopped in every category

Examples

stop sound "block.chest.open" for player
stop sounds "ambient.cave" and "ambient.underwater.loop" for all players
stop all sounds in music for player
stop all sounds in player's instance

View source