Archiviert
1
0
Dieser Commit ist enthalten in:
Chaoscaot 2021-02-05 12:04:06 +01:00
Ursprung d7b784c03c
Commit e661d876b1
2 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -67,13 +67,13 @@ public class JoinmeCommand extends BasicCommand {
subserver.sendPlayer(player);
} else {
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
Message.send("JOIN_PLAYER_BLOCK", player);
Message.send("MSG_IGNORED", player);
}
}
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
Message.send("JOIN_PLAYER_BLOCK", player);
Message.send("MSG_IGNORED", player);
}else if(serverPerm == null && !player.getGroups().contains("team")) {
Message.send("JOIN_PLAYER_BLOCK", player);
Message.send("MSG_IGNORED", player);
}else{
player.connect(server);
}

Datei anzeigen

@ -126,13 +126,13 @@ public class TpCommand extends BasicCommand {
subserver.sendPlayer(player);
} else {
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
Message.send("JOIN_PLAYER_BLOCK", player);
Message.send("MSG_IGNORED", player);
}
}
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
Message.send("JOIN_PLAYER_BLOCK", player);
Message.send("MSG_IGNORED", player);
}else if(serverPerm == null && !player.getGroups().contains("team")) {
Message.send("JOIN_PLAYER_BLOCK", player);
Message.send("MSG_IGNORED", player);
}else{
player.connect(server);
}