geforkt von SteamWar/BungeeCore
Fix Messages
Dieser Commit ist enthalten in:
Ursprung
52286c0d88
Commit
a63fdac530
@ -78,7 +78,7 @@ public class ChatListener extends BasicListener {
|
|||||||
|
|
||||||
private void lixfelAlert(ProxiedPlayer sender) {
|
private void lixfelAlert(ProxiedPlayer sender) {
|
||||||
LIXFEL.send(sender);
|
LIXFEL.send(sender);
|
||||||
final String l = "§8Lixfel»" + sender.getName() + " §c";
|
final String l = "§eLixfel§8»§e" + sender.getName() + "§8» §c";
|
||||||
BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?");
|
BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?");
|
||||||
TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();
|
TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();
|
||||||
scheduler.schedule(BungeeCore.get(), () -> BungeeCore.send(sender, l + "Du hast mich gerufen!"), 3, TimeUnit.SECONDS);
|
scheduler.schedule(BungeeCore.get(), () -> BungeeCore.send(sender, l + "Du hast mich gerufen!"), 3, TimeUnit.SECONDS);
|
||||||
@ -90,7 +90,7 @@ public class ChatListener extends BasicListener {
|
|||||||
|
|
||||||
private void yoyonowAlert(ProxiedPlayer sender) {
|
private void yoyonowAlert(ProxiedPlayer sender) {
|
||||||
YOYONOW.send(sender);
|
YOYONOW.send(sender);
|
||||||
final String l = "§8YoyoNow»" + sender.getName() + " §c";
|
final String l = "§eYoyoNow§8»§e" + sender.getName() + "§8» §c";
|
||||||
BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?");
|
BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?");
|
||||||
TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();
|
TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();
|
||||||
scheduler.schedule(BungeeCore.get(), () -> BungeeCore.send(sender, l + "Du hast mich gerufen!"), 3, TimeUnit.SECONDS);
|
scheduler.schedule(BungeeCore.get(), () -> BungeeCore.send(sender, l + "Du hast mich gerufen!"), 3, TimeUnit.SECONDS);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren