Jump to content

Recommended Posts

Posted

I was trying to log into Minecraft inside of Eclipse so could try some mods out on servers. 
I’ve tried adding

—username username

And —password password

into the program arguments but in the console it shows that the argument password is being ignored and I’m not logged in.

Does anyone know any other way to log into my Minecraft Account inside of Eclipse?

  • Like 1
Posted (edited)

this is no longer possible with a Mojang Account,
irrc you need to use the access token form the Launcher

also why do you want to login in dev environment?
there is no reason to be logged in

Edited by Luis_ST
  • Like 1
  • 4 weeks later...
Posted
  On 3/5/2022 at 3:28 PM, Luis_ST said:

this is no longer possible with a Mojang Account,
irrc you need to use the access token form the Launcher

also why do you want to login in dev environment?
there is no reason to be logged in

Expand  

This isn't true HOWEVER its super complicated to do and you have to change the command every time. 

Below is a code snippet from a custom minecraft launcher I'm working on so there may be some unnecessary steps focus mainly on the HTTP connections, request types, and request bodys/url endpoints. Forewarning this is incredibly complicated and i would advise against it. If you need to test your mod on a server just put it in offline mode.
 

  Reveal hidden contents

 

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.