Custom Sounds for PM

Discussion in 'Spigot Plugin Help' started by remibarna, Jul 2, 2017.

  1. Hello,

    So I was wondering. I was messing around with commands.yml and could I by any chance when someone /msgs me or anyone in that matter it sends the message with a custom noise? Maybe like a "DING" like on some HCF servers?
     
  2. Thaths easy, here's a method:
    Code (Text):
    Bukkit.getWorld(p.getWorld().getName).playSound(p.getLocation(), Sound.NAME, 1, 1);

     
    please subscirbe thanks :D
     
  3. For commands.yml ?
     
  4. That shoudn't work with commands.yml sry for my bad english xd.
     
  5. I can make a plugin for you.
     
  6. I don't need a plugin. Plus I'm sure I can find free ones on the here easily for something simple. I just want to know if I can do this with simple command.yml :p
     
  7. Nope sry, i dont know how that works :D
     
  8. You cannot trigger it on command.yml.
     
  9. Thank you