-1

Is there any way to show what team a player is on under their name tag? This is with scoreboards. I have different ranks on my server with command blocks and i want a player to have a tag under their name that shows their rank.

  • @aytimothy While I applaud trying to give users a hint, I'd recommend not even bothering to answer and delete waiting for a timeframe. Just answer in a week, and nobody has to put in moderation efforts to resurface an answer. – Frank May 6 '17 at 19:22
  • @Frank It's supposed to be a set-and-forget thing; as in: I don't even want anybody to bother with it unless they really want to. Also, the point is to not help the OP but help any future visitors. Though since you brought it up, I guess I'll just undelete it... – aytimothy May 6 '17 at 19:34
1

There are several ways you can do that:

Via command blocks:

Differentiate teams by color:

Simply use:

/scoreboard teams option <team> color <color>

<team>: command names of teams you've created.
<color> options: black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white, reset

This will appear both in chat and in the player's nametag. Just ensure that the player is in the correct team.

Via Bukkit/Spigot/whatnot plugins:

This plugin should do the trick.

Simply use:

/nte player <player> <prefix/suffix> <text>

<player> parameter: The name of the player.
<prefix/suffix> option: Whether to change the prefix or the suffix.
<text> parameter: The text to append in front (if prefix) or after (if suffix) the user's name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.