feat: remove unused commands
This commit is contained in:
parent
3ccc008b55
commit
6f5ee556c5
1 changed files with 0 additions and 27 deletions
|
@ -83,18 +83,6 @@ public class VaroCommand implements CommandExecutor {
|
|||
p.addPotionEffect(new PotionEffect(PotionEffectType.BLINDNESS, 60 * 20, 1, false, false, false));
|
||||
p.sendTitle(new Title("TODO: Title, etc"));
|
||||
}
|
||||
} else if (args.length == 1 && args[0].equals("teamcolors")) {
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§c" + "Team 01"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§6" + "Team 02"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§e" + "Team 03"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§2" + "Team 04"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§a" + "Team 05"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§b" + "Team 06"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§3" + "Team 07"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§9" + "Team 08"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§d" + "Team 09"));
|
||||
sender.sendMessage(this.plugin.getMessageUtils().getServiceMessage("", "§5" + "Team 10"));
|
||||
|
||||
} else if (args.length == 2 && args[0].equals("portal")) {
|
||||
if (args[1].equals("enable")) {
|
||||
this.plugin.setCanCreatePortal(true);
|
||||
|
@ -105,27 +93,12 @@ public class VaroCommand implements CommandExecutor {
|
|||
} else {
|
||||
sender.sendMessage("§c§lFehler: §r§cBitte überprüfe deine Eingabe.");
|
||||
}
|
||||
} else if (args.length == 1 && args[0].equals("test")) {
|
||||
if (sender instanceof Player) {
|
||||
this.plugin.getNPCManager().createClone((Player) sender);
|
||||
} else {
|
||||
sender.sendMessage("§c§lFehler:§r§c Dieses Kommando kann nur durch einen Spieler ausgeführt werden.");
|
||||
}
|
||||
} else if (args.length == 1 && args[0].equals("testremove")) {
|
||||
if (sender instanceof Player) {
|
||||
this.plugin.getNPCManager().removeClone(((Player) sender));
|
||||
} else {
|
||||
sender.sendMessage("§c§lFehler:§r§c Dieses Kommando kann nur durch einen Spieler ausgeführt werden.");
|
||||
}
|
||||
} else {
|
||||
sender.sendMessage("\n§6========== §b§lCliffbreak.de VARO §r§6============\n ");
|
||||
sender.sendMessage("§a/varo start: §rStarte das Varo Projekt!");
|
||||
sender.sendMessage("§a/varo ban [Spieler]: §rSpieler bannen");
|
||||
sender.sendMessage("§a/varo unban [Spieler]: §rSpieler wieder auf den Server lassen");
|
||||
sender.sendMessage("§a/varo portal [enable/disable]: §rAktiviere/Deaktiviere die Portal-Erstellung");
|
||||
sender.sendMessage("§a/varo teamcolors: §rZeige verfügbare Team-Farben an");
|
||||
sender.sendMessage("§a/varo test: §rErstelle einen Klon");
|
||||
sender.sendMessage("§a/varo testremove: §rLösche den Klon");
|
||||
sender.sendMessage("\n§6==========================================");
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue