geforkt von SteamWar/BungeeCore
Fixing...
Dieser Commit ist enthalten in:
Ursprung
be1aa30cd3
Commit
915c8d1d25
@ -61,7 +61,6 @@ public class ConnectionListener extends BasicListener {
|
|||||||
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
SteamwarUser user = SteamwarUser.get(player.getUniqueId());
|
||||||
|
|
||||||
player.removeGroups("Admin", "team");
|
player.removeGroups("Admin", "team");
|
||||||
player.setDisplayName(player.getName());
|
|
||||||
|
|
||||||
if(user.getUserGroup().isAdminGroup())
|
if(user.getUserGroup().isAdminGroup())
|
||||||
player.addGroups(ADMIN_GROUP);
|
player.addGroups(ADMIN_GROUP);
|
||||||
@ -76,6 +75,8 @@ public class ConnectionListener extends BasicListener {
|
|||||||
player.setPermission(YOUTUBER_MODS, true);
|
player.setPermission(YOUTUBER_MODS, true);
|
||||||
player.setDisplayName(user.getUserGroup().getColorCode() + user.getUserGroup().name() + " " + player.getName() + "§r");
|
player.setDisplayName(user.getUserGroup().getColorCode() + user.getUserGroup().name() + " " + player.getName() + "§r");
|
||||||
player.setPermission("bungeecore.group." + user.getUserGroup().name().toLowerCase(), true);
|
player.setPermission("bungeecore.group." + user.getUserGroup().name().toLowerCase(), true);
|
||||||
|
}else {
|
||||||
|
player.setDisplayName(player.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
for(Subserver subserver : Subserver.getServerList()){
|
for(Subserver subserver : Subserver.getServerList()){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren