Network Sound (Effect) — skNetwork
Addon: skNetwork · Category: Effect · Since: 1.0.0
Syntax
play network sound %string% [(at|with) volume %-number%] [(and|at|with) pitch %-number%] to network player[s] %networkplayers%Description
Plays a sound to a player anywhere on the network, whichever server they are on. The sound is played at that player's own location, so it follows them rather than coming from a fixed point. A player nobody is holding is skipped. Names are the same ones `play sound` takes, so a resource pack sound works if that player's server has the pack.
Guide: https://github.com/ahmadmsaleem/skNetwork/wiki/Network-Players
Examples
play network sound "entity.player.levelup" to network player "Notch"
play network sound "block.note_block.pling" with volume 0.5 and pitch 2 across the network