Creating a glow effect around entity for specific players without actually giving a potion effect

Discussion in 'Spigot Plugin Development' started by jimbo8, May 16, 2016.

  1. Alright, so what I'm trying to accomplish is allowing my administrators to see specific players through walls, but only the admins are supposed to see them. I don't want the target players or entities to have a potion effect, as it gives away that we're watching them.

    Also, potions does not allow visibility for specific players. I suppose I would need to dig into some NMS to do this, but I have never really been working with reflections and fields before, so I don't even know where to begin.

    Any tips would be much appreciated.
  2. There is a packet that is sent to give players a glow. The packet is PacketPlayOutEntityMetadata. An example can be found here "" GlowAPI is an excellent resource for glowing entities. It does more complex stuff with teams and colors, just look at sendGlowPackey