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 can I do with the access token? How do I start minecraft directly using java arguments? I would like to open minecraft.jar.
In the .minecraft folder, all the arguments are in the version.json
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 tutorial is for anyone who wants to create Minecraft Launcher.
First you have to download "Game Files" everything is well documented HERE. Then you can start thinking about how to start 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. AccessToken and ClientToken variables store the access token and client token. Mojang authentication is described HERE. I would then recommend you to create Process using System.Diagnostics.
This code was not tested, and it also has relative paths. This code is intended to be used as an example. This is only for modded minecraft. MCDEV'S BLOG We hope you find it useful!
Are you not sure which answer you are looking for Browse other questions related to vb.net acces-token minecraft rocket or ask your question.
Log in to comment