I have been searching for a way to login to Minecraft through Java and have not found anything. To be more specific, I want to insert a username and password into a Java program and let it connect to the Minecraft network and login with the given username and password.
I need this so that I can automatically login to all of my alternate accounts with Java, because it's quicker.
If anyone knows how I can do this through Java, please let me know.
Thanks,
Aidan
Logging in to Minecraft through Java
Page 1 of 12 Replies - 785 Views - Last Post: 30 June 2015 - 06:15 AM
Replies To: Logging in to Minecraft through Java
#2
Re: Logging in to Minecraft through Java
Posted 29 June 2015 - 03:27 PM
Well you can start by checking out the authentication scheme by Mojang called "Yggdrasil". Below is a link to a wiki that talks about it including the API endpoints and how you can go about authenticating yourself with it. This was designed so that you could in fact use other programming languages and such to login and logout.
http://wiki.vg/Authentication
After this you can check out the other wiki pages that shows you info about all other sorts of APIs and things you can do in Minecraft.
http://wiki.vg/Main_Page
Enjoy!
http://wiki.vg/Authentication
After this you can check out the other wiki pages that shows you info about all other sorts of APIs and things you can do in Minecraft.
http://wiki.vg/Main_Page
Enjoy!
#3
Re: Logging in to Minecraft through Java
Posted 30 June 2015 - 06:15 AM
I'm not quite sure how to use this, could you give me a bit more information on it, such as where and how to set up the code and execute it properly?
This post has been edited by andrewsw: 30 June 2015 - 06:42 AM
Reason for edit:: Removed previous quote, just press REPLY
Page 1 of 1

New Topic/Question
Reply


MultiQuote



|