Core for pimi-launcher (Minecraft)
Find a file
2018-11-29 21:41:07 -05:00
components better way to auth, prepping for client use 2018-11-29 21:41:07 -05:00
.gitattributes Init 2018-10-29 18:13:58 -04:00
index.js Init 2018-10-29 18:13:58 -04:00
LICENSE Init 2018-10-29 18:13:58 -04:00
package-lock.json Init 2018-10-29 18:13:58 -04:00
package.json Init 2018-10-29 18:13:58 -04:00
README.md gif 2018-10-29 18:40:52 -04:00

Minecraft Launcher Core

Currently only supports MC 1.7.3 and up.

A script that launches Minecraft using NodeJS.

Usage

const launch = require('./pathtomodule').core;

launch({
    login: {
        username: "", // required
        password: "", // optional
        offline: false // optional
    },
	// All of the following is required
    root: "directory", // C:/Users/user/AppData/Roaming/.mc
    os: "windows", // windows, osx, linux
    version: {
        number: "1.12.2", // Minecraft version you want to launch
        type: "MC-Launcher" // Type. Can be anything
    },
    memory: {
        max: "5000"
    }
})

What should it look like running from console?

gif