Best way to handle player name tags?

Discussion in 'Spigot Plugin Development' started by Kosem, May 3, 2017.

  1. I would like to know which is the best way to handle player name tags, like in the picture.
    Uhmm another thing, making this health number under the name tag would be good using normal scoreboard?
    Thanks.
     

    Attached Files:

  2. Simply done by using scoreboard and objectives with the health type.
     
  3. Okay thanks I'll check it out.
    In another subject, what do you know about factions plugin customize?
    Like editing colors and these kind of things.
     
  4. You can use the Factions API (most newer versions allow you to retrieve the "relColor" (color of relation to viewing player).
     
  5. Badly I'm using the very old versions, which were developed for v1.8 servers.
    I'm talking about the commands color mostly.
    Instead of this:
    http://prntscr.com/f4gp38

    I want it to be as that one, but diffrent colors. (Like in Saico actually)
    http://prntscr.com/f4gtgp
     
  6. Uhmm hey, I wasn't talking only about the health count,
    I asked mostly about their names, Adding a Prefix with color in their name tags.
     
  7. Use vault to get their rank then add that to the playerlistname before it and saico use FactionsUUID
     
  8. You can register teams to the scoreboard and then set the prefix that you need to the team, after the team is registered just add your player to the team.