Scoreboard need help

Discussion in 'Spigot Plugin Development' started by Fr33styler, May 16, 2015.

  1. I'm trying to make a single scoreboard to be for multiple players, is there any way?
     
  2. Scoreboard board = Bukkit.getScoreboardManager().getNewScoreboard();
    for(Player p : Bukkit.getOnlinePlayers()){
    p.setScoreboard(board);
    }

    Might have mistakes, this is off the top of my head.
     
  3. i don't want to have a scoreboard per player, because this will not be compatible with scoreboardteams
     
  4. @Fr33stylerTC you don't have to use a scoreboard per player, you can just use the same scoreboard for multiple people.
     
  5. What i'm trying to say is i have a board field and make use of MultipleTeams for Prefix of player, Health for all players belowname and i want to have a status, with different score for every player
     
  6. Either you have to copy all the teams a lot of times, or use packets (this is not advised)