chat commands: comma separate values in several commands
This commit is contained in:
@@ -666,7 +666,7 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
.append(ChatColorType.NORMAL)
|
.append(ChatColorType.NORMAL)
|
||||||
.append(" kill count: ")
|
.append(" kill count: ")
|
||||||
.append(ChatColorType.HIGHLIGHT)
|
.append(ChatColorType.HIGHLIGHT)
|
||||||
.append(Integer.toString(kc))
|
.append(String.format("%,d", kc))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
log.debug("Setting response {}", response);
|
log.debug("Setting response {}", response);
|
||||||
@@ -748,15 +748,15 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
.append(ChatColorType.NORMAL)
|
.append(ChatColorType.NORMAL)
|
||||||
.append("Duel Arena wins: ")
|
.append("Duel Arena wins: ")
|
||||||
.append(ChatColorType.HIGHLIGHT)
|
.append(ChatColorType.HIGHLIGHT)
|
||||||
.append(Integer.toString(wins))
|
.append(String.format("%,d", wins))
|
||||||
.append(ChatColorType.NORMAL)
|
.append(ChatColorType.NORMAL)
|
||||||
.append(" losses: ")
|
.append(" losses: ")
|
||||||
.append(ChatColorType.HIGHLIGHT)
|
.append(ChatColorType.HIGHLIGHT)
|
||||||
.append(Integer.toString(losses))
|
.append(String.format("%,d", losses))
|
||||||
.append(ChatColorType.NORMAL)
|
.append(ChatColorType.NORMAL)
|
||||||
.append(" streak: ")
|
.append(" streak: ")
|
||||||
.append(ChatColorType.HIGHLIGHT)
|
.append(ChatColorType.HIGHLIGHT)
|
||||||
.append(Integer.toString((winningStreak != 0 ? winningStreak : -losingStreak)))
|
.append(String.format("%,d", winningStreak != 0 ? winningStreak : -losingStreak))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
log.debug("Setting response {}", response);
|
log.debug("Setting response {}", response);
|
||||||
@@ -957,7 +957,7 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
.append(ChatColorType.NORMAL)
|
.append(ChatColorType.NORMAL)
|
||||||
.append("Barbarian Assault High-level gambles: ")
|
.append("Barbarian Assault High-level gambles: ")
|
||||||
.append(ChatColorType.HIGHLIGHT)
|
.append(ChatColorType.HIGHLIGHT)
|
||||||
.append(Integer.toString(gc))
|
.append(String.format("%,d", gc))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
log.debug("Setting response {}", response);
|
log.debug("Setting response {}", response);
|
||||||
@@ -1420,7 +1420,7 @@ public class ChatCommandsPlugin extends Plugin
|
|||||||
.append(ChatColorType.NORMAL)
|
.append(ChatColorType.NORMAL)
|
||||||
.append("Clue scroll (" + level + ")").append(": ")
|
.append("Clue scroll (" + level + ")").append(": ")
|
||||||
.append(ChatColorType.HIGHLIGHT)
|
.append(ChatColorType.HIGHLIGHT)
|
||||||
.append(Integer.toString(quantity));
|
.append(String.format("%,d", quantity));
|
||||||
|
|
||||||
if (rank != -1)
|
if (rank != -1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user