SteamWar/BungeeCore
Archiviert
13
2

Remove TeamSpeak from tablist header
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2024-01-29 11:52:47 +01:00
Ursprung 70662386a7
Commit 54b15ddd95
3 geänderte Dateien mit 9 neuen und 17 gelöschten Zeilen

Datei anzeigen

@ -345,15 +345,11 @@ public class Tablist extends MessageToMessageDecoder<PacketWrapper> {
} }
private BaseComponent[] header(ChatSender p, int seconds) { private BaseComponent[] header(ChatSender p, int seconds) {
int phase = (seconds % 16) / 3; int phase = (seconds % 10) / 5;
switch (phase) { if (phase == 0)
case 0: return p.parse(false, "TABLIST_PHASE_DISCORD");
return p.parse(false, "TABLIST_PHASE_1"); else
case 1: return p.parse(false, "TABLIST_PHASE_WEBSITE");
return p.parse(false, "TABLIST_PHASE_2");
default:
return p.parse(false, "TABLIST_PHASE_DEFAULT");
}
} }
private String ping() { private String ping() {

Datei anzeigen

@ -578,10 +578,8 @@ POLL_ANWSER=§7{0}
POLL_ANWSER_HOVER=§eChoose {0} POLL_ANWSER_HOVER=§eChoose {0}
#TablistManager #TablistManager
TABLIST_PHASE_0=§8Players online: §e{0} TABLIST_PHASE_WEBSITE=§8Website: https://§eSteam§8War.de
TABLIST_PHASE_1=§8Teamspeak: §eSteam§8War.de TABLIST_PHASE_DISCORD=§8Discord: https://§eSteam§8War.de/discord
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_FOOTER=§e{0} {1}§8ms §ePlayers§8: §7{2}
TABLIST_BAU=§7§lBuild TABLIST_BAU=§7§lBuild
LIST_COMMAND=§e{0}§8: §7{1} LIST_COMMAND=§e{0}§8: §7{1}

Datei anzeigen

@ -556,10 +556,8 @@ POLL_ANWSER=§7{0}
POLL_ANWSER_HOVER=§e{0} §ewählen POLL_ANWSER_HOVER=§e{0} §ewählen
#TablistManager #TablistManager
TABLIST_PHASE_0=§8Spieler online: §e{0} TABLIST_PHASE_WEBSITE=§8Website: https://§eSteam§8War.de
TABLIST_PHASE_1=§8Teamspeak: §eSteam§8War.de TABLIST_PHASE_DISCORD=§8Discord: https://§eSteam§8War.de/discord
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_FOOTER=§e{0} {1}§8ms §eSpieler§8: §7{2}
TABLIST_BAU=§7§lBau TABLIST_BAU=§7§lBau
LIST_COMMAND=§e{0}§8: §7{1} LIST_COMMAND=§e{0}§8: §7{1}