PLAYSOUND(<sound>,[volume])

Category
World
Added in
v0.8.7

Plays the specified sound.

If the <sound> starts with "custom." it looks inside an folder sounds inside the macros config folder.

[volume] has to be betweem 0 and 100

Example

PLAYSOUND("entity.creeper.primed")

// Has to be in .ogg format
PLAYSOUND("custom.sound")

Changelog