Hide name tags for certain people?

Discussion in 'Plugin Development' started by Gerov, Jan 18, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Gerov

    Okay, say I have two teams, and I only want the players on a team to be able to see there own teammate's nametags and have the opposite teams nametags invisible, can I do this, and if so, how?
     
  2. Offline

    1Rogue

    Send sneak packets referring to the enemies to the player.
     
    Gerov likes this.
  3. Offline

    Gerov

    @1Rogue Oh, clever.

    and if I may ask, what is the packet for sneaking?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
  4. Offline

    xTrollxDudex

    Gerov likes this.
  5. Offline

    Gerov

    Thank you :)
     
  6. Offline

    Freack100

    I think there is a slightly "better" but also harder method. It would be simple when only doing it with the bukkit API, but because you want it to be only for specific players, and others shouldn't see it, i dunno if it's possible.

    I'm talking about the method where you place an invisble squid on the players head. Now we/you/I only have to find out how to send modified entities to only some clients.
     
Thread Status:
Not open for further replies.

Share This Page