Change/Remove Sounds

Discussion in 'Plugin Development' started by DefaultSyntax, May 1, 2014.

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

    DefaultSyntax

    Hi, I want to change the sound that's made when a Player hits another Player. How would I do that?
     
  2. Offline

    MrSnare

    With a resource pack
     
    TryB4 likes this.
  3. Offline

    TryB4

    DefaultSyntax
    You could just play a sound right when the previous one starts
     
  4. Offline

    DefaultSyntax

    What I meant was that I'm trying to make a plugin that changes those sounds. I successfully did that, but whenever someone is hit, you can still hear the player getting hurt with the default hurt sound. How would I remove it?
     
  5. Offline

    MrSnare

    You can't, you need to create a resource pack and force download when the player joins
     
  6. Offline

    DefaultSyntax

    There should be a way. Hypixel has done it
     
  7. Offline

    TGRHavoc

    DefaultSyntax
    Take a look at ProtocolLib, I think you need to intercept the default sound packets that get sent to the player and replace them with your sound.
     
Thread Status:
Not open for further replies.

Share This Page