VB.Net Custom Minecraft Launcher

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 this access token ? How do I start minecraft directly using java arguments? I want to create minecraft.jar.

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 under the "minecraftArguments" directory. The jar file is also in that directory, named 1.8.8.jar.

These were my beginnings of programming :) I started with Visual Basic now I'm doing C++. This is for anyone who is wondering how to make Minecraft Launcher.

You will first need to download "Game Files". The entire process is documented HERE. You can then start thinking about how you want to start the game.

Access and client token will be required.

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

This code has relative paths and was not tested. It is only an example. 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 oder ask your own question.

Report Page