VB.Net Custom Minecraft Launcher


I want to create my own Minecraft Launcher for me and my friends in VB.Net. I have this code, which gives me access to a token.



BUT, what do I do with this access code? How do I start minecraft directly using java arguments? I want to start minecraft.jar file.



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



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



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



These were my first programming lessons. This is for anyone who is wondering how to make Minecraft Launcher.



You first need to download the "Game Files". Everything is clearly documented HERE. Next, you can begin to think about how to launch the game.



Access and client token are required. I have improved the code a little:



In this code you are sending HTTP POST request to the mojang auth server and then parsing the response as json with JavaScriptSerializer. The access token and client token are stored in AccessToken and ClientToken variables. Mojang authentication is described HERE. I recommend that you create Process in System.Diagnostics.



This code was not tested and also contains relative paths. It's just as an example. Minecraft server list This is only for modded minecraft. We hope you find it useful!



Are you not sure which answer you are looking for Browse other questions tagged vb.net access-token minecraft launcher or ask your own question.