You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCLC (Minecraft Launcher Core) is a NodeJS solution for launching modded and vanilla Minecraft without having to download and format everything yourself.
9
8
Basically a core for your Electron or script based launchers.
|`options.clientPackage`| String | Path or URL to a zip file, which will be extracted to the root directory. (Not recommended for production use)| False |
63
62
|`options.removePackage`| Boolean | Option to remove the client package zip file after its finished extracting. | False |
64
-
|`options.installer`| String | Path to installer being executed. | False |
65
63
|`options.root`| String | Path where you want the launcher to work in. `C:/Users/user/AppData/Roaming/.mc`| True |
66
64
|`options.cache`| String | Path where launcher files will be cached in. `C:/Users/user/AppData/Roaming/.mc/cache`| False |
67
65
|`options.os`| String | windows, osx or linux. MCLC will auto determine the OS if this field isn't provided. | False |
|`options.version.custom`| String | The name of the folder, jar file, and version json in the version folder. | False |
74
72
|`options.memory.max`| String | Max amount of memory being used by Minecraft. | True |
75
73
|`options.memory.min`| String | Min amount of memory being used by Minecraft. | True |
76
-
|`options.forge`| String | Path to Forge Jar. (Versions below 1.13 should be the "universal" jar while versions above 1.13+ should be the "installer" jar) | False |
74
+
|`options.forge`| String | Path to Forge Jar. (Versions below 1.12.2 should be the "universal" jar while versions above 1.13 should be the "installer" jar) | False |
77
75
|`options.javaPath`| String | Path to the JRE executable file, will default to `java` if not entered. | False |
78
76
|`options.quickPlay.type`| String | The type of the quickPlay session. `singleplayer`, `multiplayer`, `realms`, `legacy`| False |
79
77
|`options.quickPlay.identifier`| String | The folder name, server address, or realm ID, relating to the specified type. `legacy` follows `multiplayer` format. | False |
@@ -94,6 +92,7 @@ let opts = {
94
92
overrides: {
95
93
gameDirectory:'', // where the game process generates folders like saves and resource packs.
96
94
minecraftJar:'',
95
+
versionName:'', // replaces the value after the version flag.
97
96
versionJson:'',
98
97
directory:'', // where the Minecraft jar and version json are located.
99
98
natives:'', // native directory path.
@@ -130,9 +129,8 @@ let opts = {
130
129
#### Notes
131
130
##### Custom
132
131
If you are loading up a client outside of vanilla Minecraft or Forge (Optifine and for an example), you'll need to download the needed files yourself if you don't provide downloads url downloads like Forge and Fabric. If no version jar is specified, MCLC will default back to the normal MC jar so mods like Fabric work.
133
-
##### Installer
134
-
This runs an executable with specified launch arguments. Was used to support Forge 1.13 before ForgeWrapper.
135
-
##### Authentication
132
+
133
+
#### Authentication (Deprecated)
136
134
MCLC's authenticator module does not support Microsoft authentication. You will need to use a library like [MSMC](https://github.com/Hanro50/MSMC). If you want to create your own solution, the following is the authorization JSON object format.
0 commit comments