VB.Net Custom Minecraft Launcher


I want to create my own Minecraft Launcher for me and my friends in VB.Net. This code gives me access token.



But what can I do with the access token? How do I start minecraft using java arguments directly? I want to create minecraft.jar.



All the arguments in the.minecraft folder are in version.json



Here''s a snip of the json from version 1.8.8 (.minecraft/versons/1.8.8)



The args are under "minecraftArguments" and the jar file is in the same directory, named 1.8.8.jar.
Wzjxzz



These were my first programming lessons. This is for anyone interested in making Minecraft Launcher.



First, you need to download "Game Files". All the details are HERE. Then, you can start thinking of how to start the games.



Access and a client token will be required. I''ve made some improvements to the code:



In this code you are sending HTTP POST request to the mojang auth server and then parsing the response as json with JavaScriptSerializer. AccessToken & ClientToken variables hold the client token and access token. Mojang authentication can be found HERE. Then I would recommend you to create Process from System.Diagnostics and start it like so:



This code was not tested and also contains relative paths. It''s just as an example. This is for modded Minecraft. It is hoped that it will be of some use to you!



Not the answer you''re looking for? Browse other questions related to vb.net acces-token minecraft rocket or ask your question.