mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 04:06:21 +03:00
Core for pimi-launcher (Minecraft)
components | ||
.gitattributes | ||
index.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md |
Minecraft Launcher Core
Currently only supports MC 1.7.3 and up.
A script that launches Minecraft using NodeJS.
Usage
const launcher = require('./pathtomodule');
launcher.authenticator("email", "password").then(auth => {
launcher.core({
authorization: auth,
// All of the following is required
root: "directory", // C:/Users/user/AppData/Roaming/.mc
os: "windows", // windows, osx, linux
version: {
number: "1.13.2", // Minecraft version you want to launch
type: "MCC-Launcher" // Type. Can be anything
},
memory: {
max: "500"
}
});
});