Death Sounds Plugin

Discussion in 'Plugin Requests' started by calimystic, Dec 18, 2016.

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

    calimystic

    Plugin category: Death Messages/Sounds

    Minecraft version: 1.8.9

    Suggested name: Custom Death Sounds

    What I want:

    Hi, I need a plugin that will play a death sound to everybody upon someone's death. I've tried making a skript for this, but in the console, it says "%loop-player% is too far away to hear the sound"

    I host my own UHC's, but I don't have a sound that plays when someone dies, and I cannot find a plugin that will do just that. Can someone help me out? I'd like to be able to change it to whichever sound and have it be an easy process. Thank you <3

    Ideas for commands:
    Only a config, no commands

    Ideas for permissions: No permissions as there would just be a config

    When I'd like it by: Next few days, if possible :)
     
    Last edited: Dec 18, 2016
  2. Offline

    Zombie_Striker

    @calimystic
    You can take a look at my plugin EventSounds. Although it currently has not been updated in a while, I will be updating it to have an API and some other features soon.
     
  3. Offline

    calimystic

    That plugin seems a little difficult to use, but thank you for recommending it.
     
  4. Offline

    terrornights

    PLEASE, someone take this on! I've been needing something like this for super super long, and to no avail I could not find what I wanted!
     
  5. Offline

    Ruptur

  6. Offline

    calimystic

    I am not good at figuring out how plugins work.. so I really am very confused.
     
  7. Offline

    MrGeneralQ

    There is documentatation ...
     
  8. Offline

    calimystic

    I loaded the plugin onto my server and it wasn't working ...

    I don't know, I kind of feel stupid for even asking this if I'll just be patronized for not knowing how to work plugins. Just delete the thread while you're at it.
     
    Last edited by a moderator: Dec 21, 2016
  9. Offline

    Zombie_Striker

    @calimystic
    We are here to help you. There should be an easy fix, or atleast an explanation as to why it does not work. (Either way, I would need to know so I can see if I can fix the problem in the next update)

    If you look at the console, are there any errors? Does the server print out that the plugin has been enabled? If you use the command /es, does it bring up a menu?
     
  10. Offline

    calimystic

    An "EventSounds" folder is not in my plugins directory, but the plugin itself is; however, when I execute the command "/es", a blank menu does come up.
     
  11. Offline

    Zombie_Striker

    @calimystic
    Are there any errors in the console? Although it should appear right when you send the command, there may also be errors when the server starts up. Either way, I would need to see those errors (if they exist) in order to know what is happening.
     
  12. Offline

    calimystic

    There are no errors in the console.
     
  13. Online

    timtower Administrator Administrator Moderator

  14. Offline

    calimystic

  15. Offline

    terrornights

    Oh my, that would just be terrific!!! :D
     
  16. Online

    timtower Administrator Administrator Moderator

  17. Offline

    Zombie_Striker

    @timtower @terrornights
    Looking back at my old code, a lot of stuff was a mess. Most likely, line 59 either has to do with the /Sounds/ directory or with reading the files in that directory. I am still working on the new update (which is basically an entire re-write because of how bad the code is), so I will keep this issue in mind.

    @calimystic
    I have updated the plugin and it is now being reviewed. The new version should no longer have that problem. You can download the file using the link here (Look for version 2.0.0): EventSounds

    Now, once you download the plugin, you will need to make one small change in order to have the death sounds defaulted to whatever sound you want. Please do the following:
    1. Install the new plugin and restart the server.
    2. Go into the /plugin/eventsounds/ folder. You should now see a file called "Default_Die.txt". Open that file.
    3. The first line should be "none". Replace this with the name of the sound you want to be played (e.g. "pop" or "entity_cow_hurt")
    4. Save the file and restart the server.
    After this, all players that join the server after this will play that sound when they die.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 23, 2016
    calimystic and timtower like this.
  18. Offline

    calimystic

    The "EventSounds" folder was put into my plugins folder, thankfully, but I do not see a file called "Default_Die.txt" In that folder, I see another folder called "Sounds" which has nothing in it, and a "config.yml" which also has nothing in it. I'm not sure if I'm doing something wrong.
     
    Last edited: Dec 23, 2016
  19. Offline

    Zombie_Striker

    @calimystic
    Are you running this server on an external hosting site? If so, this is an issue with you and the hosting site *(they may not allow other text files to be created, something that is needed for my plugin to work).

    If not, and this is on your home computer, are there any errors in the console? Also, can you Manually create the files?
     
  20. Offline

    calimystic

    I host it on my home computer. Also, yes, I tried to manually create the files, and it would not work.

    Update: http://pastebin.com/UFHfzZKn Error

    I tried many times to make sure that I was following your directions clearly, but when I manually add a new sound, the menu goes blank again and the plugin won't work. :( I tried "mob.wither.spawn" "mob_wither_spawn" "wither.spawn" and so on for the sound. I also tried putting "Default_Die.txt" (which I manually created) in the "Sounds" folder.
     
    Last edited: Dec 23, 2016
  21. Offline

    terrornights

    Can you make a custom Plugin that is specifically for these death sounds? Like one where you can choose the sound from any in game sound and change the pitch and stuff for it. This plugin you put wont work for my server, and it seems like Calimystic could be having the same problem. @Zombie_Striker can you try this? or anybody can take this on. :D
     
  22. Offline

    ShearsSheep

    Last edited: Dec 25, 2016
  23. Offline

    Zombie_Striker

    @terrornights
    What do you mean by "wont work"? Do you mean that none of the files are being generated? If so, please PM me the console log, what files do exist, and anything else useful so I can fix these problems.
     
  24. Offline

    calimystic

  25. Offline

    ShearsSheep

    @calimystic have you made sure you have typed the sound in correctly?
    An example :
    [​IMG]
     
  26. Offline

    calimystic

    Yeah, I typed it in like that.
     
  27. Offline

    ShearsSheep

    Try it this way.
    [​IMG]
     
  28. Offline

    calimystic

    Just tried and no good results.
     
  29. Offline

    ShearsSheep

    @calimystic Could you post the console error and your config.yml here?
     
    Last edited: Dec 27, 2016
  30. Offline

    crysis992

    Little hint: You're using the new sound names (the sound enum has changed in 1.9 or 1.10), he requested a plugin for 1.8.9, the sound names are different :p
     
Thread Status:
Not open for further replies.

Share This Page