NameTags With Teams

Discussion in 'Spigot Plugin Development' started by wantsome909, May 21, 2017.

  1. I'm trying to disable name tags or at least hide them. but i'm having no luck

    Code (Text):
            Team team = board.registerNewTeam("collide");
            if (!team.hasEntry(player.getName()))
            {
                team.addEntry(player.getName());
            }
            team.setOption(Team.Option.COLLISION_RULE, Team.OptionStatus.NEVER);
            team.setOption(Team.Option.NAME_TAG_VISIBILITY, Team.OptionStatus.NEVER);
    for some reason collision works but no name tags
     
  2. Bump. Still need help