geforkt von SteamWar/BungeeCore
Remove TeamSpeak from tablist header
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
70662386a7
Commit
54b15ddd95
@ -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() {
|
||||||
|
@ -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}
|
||||||
|
@ -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}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren