15

How to use /playsound command

Collectable

Get Embed Codes

Forum:
HTML:
Link:
avatar
UnlockerTV
Level 52 : Grandmaster Mountaineer
70
Today I'll show you how to use /playsound command in a command block

1.Place 1 Command Block and put button against it
thtrBpng

2.Insert /playsound [x] [y] [z] [volume] [pitch] [minimumvolume] (<> = Required [] = Optional) in to command block

sound - location of sound that want
player - who you want to hear (use @p for nearest player, @r for random player and @a for all players)
x y z - where this sound comes from (player will hear sound from specify coordinates)
pitch - a pitch of sound
minimumvolume - MinVol of sound

jPHMgaCpng
3.When you hit button you'll hear fuse sound that can prank other player :P

How to get sound location?

1.Go into .minecraft and go into assets folder
WrZubjkpng
2. Go in to sound folder and search your sound (i'll use fuse sound as same in this tutorial)
zgZnyOpng
upASENpng

3.Use this pattern to be a location <storage-folder>.<sound-name> and it'll be random.fuse (fuse sound storage in random folder)

4.Now! you get sound location to use in /playsound!
Tags:Tutorial

Comments : 30

Join us to post comments.

Show Comments

1 - 30 of 30

  • Yomama_
  • Level 52
  • Grandmaster Network
  • February 22, 2017, 9:48 pm
Is it possible to play a sound via the command that people around the player can hear? Like If I wanted to add a cow sound when players typed /Moo that other players near that player could hear? Currently I am only able to do sounds that I can hear, I want players around me to hear the sound as well. Thanks!
  • itayBerMC
  • Level 4
  • Apprentice Miner
  • October 25, 2016, 1:40 am
Can someone help me? I do @p and it says "That player not found"
  • Pecoliky1
  • Level 25
  • Expert Pixel Painter
  • February 20, 2017, 7:00 am
You misplaced the values then
(Version 1.8) Here is the million dollar question...if you play a music file, how do you make the music stop? This ability is crucial for me to finish my adventure map.
  • UberDuck
  • Level 1
  • New Network
  • February 25, 2017, 11:42 am
try /stopsound (player)
Someone has probably answered this already, but you can do /stopsound I think, experiment with it, and it should work.
  • AppleAiden
  • Level 9
  • Apprentice Engineer
  • July 27, 2015, 5:50 am
there is no way...
I have since then figured this out, but I have a plan to circumvent this dilema.
All you have to do is switch them to a different gamemode and then instantly switch them back. It works to end music every time for me. (Except when I put a disc in a juke box but with commands it may work different.)
  • Dutchpelkie
  • Level 40
  • Master Droid
  • October 27, 2014, 8:13 am
I have made a list where all of the sound names are in: www.planetminecraft.com/blog/all-sound-names---for-playsound/
  • EndrDragon159
  • Level 3
  • Apprentice Engineer
  • October 12, 2014, 11:00 am
Thank for putting this up... It was very helpfull
  • Portal2guy
  • Level 12
  • Journeyman Engineer
  • September 12, 2014, 6:09 pm
If you put /playsound ~ ~ ~ 50, it plays even if you move away from the command block
I can't get that to work :/ can you show me a full example of the command? (1.8)
  • Portal2guy
  • Level 12
  • Journeyman Engineer
  • October 25, 2014, 6:45 am
Sorry, you have to type this:
/playsound <sound name> @p ~ ~ ~ 50
  • um_tongo
  • Level 1
  • New Miner
  • November 23, 2014, 8:23 am
That doesnt work for me (1.7.2) is there anyway you can play it while moving waya in 1.7.2?
  • Portal2guy
  • Level 12
  • Journeyman Engineer
  • November 23, 2014, 8:54 am
No, it only works in 1.8. Why are you in 1.7.2 still?
  • um_tongo
  • Level 1
  • New Miner
  • November 27, 2014, 9:59 am
Ok thanks, its because of server plugins that we are using... Going to build it in singleplayer anyways :P
ok, thank you I'll try it out :D
  • Westdog01
  • Level 1
  • New Miner
  • September 7, 2014, 11:34 am
Can i use music with this?
  • Portal2guy
  • Level 12
  • Journeyman Engineer
  • September 12, 2014, 6:10 pm
Replace the sound "classic_hurt.ogg" with a musics. It's not used anymore. Same goes for the old explosion sound.
  • sufi2425
  • Level 6
  • Apprentice Miner
  • July 12, 2014, 4:06 am
try out with executing (in 14w28 snapshot)
/execute @p ~ ~ ~ playsound fireworks.blast @p ~ ~ ~ 1 1.4 1
or other commands
  • sufi2425
  • Level 6
  • Apprentice Miner
  • July 12, 2014, 4:08 am
I have a question: Does the playsound command can execute / play creative4.ogg ?
or other soundtrack.
THANK YOU SO MUCH!!!
  • Denneisk
  • Level 20
  • Expert Artist
  • February 3, 2014, 3:18 pm
Is there a way to target specific sounds? (Or yet?)
  • Iyeru
  • Level 13
  • Journeyman Explorer
  • January 25, 2014, 5:10 am
With the new snapshots, sound folder doesn't exist in vanilla minecraft. All there is now is indexes and objects folders.
  • camham49
  • Level 1
  • New Miner
  • January 25, 2014, 8:56 am
Go into resources and you'll find sound
e.g.C:UsersUSERNAMEAppDataRoaming.minecraftresourcesnewsoundportal
  • Iyeru
  • Level 13
  • Journeyman Explorer
  • January 28, 2014, 2:44 am
What if I don't have a resources folder?
  • Timdeuces
  • Level 29
  • Expert Musician
  • September 4, 2013, 6:40 am
When I use coordinates, it plays the sound wherever i am in the map.
the command:/playsound random.anvil_break @p 7 191 6 1 1 1
  • Electromite
  • Level 28
  • Expert Farmer
  • August 26, 2013, 5:48 am
How do I plat "damage.hit" and then "damage.hit2," It's not reading 'hit2' as a file :L
  • (AVE(N)GER)
  • Level 55
  • Grandmaster Pirate
  • August 9, 2013, 11:34 pm
to bad it doesnt work on bukkit yet..

1 - 30 of 30

Show Comments