Bukkit Chat popup bubble

Discussion in 'Plugin Development' started by Gamerdude157, Sep 1, 2014.

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

    Gamerdude157

    hey guys i see when you get an achievement in bukkit and you put your mouse over the text that says the achievement a little bubble pops up. can someone tell me how to do this.
    Thanks
    Gamerdude157
     
  2. Offline

    Jace_oio

    PHP:
    ((CraftPlayerplayer).getHandle().playerConnection.sendPacket(new PacketPlayOutChat(ChatSerializer.a(yourJsonMessage)));
    I think you should be able to do it like that

    But it would be more easy with protocol lib, I think.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 10, 2016
  3. Offline

    Garris0n

  4. Offline

    Gamerdude157

    Jace_oio but how would the craftplayer packet know which word in chat would have the bubble?
     
  5. Offline

    Gamerdude157

  6. Gamerdude157 Look back at @Jace_oio's message he says it.
     
  7. Offline

    Gamerdude157

    in "yourJsonMessage" i put the message i want to send right? well where do i put which word from chat gets the message is there an event or something bwfcwalshy
     
  8. Offline

    Plo124

    Garris0n likes this.
Thread Status:
Not open for further replies.

Share This Page