geforkt von SteamWar/BungeeCore
Merge pull request 'Fix BauCommand wrong name' (#104) from BauCommand into master
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
5c9c04613d
@ -285,11 +285,11 @@ public class BauCommand {
|
||||
|
||||
if(permission){
|
||||
if(player != null)
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§aDu kannst nun auf der Welt von §e" + player.getName() + "§a " + what);
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§aDu kannst nun auf der Welt von §e" + p.getName() + "§a " + what);
|
||||
BungeeCore.send(p, BungeeCore.CHAT_PREFIX + "§aDer Spieler darf nun " + what);
|
||||
}else{
|
||||
if(player != null)
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cDu kannst nun nicht mehr auf der Welt von §e" + player.getName() + "§c " + what);
|
||||
BungeeCore.send(player, BungeeCore.CHAT_PREFIX + "§cDu kannst nun nicht mehr auf der Welt von §e" + p.getName() + "§c " + what);
|
||||
BungeeCore.send(p, BungeeCore.CHAT_PREFIX + "§cDer Spieler darf nun nicht mehr " + what);
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ public class ChatListener extends BasicListener {
|
||||
|
||||
private void lixfelAlert(ProxiedPlayer sender) {
|
||||
LIXFEL.send(sender);
|
||||
final String l = "§eLixfel§8»§e" + sender.getName() + "§8» §c";
|
||||
final String l = "§eLixfel§8»§e" + sender.getName() + " §c";
|
||||
BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?");
|
||||
TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();
|
||||
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) {
|
||||
YOYONOW.send(sender);
|
||||
final String l = "§eYoyoNow§8»§e" + sender.getName() + "§8» §c";
|
||||
final String l = "§eYoyoNow§8»§e" + sender.getName() + " §c";
|
||||
BungeeCore.send(sender, ChatMessageType.ACTION_BAR, "§4§lTechnische Probleme?");
|
||||
TaskScheduler scheduler = ProxyServer.getInstance().getScheduler();
|
||||
scheduler.schedule(BungeeCore.get(), () -> BungeeCore.send(sender, l + "Du hast mich gerufen!"), 3, TimeUnit.SECONDS);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren