[SOLVED] Additional Text to Title/Subtitle

Discussion in 'Spigot Plugin Development' started by HexLazer205, Jul 9, 2015.

Thread Status:
Not open for further replies.
  1. Hi, I know how to do player titles and subtitles with packets, that show up big in the middle of the screen. However, if you go on some servers, you'll see they have text in between the exp/health/food/hot bars and the subtitle. You can see in the attached image, you can see where it has the word "Dragonskin bow", that's the line I'm talking about.

    How would I do this?
     

    Attached Files:

  2. It's called the action bar and you have to use the PacketPlayOutChat packet. It has two parameters for the constructor. The first parameter takes in an IChatBaseComponent and the second parameter takes in a byte. The byte must have a value of 2 though.
     
    • Informative Informative x 1
  3. Thanks! It worked.

    Solved
     
Thread Status:
Not open for further replies.