1

Stopping the /playsound command?

nathan795's Avatar nathan7954/12/14 9:45 pm
8/11/2014 1:06 pm
tobsam's Avatar tobsam
I have created an adventure map and need to stop music from /playsound command Any way of doing this? For example, music is playing and you transition into a building and the music keeps playing while music from another /playsound starts playing.
Posted by nathan795's Avatar
nathan795
Level 52 : Grandmaster Architect
199

Create an account or sign in to comment.

7

1
08/11/2014 1:06 pm
Level 1 : New Network
tobsam
tobsam's Avatar
Here is what you could do:

If you create an adventure map, you probably will create resources for it anyway...

You could split the file into multiple short ones, and make a repeater row that keeps playing them one after another, then simply check when the player leaves the area and stop the circuit and start another.

A quite complicated way and not lagfree either, but I guess it could be the best one right now, also I'm not sure how smooth the file switching would work...

Maybe you want to try that!

~tobsam
1
04/21/2014 10:41 pm
Level 49 : Master Technomancer
TedTheTechie
TedTheTechie's Avatar
It is currently impossible to do this, there is no option to stop current /playsound's. Unless you set coordinates for it to play, and the players slowly back away from it, then it'll stop.
1
04/15/2014 10:38 am
Level 18 : Journeyman Engineer
Maveriknight
Maveriknight's Avatar
I actually toyed with some concepts like this for my server, so that I could use it to try and put theme songs into each nation's area, and the best you'll get is a carefully engineered radius setup like atomick suggested, so that they exit the radius of one as they enter another. doing it only really becomes practical if it's used on wide area scales, however, due to the nature of command blocks.

I recommend that if you're looking to use it for a town type area with a lot of those transitions, you just give the town it's own theme, and other stuff it's theme, rather than an inside and outside transition on all of them, which would lead to a LOT of lag, repetition on your part, and likely get irritating if they're going in and out a lot.
1
04/13/2014 8:44 pm
Level 16 : Journeyman Engineer
atomick86
atomick86's Avatar
You might be able to find the perfect distance so that when they are out of the building, they can hear it easily, but inside they are too far away to hear it
1
04/13/2014 12:12 am
Level 27 : Expert Taco
experttacobear
experttacobear's Avatar
Not sure this is possible. I am pretty sure music is client side. If they have a certain specialized resource pack without the music this can be achieved though because the music won't play.
EDIT: (if you delete the music files from resource pack)
1
04/13/2014 12:01 am
Level 52 : Grandmaster Architect
nathan795
nathan795's Avatar
Can you tell me how?
1
04/12/2014 10:16 pm
Level 2 : Apprentice Miner
MormonMan
MormonMan's Avatar
I can pm me the ip and ill do it or do i
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome