Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Skript' started by Duelzz, May 26, 2017.
How would I play a sound to all players?
Loop all players and then play ____ sound to loop-player(s).
Seeing as this is in the Skript section, I am unsure if this is a mistake or not but if you are indeed using Java
for loop to loop through all online players
play sound effect for each player
Simple as that
Here a little example:
play sound "AMBIENT_CAVE" to player with volume 1 and pitch 2
with the text "player" you play the sound for all players
An example here.
if player is op:
loop all players:
play sound "AMBIENT_CAVE" to loop-player with volume 1 and pitch 2
I think you need skellett for this at the skript forums I saw this because I needed it 2 I used skellett
btw skellett is a script addon if u didnt know