Advertisement
LielAmar

Untitled

Jan 17th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. Scoreboard sb = Bukkit.getServer().getScoreboardManager().getNewScoreboard();
  2. Objective obj = sb.registerNewObjective("playIl", "dummy");
  3. obj.setDisplaySlot(DisplaySlot.SIDEBAR);
  4.  
  5. PlayerData pd = new PlayerData(p.getUniqueId());
  6.  
  7. obj.setDisplayName(ChatColor.BLUE + "" + ChatColor.BOLD + "Play-IL");
  8. obj.getScore(" ").setScore(8);
  9. obj.getScore(ChatColor.YELLOW + "Soup Rating: " + ChatColor.AQUA + pd.getSoupELO()).setScore(7);
  10. obj.getScore(ChatColor.YELLOW + "UHC Rating: " + ChatColor.AQUA + pd.getUHCELO()).setScore(6);
  11. obj.getScore(ChatColor.YELLOW + "Debuff Rating: " + ChatColor.AQUA + pd.getDebuffELO()).setScore(5);
  12. obj.getScore(ChatColor.YELLOW + "No-Debuff Rating: " + ChatColor.AQUA + pd.getNoDebuffELO()).setScore(4);
  13. obj.getScore(ChatColor.YELLOW + "OP Rating: " + ChatColor.AQUA + pd.getOPELO()).setScore(3);
  14. obj.getScore(ChatColor.AQUA + "www.Play-IL.co.il ").setScore(1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement