Launcher.on( 'debug', (e) => console.log(e))
For production launchers, I recommend not passing // the getAuth function through the authorization field and instead // handling authentication outside before you initialize // MCLC so you can handle auth based errors and validation! authorization: Authenticator.getAuth( "username", "password"), Npm i minecraft-launcher-core Standard Example const = require( 'minecraft-launcher-core') Since people seem to use this, I've created a Discord server for anyone who needs to get in contact with me or get help! MCLC (Minecraft Launcher Core) is a NodeJS solution for launching modded and vanilla Minecraft without having to download and format everything yourself.īasically a core for your Electron or script based launchers.