From ef0c796965eaba4ba85f5b015774930ded276938 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 28 Oct 2022 21:15:56 +0200 Subject: [PATCH] Add more messages --- src/de/steamwar/bungeecore/tablist/TablistBuild.java | 4 ++-- src/de/steamwar/messages/BungeeCore.properties | 2 ++ src/de/steamwar/messages/BungeeCore_de.properties | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/tablist/TablistBuild.java b/src/de/steamwar/bungeecore/tablist/TablistBuild.java index 63790b6..7387ed8 100644 --- a/src/de/steamwar/bungeecore/tablist/TablistBuild.java +++ b/src/de/steamwar/bungeecore/tablist/TablistBuild.java @@ -94,9 +94,9 @@ public class TablistBuild implements TablistPart { if (toPrint.size() == all) { tablist.add(new Item(null, viewer.parseToLegacy("TABLIST_BAU"), TablistServer.LIGHT_GRAY)); } else if (toPrint.isEmpty()) { - tablist.add(new Item(null, viewer.parseToLegacy("TABLIST_BAU") + " (" + all + ")", TablistServer.LIGHT_GRAY)); + tablist.add(new Item(null, viewer.parseToLegacy("TABLIST_BAU_SLIM", all), TablistServer.LIGHT_GRAY)); } else { - tablist.add(new Item(null, viewer.parseToLegacy("TABLIST_BAU") + " (+" + (all - toPrint.size()) + ")", TablistServer.LIGHT_GRAY)); + tablist.add(new Item(null, viewer.parseToLegacy("TABLIST_BAU_SLIM_DELTA", all - toPrint.size()), TablistServer.LIGHT_GRAY)); } TablistServer.teamify(toPrint, player) .forEach(tablist::add); diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 0bc0f6d..9afb891 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -563,6 +563,8 @@ TABLIST_PHASE_2=§8Discord: §8https://§eSteam§8War.de/discord TABLIST_PHASE_DEFAULT=§8Website: https://§eSteam§8War.de TABLIST_FOOTER=§e{0} {1}§8ms §ePlayers§8: §7{2} TABLIST_BAU=§7§lBuild +TABLIST_BAU_SLIM=§7§lBuild ({0}) +TABLIST_BAU_SLIM_DELTA=§7§lBuild (+{0}) LIST_COMMAND=§e{0}§8: §7{1} #EventStarter diff --git a/src/de/steamwar/messages/BungeeCore_de.properties b/src/de/steamwar/messages/BungeeCore_de.properties index 24f0a3d..4b048ab 100644 --- a/src/de/steamwar/messages/BungeeCore_de.properties +++ b/src/de/steamwar/messages/BungeeCore_de.properties @@ -542,6 +542,8 @@ TABLIST_PHASE_2=§8Discord: §8https://§eSteam§8War.de/discord TABLIST_PHASE_DEFAULT=§8Website: https://§eSteam§8War.de TABLIST_FOOTER=§e{0} {1}§8ms §eSpieler§8: §7{2} TABLIST_BAU=§7§lBau +TABLIST_BAU_SLIM=§7§lBau ({0}) +TABLIST_BAU_SLIM_DELTA=§7§lBau (+{0}) LIST_COMMAND=§e{0}§8: §7{1} #EventStarter