@Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (!sender.hasPermission("under50.teleport")) {
            sender.sendMessage(ChatColor.RED + "No access");
            return true;
        }
        Player who, toWhom;
        if (args.length == 1 && sender instanceof Player) {
            who = (Player) sender;
            toWhom = Bukkit.getServer().getPlayer(args[0]);
        } else if (args.length == 2) {
            who = Bukkit.getServer().getPlayer(args[0]);
            toWhom = Bukkit.getServer().getPlayer(args[1]);
        } else {
            sender.sendMessage(ChatColor.RED + "Improper usage.");
            return true;
        }
        if (who == null || toWhom == null) {
            sender.sendMessage(ChatColor.RED + "Player not found");
            return true;
        }
        who.teleport(toWhom);
        sender.sendMessage(ChatColor.GREEN + "Teleported " + who.getName() + " to " + toWhom.getName());
        return true;
    }