From 6f6327d60f41af3a34813675310b0adfa5610a7a Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Fri, 5 Feb 2021 12:29:41 +0100 Subject: [PATCH] Add ResourcereloadCommand --- src/de/steamwar/bungeecore/commands/JoinmeCommand.java | 6 +++--- src/de/steamwar/bungeecore/commands/TpCommand.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/de/steamwar/bungeecore/commands/JoinmeCommand.java b/src/de/steamwar/bungeecore/commands/JoinmeCommand.java index 9780214..37fb806 100644 --- a/src/de/steamwar/bungeecore/commands/JoinmeCommand.java +++ b/src/de/steamwar/bungeecore/commands/JoinmeCommand.java @@ -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); } diff --git a/src/de/steamwar/bungeecore/commands/TpCommand.java b/src/de/steamwar/bungeecore/commands/TpCommand.java index 28624df..ae2f9a9 100644 --- a/src/de/steamwar/bungeecore/commands/TpCommand.java +++ b/src/de/steamwar/bungeecore/commands/TpCommand.java @@ -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); }