CommandHelper

CommandHelper

46.5k Downloads

play_sound should use Minecraft format instead of Bukkit format

LadyCailinBot opened this issue ยท 3 comments

commented

CMDHELPER-2855 - Reported by VergilPrime

Sounds in resource packs can be completely custom now, and we should allow play_sound to call sounds this way.

/playsound sends a packet to the client telling it to play a sound at an address. I believe bukkits method does the same, but limits the sounds that can be played to the sounds it knows about.

Circumventing the issue by sending the packet directly may be the answer.

commented

Comment by LadyCailin

I do not want to bypass bukkit, certainly not for such a trivial feature. It becomes far too hard to maintain. Once bukkit adds the feature, it can be added to CH, but not before then.

commented

Comment by VergilPrime

The server can already use the playsound command on players... does that mean it's already implemented in Bukkit?

commented

Comment by jb_aero

I have an idea.