Jump to content

Recommended Posts

Posted
25 minutes ago, diesieben07 said:

Add --username {{username}} and --password {{password}} to your launch arguments.

It seems to be coming up with an error: Unknown command-line option '--username'.

(I'm using IntelliJ)

Posted
14 minutes ago, diesieben07 said:

Actually - never mind that. You should add them in the build.gradle in the run configs.

Then re-run the genXXXRuns task.

I added them under minecraft/runs/args and then re-ran genIntellijRuns but runClient was still unauthenticated.

Posted
6 hours ago, diesieben07 said:

Actually - never mind that. You should add them in the build.gradle in the run configs.

Then re-run the genXXXRuns task.

Okay, managed to find the solution.

under minecraft/runs/client I set args to '--username', 'Insert EMAIL Here', '--password', 'Insert Password Here' and then runClient.

I didn't need to genIntellijRuns.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.