Skip to content

Commit

Permalink
Updated scoreboard config
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Apr 1, 2024
1 parent 1281b16 commit ff9149b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/lrxh/practice/commands/user/EloCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void elo(Player player) {
player.sendMessage(CC.translate("&eYour elo!"));
for (Queue queue : Practice.getInstance().getCache().getQueues()) {
if (queue.isRanked()) {
player.sendMessage(CC.translate("&c &e" + queue.getKit().getName() + "&7: &f" + profile.getKitData().get(queue.getKit()).getElo()));
player.sendMessage(CC.translate("&c &e" + queue.getKit().getName() + "&7: &f" + profile.getKitData().get(queue.getKit()).getElo()));
}
}
player.sendMessage(CC.translate("&f&m---------------------------"));
Expand All @@ -41,7 +41,7 @@ public void pingOthers(Player player, String otherPlayer) {
player.sendMessage(CC.translate("&e" + otherPlayer + "'s elo!"));
for (Queue queue : Practice.getInstance().getCache().getQueues()) {
if (queue.isRanked()) {
player.sendMessage(CC.translate("&c &e" + queue.getKit().getName() + "&7: &f" + profile.getKitData().get(queue.getKit()).getElo()));
player.sendMessage(CC.translate("&c &e" + queue.getKit().getName() + "&7: &f" + profile.getKitData().get(queue.getKit()).getElo()));
}
}
player.sendMessage(CC.translate("&f&m---------------------------"));
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/scoreboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LOBBY:
- "&fOnline: <theme><online>"
- "&fIn Fights: <theme><in-match>"
- "&fIn Queue: <theme><queued>"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
IN-PARTY:
Expand All @@ -30,7 +30,7 @@ IN-PARTY:
- "<theme>Party:"
- " • &fLeader: <theme><leader>"
- " • &fSize: <theme><party-size>"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
QUEUE:
Expand All @@ -43,7 +43,7 @@ QUEUE:
- "<theme>Unranked Queue"
- " • &fKit: <theme><kit>"
- " • &fTime: <theme><time>"
- ""
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
RANKED:
Expand All @@ -55,14 +55,14 @@ QUEUE:
- "&fQueuing: <theme><kit>"
- "&fElapsed: <theme><time>"
- "&fElo: <theme>[<minElo>-<maxElo>]"
- ""
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
MATCH:
STARTING:
- "&7&m--------------------"
- "<theme>Fighting: &f<opponent>"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
IN-MATCH:
Expand All @@ -72,7 +72,7 @@ MATCH:
- " "
- "&aYour Ping: &f<ping>ms"
- "&cTheir Ping: &f<opponent-ping>ms"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
IN-MATCH-BOXING:
Expand All @@ -85,19 +85,19 @@ MATCH:
- " "
- "&aYour Ping: &f<ping>ms"
- "&cTheir Ping: &f<opponent-ping>ms"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
ENDING:
- "&7&m--------------------"
- "&fMatch Ended"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"
SPECTATING:
- "&7&m--------------------"
- "<theme>Spectating match"
- "<theme>Duration: &f<duration>"
- " "
- "<silent>"
- "<theme>server.net"
- "&7&m--------------------"

0 comments on commit ff9149b

Please sign in to comment.