pimi-launcher-core/README.md

31 lines
779 B
Markdown
Raw Normal View History

2018-10-30 01:13:58 +03:00
# Minecraft Launcher Core
### Currently only supports MC 1.7.3 and up.
A script that launches Minecraft using NodeJS.
#### Usage
```javascript
2018-11-30 05:44:40 +03:00
const launcher = require('./pathtomodule');
2018-10-30 01:13:58 +03:00
2018-11-30 05:44:40 +03:00
launcher.authenticator("email", "password").then(auth => {
launcher.core({
authorization: auth,
2018-10-30 01:13:58 +03:00
// All of the following is required
2018-11-30 05:44:40 +03:00
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"
}
});
});
```
2018-10-30 01:40:52 +03:00
#### What should it look like running from console?
![gif](https://pierce.is-serious.business/7d91a7.gif)