1

I am creating my own Minecraft launcher and I want to know the terminal command for opening Minecraft Java. I've tried many solutions online but most of them are outdated or only for Windows.

I already authenticated with https://authserver.mojang.com/authenticate, and now I want to run a terminal command which opens Minecraft given the username/password or access token.

Thanks!

0

So I have found a solution. I am using Electron (https://www.electronjs.org/) and Node JS to build my Minecraft Launcher. And I have found a npm package that gives exactly what I want: https://github.com/Pierce01/MinecraftLauncher-core.

This package uses Node JS to launch Minecraft with authentication and all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.