Scoreboard Below Name

Discussion in 'Plugin Development' started by xtremetom, Feb 25, 2014.

Thread Status:
Not open for further replies.
  1. I have this code:
            Scoreboard board = Bukkit.getServer().getScoreboardManager().getNewScoreboard();
            Objective objective = board.registerNewObjective(player.getName(), "dummy");
            objective.setDisplayName(ChatColor.GOLD+ "✩");
            Score score = objective.getScore(Bukkit.getOfflinePlayer(ChatColor.GOLD+ "✩"));
    For ease of explaining I have left score as 10, but it will be a dynamic int.

    Issue here is that the score always shows as 0✩. I have tried many variations and every bit of example code I can find. But no no avail.

    Any help would be great, thanks.
Thread Status:
Not open for further replies.

Share This Page