Development Assistance Pressing "Tab" or listing players, shows words

Discussion in 'Plugin Help/Development/Requests' started by Agentleader1, May 1, 2015.

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

    Agentleader1

    A lot of the popular servers have this:
    [​IMG]

    And I am very confused how to do this, and where to start. What does it affect? How do you do this?
     
  2. Offline

    mine-care

    @Agentleader1 This is the header and footer of the tab list, it sxists since 1.8 and it has a specific packet called PacketTabHeader and contains these components ^
    This is available on Spigot only :/
     
  3. Offline

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives
     
  4. Offline

    Agentleader1

    @mine-care Alright, thank you. I was unable to achieve this with the spigot version hack. How do I do this in the spigot version hack? Because Mineplex is 17.10 and 1.8 and still has the header for 1.8 users ;-;
     
  5. Offline

    mine-care

    @Agentleader1 there is q class called ProtocolInjector or something like that that contains a static class of it in it
     
  6. Offline

    Agentleader1

  7. Offline

    mine-care

  8. Offline

    Agentleader1

    @mine-care Example? I only got these possible method functions:
    Code:
    new ProtocolInjector.PacketLoginCompression(int);
    new ProtocolInjector.PacketPlayResourcePackSend(string, string);
    new ProtocolInjector.PacketPlayResourcePackStatus();
    
     
  9. Offline

    mine-care

  10. Offline

    Agentleader1

    @mine-care I'm confused, Example? Your wording is confusing.
    "You need to send packet to :/" means what? Like seriously. And there is no PacketTabHeader that I can import or anything. I'm sorry.
     
  11. Offline

    mine-care

    @Agentleader1 an outline:
    ProtocolInjector.PacketTabHeader object that takes as parameters IChatBaseComponent (s) that hold the message. You can parse a message to that by ChatSerialiser.a(String param);
    The after you have the instance
    CraftPlayer p= cast your player object to craft player
    p.gethandle().playerConnection.sendPachet(the packet we made above)
    Done.
     
  12. Offline

    Agentleader1

    @mine-care I am still confused, so sorry.
    What might be the full code in total for the PacketTabHeader?

    //Edit: I just realized it only works in 1.8 spigot, thanks for the help. The code works fine, but how do I implement this code in spigot 1.7.10 (with 1.8 support). Hive does this:

    [​IMG]
     
    Last edited: May 3, 2015
  13. Offline

    mine-care

    @Agentleader1 well there is a different sotorry, try adding the build your server is running on to you're code buildpath and if it works we are ok else ipyou need the tweaked version that ill have to make and send :3
     
  14. Offline

    Agentleader1

  15. Offline

    Agentleader1

    Bump, is there a way I can do this on a spigot protocol hack where it implements 1.7.10 spigot and not 1.8 spigot.
    Hive does this, if you do /ver
     
Thread Status:
Not open for further replies.

Share This Page