title: Bukkit - Change player's name above head?
body: <p>I'm back again.<br>
  Today I have a question that many people have asked before. The reason I'm asking again is because in all my ~90 minutes of searching, I couldn't find an updated answer. Many answers tell me to use iTag/TagAPI, but I ran into some problems trying to use that, <strong>therefore I would not like to use iTag/TagAPI</strong>. I'm trying to use packets, and I found one answer, but it too was outdated.</p>
  
  <pre><code>EntityPlayer entityP = ((CraftPlayer) p).getHandle();
  entityP.displayName = args[0];
  
  
  for (Player a: Bukkit.getOnlinePlayers()) {
  
    if (!p.getUniqueId().equals(a.getUniqueId()))
      ((CraftPlayer) a).getHandle().playerConnection.sendPacket(new PacketPlayOutNamedEntitySpawn(entityP));
  }
  </code></pre>
  
  <p>Here's that thread I was going off of: <a href="https://bukkit.org/threads/change-player-name-above-head.162356/" rel="nofollow">https://bukkit.org/threads/change-player-name-above-head.162356/</a></p>
  
  <p>Any help is appreciated!</p>