Sounds of chat.

Discussion in 'Archived: Plugin Requests' started by nipshu, Mar 4, 2014.

  1. Offline

    nipshu

    Plugin category: Chat related

    Suggested name: SoundsOfChat (... or maybe MoCChat, as MoCCraft is the name of my server :D)

    What I want: There are lot's of chat related plugins out there, that play sounds on different events. There are even ones, that play sounds when someone says something (such as More Sounds, ChatSounds etc...) But my request is bit different from these plugins, so hear me out.

    I just could not find a decent chat-sound-plugin where I could change when and how sounds are played.
    For example, I have a server that I have configured so that player can chat locally - seen by players in certain radius - and then there's a global chat which is seen by everyone. And ofcourse there's private messages.
    So what I need, is a plugin which plays:
    1. sound in a certain radius for local (normal) chat
    2. a bit different sound when using global chat
    3. a bit different sound when someone is asking a question
    4. yet again... a bit different sound when private messaging.
    For extra information: I'm using essentials global chat function where you put exclamation mark before message ... or question mark for question.

    Ideas for commands: Toggle sounds for different chats.

    Ideas for permissions: different permissions for if player can year certain chat sounds.

    When I'd like it by: As soon as possible, since my server is allready in an open beta state.

    Hopefully someone can help me with that! Cheers!
     
  2. Offline

    nipshu

    Bump?
     
  3. Offline

    ZackBlazes

    So, you want a plugin where if somebody types a message, it plays a sound? I can do that! Just tell me if I got the idea right.
     
  4. Offline

    nipshu

    Well yea, you got that right! But, take note of the criterias also.
     
  5. Offline

    ZackBlazes

    What is the plugin that you use for local/global chat?
     
  6. Offline

    nipshu

    Right now I'm using essentials chat, but if you know any other/better then I'm open for any suggestions. I did take a glance on mChat, because it has chat channels. Not sure if it has local/global chat function, though.

    Edit: Well, I looked up, and yes there is a way to set radius for chat in mChat. So I'm thinking of making this plugin compatible with mChat. What do you think? And ofcourse, thank you for replying! :)
     
  7. Offline

    nipshu

    Bump!
     
  8. Offline

    nipshu

    Bump! Changed my mind about using mchat. Still want to use essentials chat.
     
  9. Offline

    97WaterPolo

    nipshu
    I would suggest HeroChat, really good for chat channels and I believe it has a DeveloperAPI to hook into. Not sure about ess chat.
     
  10. Offline

    nipshu

    97WaterPolo
    I just tried to add HeroChat plugin, but it just wont load.
    Console gives me this: Could not load 'plugins\HeroChat.jar' in folder 'plugins'
    Also, it seems kinda outdated. Another thing I like about essentials chat is that I can shout with just placing "!" infront. Which I think herochat doesn't have.


    Thanks for suggesting, though.
     
  11. Offline

    timtower Administrator Administrator Moderator

    nipshu Full error log on HeroChat?
     
  12. Offline

    nipshu

    I got it working now. It was my own mistake.
    Forgot to add vault. :)
     
    timtower likes this.
  13. Offline

    BetrayedQU

    nipshu If you still want the sound chat, put AsyncPlayerChatEvent, get the player's location Location loc = player.getLocation();, then get the world they are in World world = loc.getWorld(), Then play the sound at their location, world.playSound(loc, <sound>, <radius sound should be heard>, <how many times>)
     
  14. Offline

    nipshu

    BetrayedQU Your suggestion seems logical, but I have no idea what you are talking about. Sorry!
    You seem to think, that I'm the one making this plugin? Well, I know nothing about creating a plugin, unfortunately.
    And it doesn't seem to solve global chat sound problem anyways.
     
  15. Offline

    BetrayedQU

    nipshu oh no, the bit of code I gave you, if you give it to someone, what it does is it plays a sound at the person's chatting location and people in a certain radius can hear it.
     
  16. Offline

    nipshu

    @BetrayedQU I figured that. But I don't know what to do with that code anyway. And there are plugins that do exactly that. But I need more than that. Thank you for your response, though.
     

Share This Page