Archiviert
1
0
Dieser Commit ist enthalten in:
Chaoscaot 2020-10-30 22:16:55 +01:00
Ursprung be1aa30cd3
Commit 915c8d1d25

Datei anzeigen

@ -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()){