geforkt von SteamWar/BungeeCore
Hotfix join permissions
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
f1f159a330
Commit
f5675811ba
@ -69,6 +69,10 @@ public class JoinmeCommand extends BasicCommand {
|
|||||||
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
SubserverSystem.sendDeniedMessage(player, bauserver.getOwner());
|
||||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||||
}
|
}
|
||||||
|
} else if(type == Servertype.BUILDER && !player.hasPermission("bungeecore.server.team")) {
|
||||||
|
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||||
|
} else {
|
||||||
|
SubserverSystem.sendPlayer(subserver, player);
|
||||||
}
|
}
|
||||||
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
|
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
|
||||||
Message.send("JOIN_PLAYER_BLOCK", player);
|
Message.send("JOIN_PLAYER_BLOCK", player);
|
||||||
|
@ -102,6 +102,8 @@ public class TpCommand extends BasicCommand {
|
|||||||
sender.system("JOIN_PLAYER_BLOCK");
|
sender.system("JOIN_PLAYER_BLOCK");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} else if(subserver instanceof Builderserver && !player.hasPermission("bungeecore.server.team")) {
|
||||||
|
sender.system("JOIN_PLAYER_BLOCK");
|
||||||
} else if (serverPerm != null && !player.hasPermission(serverPerm)) {
|
} else if (serverPerm != null && !player.hasPermission(serverPerm)) {
|
||||||
sender.system("JOIN_PLAYER_BLOCK");
|
sender.system("JOIN_PLAYER_BLOCK");
|
||||||
} else if (serverPerm == null && !player.getGroups().contains("team")) {
|
} else if (serverPerm == null && !player.getGroups().contains("team")) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren