geforkt von SteamWar/BungeeCore
Recoloring Members
Dieser Commit ist enthalten in:
Ursprung
727a96d41a
Commit
12963c601d
@ -34,6 +34,7 @@ public class PlayerListener implements Listener {
|
|||||||
event.setCancelReason(new TextComponent(BungeeCore.ChatPrefix + " Du bist bis zum " +
|
event.setCancelReason(new TextComponent(BungeeCore.ChatPrefix + " Du bist bis zum " +
|
||||||
user.BanTime.toLocalDateTime().format(BungeeCore.DateFormat) + " gebannt. §r§lGrund§r: §c" + user.BanReason));
|
user.BanTime.toLocalDateTime().format(BungeeCore.DateFormat) + " gebannt. §r§lGrund§r: §c" + user.BanReason));
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<BannedUserIPs> ips = BannedUserIPs.get(event.getConnection().getAddress().getAddress().getHostAddress());
|
List<BannedUserIPs> ips = BannedUserIPs.get(event.getConnection().getAddress().getAddress().getHostAddress());
|
||||||
@ -106,7 +107,7 @@ public class PlayerListener implements Listener {
|
|||||||
break;
|
break;
|
||||||
case "Member":
|
case "Member":
|
||||||
default:
|
default:
|
||||||
player.setDisplayName("§7" + player.getName() + "§r");
|
player.setDisplayName(player.getName());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren