No Piston Sound

Discussion in 'Plugin Development' started by rcth, Sep 14, 2013.

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

    rcth

    Hello guys,

    At my server, we are building something which uses a lot of pistons, but the piston sound is annoying then, especially because we play other sounds at that place. Is it possible to disable piston sound with a plugin?

    I am working on a default plugin for the server, so it's a great addition to it.
     
  2. You will probably have to look into ProtocolLib, catch the sound package and cancel the sending.
     
  3. isn't there something like blockUpdatEvent which you can use?
     
  4. Do you mean this event & subclasses? As far as I know, you cannot prevent the playing of a sound there without cancelling the actual event which is the opposite of what OP is trying to do
     
  5. Offline

    rcth

    I only want to disable the piston sound, nothing more.
     
  6. Take a look at this.
     
  7. Offline

    rcth

    Hmmm... I don't seem to get how to use that for sounds (if that is possible?)... :l
     
Thread Status:
Not open for further replies.

Share This Page