Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
954 B
1
Indexable
Never
		// Set the line for the scoreboard
		Score score = objective.getScore("§a");
		score.setScore(8);

		String playerAName = playerA.getName();
		Score score2 = objective.getScore("§e" + playerAName + ":");
		score2.setScore(7);

		Score score3 = objective.getScore(" §d- Elo: §e" + playerAConfig.getInt("Elo"));
		score3.setScore(6);

		Score playerAWinLossRatio = objective.getScore(" §d- W/L: §e" + calculateWinLossRatio(playerAConfig));
		playerAWinLossRatio.setScore(5);

		Score score4 = objective.getScore("§b");
		score4.setScore(4);

		String playerBName = playerB.getName();
		Score score5 = objective.getScore("§e" + playerBName + ":");
		score5.setScore(3);

		Score score6 = objective.getScore(" §d- Elo: §e" + playerBConfig.getInt("Elo"));
		score6.setScore(2);

		Score playerBWinLossRatio = objective.getScore(" §d- W/L: §e" + calculateWinLossRatio(playerBConfig));
		playerBWinLossRatio.setScore(1);
Leave a Comment