Adding prefixes to player's Nametag

Discussion in 'Plugin Development' started by plisov, Apr 9, 2017.

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

    plisov

    I've seen several servers adding prefixes to player's nametags without their skin changing. Here is a picture of what I'm talking about. How do they do this? Do they use scoreboards? They don't use any type of NameTagAPI or anything like that. However they do have a custom plugin named PacketTagApi and PacketTagGroup as well as PacketWrapper. I don't know if this has anything to do with it. I would like to also make my own API. How would I add prefixes to nametags like shown in the image below?[​IMG]
     
  2. Offline

    Zombie_Striker

  3. Set name and set display name.
     
  4. Offline

    Zombie_Striker

    @TheEnderman
    If you mean using the setDisplayName method, then no, that won't work. From the java docs (All hail the Java Docs)
     
  5. Seems to work for me...
     
  6. Offline

    plisov

Thread Status:
Not open for further replies.

Share This Page