Change player's nametag color client side

Discussion in 'Spigot Plugin Development' started by GlobalPost, May 4, 2017.

  1. I have a small amount of experience with java but don't know where I can go from here. I want to make a plugin that changes a specified player's name color so you can target them in PvP (will only display for the command user and their faction) I was wondering if someone could link some things that would help me do this. (just give me a place to start with editing player names only for certain people and maybe an example of code)
     
  2. Create individual scoreboards meant for only 1 player. This scoreboard will have a new team containing your player whose name you want to be coloured and which has a team prefix containing a colour code
     
    • Like Like x 1
  3. But then won't every player see the colored name??
     
  4. Not if you set the scoreboard to only the player(s) who should see the coloured name
     
    • Like Like x 1
  5. Can you give an example? I am really confused