@Override
    public boolean onCommand(CommandSender commandSender, Command cmd, String lbl, String[] args) {
        if(commandSender instanceof Player) {
            Player pl = (Player) commandSender;
            if(cmd.getName().equalsIgnoreCase("challenge")) {
                if(args[0].equalsIgnoreCase("ironarmor")) {
                    Bukkit.getPluginManager().registerEvents(new IronArmorGoal(pl), this);
                }
                else if(args[0].equalsIgnoreCase("stonetools")) {
                    Bukkit.getPluginManager().registerEvents(new StoneToolsGoal(pl), this);

                }
                return true;
            }
        }
        return false;
    }