Solved How to show players an "ActionBar" ..?

Discussion in 'Bukkit Help' started by Lynron, Mar 19, 2016.

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

    Lynron

    Hi there bukkit brothers,
    I wondered how you can show a message above the held item tooltip because it is used on many servers.
    Maybe it's not understandable, so I upload some screenshots right here ^_^

    Cytooxien.PNG
    GommeHD.PNG
    GommeHD 2.PNG
    I captured them on german servers, so just don't think about that!

    If you know how to make these messages please reply!

    Looking forward to your answers,
    Lynron
     
  2. Offline

    nlthijs48

    The bar above the held item tooltip, the one you circled with red, is called the action bar. Plugins like <Edit by Moderator: Redacted not allowed paid resource url> allow you to show messages in there (but there are many more plugins for it).
     
    Last edited by a moderator: Nov 26, 2017
  3. Offline

    Lynron

    Thank you for replying ^_^

    Well, I looked at some of these plugins and it's pretty awesome that Bukkit can do something like this, but how does this work exactly? I know you have to send a packet to a player, but can anyone explain it to me?

    Thanks! :p
     
  4. Offline

    nlthijs48

    @Lynron There are APIs that allow you to easily send actionbars, like this one. If you want to do it straight with packets then I think you need to send a regular chat packet, but set the slot to another value (details here).
     
  5. Offline

    Lynron

    Nice, that's what I was looking for!
    Thank you very much @nlthijs48, for sending these links. Gonna use this actionbar couple of times. ;)

    Well, another solved thread here!
     
    nlthijs48 likes this.
Thread Status:
Not open for further replies.

Share This Page