Play a Sound Effect to a Player
Play any sound effect to a specific player
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Plays a chosen sound effect for the targeted player at a position, with optional volume and pitch. This example plays the XP level-up chime. Java needs a sound category (player, master, etc.) and a sounds.json ID; Bedrock uses a sound-definition name and no category. Volume above 1 increases hearing range rather than loudness, and pitch ranges from 0.5 to 2.0.
/playsound minecraft:entity.player.levelup player @s ~ ~ ~ 1 1- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command for your edition.
- Swap in any sound ID you like (see the wiki Sound list).
- Press Enter — the sound plays for the target.
Related commands
Play the Ender Dragon Roar Sound
Play a dramatic Ender Dragon growl sound to players
Stop All Sounds
Silence sounds or music that are currently playing
God Mode (Resistance + Regeneration)
Become nearly invincible
Set Gamemode to Creative
Switch yourself into Creative mode
Kill All Mobs
Instantly remove every mob from the world except players
Add Experience Levels
Give yourself XP levels for enchanting