private void parseArguments(String[] args)
    {
        if (args.length > 0)
        {
            config.set("username", args[0]);
            if (args.length > 1)
            {
                config.set("password", args[1]);
                if (args.length > 2)
                {
                    String ip = args[2];
                    String port = "25565";
                    
                    if (ip.contains(":"))
                    {
                        final String[] split = ip.split(":");
                        ip = split[0];
                        port = split[1];
                    }
                    
                    config.set("server", ip);
                    config.set("port", port);
                }
            }
        }
    }