Archiviert
1
0

Add ResourcereloadCommand

Dieser Commit ist enthalten in:
Chaoscaot 2021-02-05 12:29:41 +01:00
Ursprung 9ad9a2c835
Commit 6f6327d60f
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("MSG_IGNORED", player);
Message.send("JOIN_PLAYER_BLOCK", player);
}
}
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
Message.send("MSG_IGNORED", player);
Message.send("JOIN_PLAYER_BLOCK", player);
}else if(serverPerm == null && !player.getGroups().contains("team")) {
Message.send("MSG_IGNORED", player);
Message.send("JOIN_PLAYER_BLOCK", 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("MSG_IGNORED", player);
Message.send("JOIN_PLAYER_BLOCK", player);
}
}
}else if(serverPerm != null && !player.hasPermission(serverPerm)){
Message.send("MSG_IGNORED", player);
Message.send("JOIN_PLAYER_BLOCK", player);
}else if(serverPerm == null && !player.getGroups().contains("team")) {
Message.send("MSG_IGNORED", player);
Message.send("JOIN_PLAYER_BLOCK", player);
}else{
player.connect(server);
}