From 8705e19aec7f04a1ead6706e37907173afcb0074 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 24 Jun 2021 17:41:05 +0200 Subject: [PATCH] Update Tablist slim Mode! --- src/de/steamwar/bungeecore/listeners/TablistManager.java | 7 ++++--- src/de/steamwar/messages/BungeeCore.properties | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/de/steamwar/bungeecore/listeners/TablistManager.java b/src/de/steamwar/bungeecore/listeners/TablistManager.java index 6f6fe4f2..6a1d9653 100644 --- a/src/de/steamwar/bungeecore/listeners/TablistManager.java +++ b/src/de/steamwar/bungeecore/listeners/TablistManager.java @@ -130,9 +130,9 @@ public class TablistManager extends BasicListener { int phase = (seconds % 16) / 3; switch(phase){ case 0: - return Message.parse("TABLIST_PHASE_0", player); - case 1: return Message.parse("TABLIST_PHASE_1", player); + case 1: + return Message.parse("TABLIST_PHASE_2", player); case 2: default: return Message.parse("TABLIST_PHASE_DEFAULT", player); @@ -153,7 +153,8 @@ public class TablistManager extends BasicListener { private void refresh(){ ServerInfo currentServer = player.getServer().getInfo(); setHeader(calcHeader(player)); - setFooter(Message.parse("TABLIST_FOOTER", player, currentServer.getName(), getPing(), ProxyServer.getInstance().getPlayers().size())); + // TABLIST_FOOTER=§e{0} {1}§8ms §eSpieler§8: §7{2} + setFooter("§e" + currentServer.getName() + " " + getPing() + "§8ms §eSpieler§8: §7" + ProxyServer.getInstance().getPlayers().size()); setSize(size, 20); if (size >= 5) { diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 8cee5b15..a92b7c55 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -475,10 +475,10 @@ POLL_ANWSER=§7{0} POLL_ANWSER_HOVER=§e{0} §ewählen #TablistManager -TABLIST_PHASE_0=§8Teamspeak: §eSteam§8War.de -TABLIST_PHASE_1=§8Discord: §8https://§eSteam§8War.de/discord +TABLIST_PHASE_0=§8Spieler online: §e{0} +TABLIST_PHASE_1=§8Teamspeak: §eSteam§8War.de +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=Bau #EventStarter