From ac4a91ca90074e8778f236e04038307ebea40cf6 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 14 Apr 2019 12:16:16 +0200 Subject: [PATCH] Arena release --- src/de/warking/bungeecore/commands/FightCommand.java | 6 +++--- src/de/warking/bungeecore/commands/HelpCommand.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/de/warking/bungeecore/commands/FightCommand.java b/src/de/warking/bungeecore/commands/FightCommand.java index 26b6d17..39e779a 100644 --- a/src/de/warking/bungeecore/commands/FightCommand.java +++ b/src/de/warking/bungeecore/commands/FightCommand.java @@ -18,7 +18,7 @@ import java.util.List; public class FightCommand extends Command { public FightCommand() { - super("fight", "bungeecore.joinme"); + super("fight", ""); } @Override @@ -28,7 +28,7 @@ public class FightCommand extends Command { sender.sendMessage(BungeeCore.ChatPrefix + "/fight AirShip §8- §7Starte einen §6AirShip§8-§7Kampf§8!"); sender.sendMessage(BungeeCore.ChatPrefix + "/fight WarShip §8- §7Starte einen §6WarShip§8-§7Kampf§8!"); sender.sendMessage(BungeeCore.ChatPrefix + "/fight WarGear §8- §7Starte einen §6WarGear§8-§7Kampf§8!"); - sender.sendMessage(BungeeCore.ChatPrefix + "/fight MiniWarGear §8- §7Starte einen §6Mini§8-§6WarGear§8-§7Kampf§8!"); + sender.sendMessage(BungeeCore.ChatPrefix + "/fight MiniWarGear §8- §7Starte einen §6MiniWarGear§8-§7Kampf§8!"); return; } if(sender instanceof ProxiedPlayer){ @@ -57,7 +57,7 @@ public class FightCommand extends Command { } arena.sendPlayer(player); - TextComponent tc = new TextComponent(BungeeCore.ChatPrefix + "§7Klicke §6hier§7, um jetzt §6" + arena.spielModus + " §7gegen §6" + player.getName() + " §7zu kämpfen!"); + TextComponent tc = new TextComponent(BungeeCore.ChatPrefix + "§7Klicke §6hier§7, um §6" + arena.spielModus + " §7gegen §6" + player.getName() + " §7zu kämpfen!"); tc.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§aGegen §7" + player.getName() + " §ckämpfen").create())); tc.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/join " + player.getName())); ProxyServer.getInstance().broadcast(tc); diff --git a/src/de/warking/bungeecore/commands/HelpCommand.java b/src/de/warking/bungeecore/commands/HelpCommand.java index fe66071..7da00d6 100644 --- a/src/de/warking/bungeecore/commands/HelpCommand.java +++ b/src/de/warking/bungeecore/commands/HelpCommand.java @@ -31,7 +31,7 @@ public class HelpCommand extends Command { tc.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/bau")); sender.sendMessage(tc); - /*tc = new TextComponent(BungeeCore.ChatPrefix + "§7Starte mit §6/fight §7einen neuen Kampf!"); + tc = new TextComponent(BungeeCore.ChatPrefix + "§7Starte mit §6/fight §7einen neuen Kampf!"); tc.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§cZum Kampfsystem").create())); tc.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/fight")); sender.sendMessage(tc); @@ -39,7 +39,7 @@ public class HelpCommand extends Command { tc = new TextComponent(BungeeCore.ChatPrefix + "§7Trete mit §6/join [Spieler] §7einem Kampf bei!"); tc.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ComponentBuilder("§cSpieler nachjoinen").create())); tc.setClickEvent(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "/join")); - sender.sendMessage(tc);*/ + sender.sendMessage(tc); }else{ switch(args[0]){