Solved Plong sound from server

Discussion in 'Plugin Development' started by gamemakertim, Nov 20, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    gamemakertim

    Ever time when sethbling hit somebody whit his bow he heard a Ding sound
    (like At 9:33)

    Does anybody know what API that is? or how i can get it on my plugin in a method?
     
  2. Offline

    javoris767

    try
    Code:java
    1. player.playSound(target.getLocation(), Sound.ANVIL_USE, 0, 0);
     
  3. Offline

    ZeusAllMighty11 Retired Staff


    It sounds like he raised the pitch, because normal anvils make a lower sound
     
  4. Offline

    skipperguy12

    Yay, project ares! I've been trying to get the sound of that too, except I don't think it's an anvil. It's been there since 1.3.2
     
  5. Offline

    Panjab

    try

    Code:
    NOTE_PLING
     
  6. Offline

    gamemakertim

    Tanks, only The first float (number) is the volume.. so on 0 you dont hear anyting
    1. player.playSound(target.getLocation(), Sound.ANVIL_USE, 0, 0);


    I Got it!

    PHP:
    player().playSound(LocationSound.ORB_PICKUP1000)
    The Mistery = SOLVED :D
    Tanks for your help :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  7. Offline

    ZeusAllMighty11 Retired Staff

    I played on the server, love it. Great detection idea.
     
  8. Offline

    devilquak

    If you want to be able to use nearly all the client-side sounds in Minecraft, take a look at this:

    http://forums.bukkit.org/threads/need-more-effects.95028/#post-1300472
     
  9. Offline

    ZeusAllMighty11 Retired Staff

    devilquak

    What if the sound was ANVIL PLACE in sound 3 folder?
     
Thread Status:
Not open for further replies.

Share This Page