geforkt von SteamWar/BungeeCore
Fix JoinmeCommand
Dieser Commit ist enthalten in:
Ursprung
7e9cc37e2d
Commit
11c55d9419
@ -42,7 +42,7 @@ public class JoinmeCommand extends BasicCommand {
|
|||||||
|
|
||||||
if (args.length == 0 && player.hasPermission("bungeecore.joinme")) {
|
if (args.length == 0 && player.hasPermission("bungeecore.joinme")) {
|
||||||
Message.broadcast("JOINME_BROADCAST", "JOINME_BROADCAST_HOVER"
|
Message.broadcast("JOINME_BROADCAST", "JOINME_BROADCAST_HOVER"
|
||||||
, new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/join " + player.getName()));
|
, new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/join " + player.getName()), player.getName(), player.getServer().getInfo().getName());
|
||||||
} else if (args.length == 1) {
|
} else if (args.length == 1) {
|
||||||
ProxiedPlayer target = ProxyServer.getInstance().getPlayer(args[0]);
|
ProxiedPlayer target = ProxyServer.getInstance().getPlayer(args[0]);
|
||||||
if(target == null || !target.isConnected()){
|
if(target == null || !target.isConnected()){
|
||||||
|
@ -232,7 +232,7 @@ JOIN_PLAYER_BLOCK=§cDieser Spieler hat dich geblockt!
|
|||||||
|
|
||||||
#JoinmeCommand
|
#JoinmeCommand
|
||||||
JOINME_USAGE=§8/§7join §8[§eSpieler§8].
|
JOINME_USAGE=§8/§7join §8[§eSpieler§8].
|
||||||
JOINME_BROADCAST=§7Klicke §ehier§8, §7um zu §e" + player.getName() + " §7auf §e" + player.getServer().getInfo().getName() + " §7zu kommen§8!
|
JOINME_BROADCAST=§7Klicke §ehier§8, §7um zu §e{0} §7auf §e{1} §7zu kommen§8!
|
||||||
JOINME_BROADCAST_HOVER=§aSpieler folgen
|
JOINME_BROADCAST_HOVER=§aSpieler folgen
|
||||||
JOINME_PLAYER_OFFLINE=§cDieser Spieler ist offline.
|
JOINME_PLAYER_OFFLINE=§cDieser Spieler ist offline.
|
||||||
JOINME_PLAYER_SELF=§cSei eins mit dir selbst!
|
JOINME_PLAYER_SELF=§cSei eins mit dir selbst!
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren