Current version: 1.0
A console-based minecraft launcher written in javascript
Simply run npm install
command to install all the dependencies
Run node index.js
while being in project root.
The list below are commands available in the launcher
- install -> available only after running setversion, installs minecraft version you specified.
- username -> sets username for minecraft.
- setversion -> sets version of minecraft to work with. Warning: you should specify it by yourself, for more info: look at version_manifest.json
- setuuid -> sets UUID for minecraft
- validate -> checks if all libraries are correct and can be used. Doesnt work for natives
- clear -> clears install data. DOESNT CLEAR /ASSETS! DELETE IT YOURSELF!
- launch -> starts minecraft process.
- setjavap -> sets path for java. There's a little reminder: use JDK 8 if you want to use other versions than vanilla (forge / quirt / fabric modpacks and optifine especially).
- quit -> quits the program, meanwhile saving your settings
Another reminder: if you want to save settings of the launcher, use "quit" command.
More reminder: the launcher doesn't automatically parse paths when specifying path to java. This is made for you to be able to put just "java.exe" or "javaw.exe" to setjavap command, so if the path has spaces in it, add quotes (") in it. For example:
Wrong: setjavap C:\Program Files\java\bin\java.exe
Correct: setjavap "C:\Program Files\java\bin\java.exe"
The launcher doesn't support mojang accounts and sometimes is specific to graphics card, sometimes if your gpu is outdated, newer versions of minecraft (>=1.13) will not start because of hardware.
If you see some issues in the code, report it in issues tab.