Pierce01 / MinecraftLauncher-core

Lightweight module that downloads and runs Minecraft using javascript / NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program stops directly after downloading assets.

Hallzmine opened this issue · comments

I am trying to use this npm package inside of an electron app to start minecraft but instead it refuses to launch. Here is my terminal log https://pastebin.com/pMjGEbaz My code is simply https://pastebin.com/sJKs8rt8

commented

The program stopping when the Auth parameter is invalid, change your auth parameter, you can delete your password for disable online, or if you have buy minecraft, enter your good auth.

image
Please separate the auth process from the launch process. You need to created an error handle otherwise your program won't be able to work fine.

You can also come on the discord server for more support there: https://discord.gg/8uYVbXP

Hey there, going off of what Bricklou said, in PRODUCTION settings it's best you handle authentication outside the launch object, however, if you're just testing you should be fine. Your error is caused by an incorrect password, so simply remove ,"password" in getAuth to fix your issue. Thanks for using my project :)