/playsound
Trigger any in-game sound for a player - perfect for surprises.
Overview
What is the /playsound command?
The /playsound command plays any in-game sound for chosen players โ a note, a mob noise, an explosion, UI clicks. You set the sound source category, position, volume and pitch, so you can place audio anywhere in the world.
It's how maps add custom sound cues, music stings and feedback without resource-pack triggers.
When to use it: Use /playsound to play a specific sound effect for players โ cues, ambience, or feedback in maps and minigames.
At a glance
Syntax
/playsound <sound> <source> <target>See it
What it does
Anatomy
Every part, explained
- 1
CommandRequired/playsoundPlays a registered sound event.
- 2
SoundRequired<sound>The sound id, e.g. entity.ender_dragon.growl.
- 3
SourceRequired<source>Volume channel: master, music, player, etc.
- 4
TargetRequired<target>Who hears it. @s is yourself.
Your turn
Try it yourself
Copy & paste
Examples
/playsound entity.experience_orb.pickup master @sA satisfying 'pop'.
/playsound entity.ender_dragon.growl master @aScare the whole server.
/playsound block.note_block.pling master @sA cheerful note.
Avoid these
Common mistakes
/playsound entity.ender_dragon.growl @a/playsound entity.ender_dragon.growl master @aYou must include the source channel before the target.
/playsound dragon.growl master @a/playsound entity.ender_dragon.growl master @aUse the full sound id, not a shorthand.
Good to know
Frequently asked questions
- How do you play a sound with a command?
- Run /playsound <sound> <source> <player> [x y z] [volume] [pitch], e.g. /playsound minecraft:entity.experience_orb.pickup master @s.
- Why can't players hear the sound?
- Volume controls hearing distance, not just loudness โ a low volume means players must be very close. Increase it or play at their position.
- How do you change the pitch of a sound?
- Add a pitch value between 0.5 and 2.0 at the end; higher is squeakier, lower is deeper.
Keep going