Step 2: Global Configuration
Objective
In this step, we will configure the basic settings of your launcher in the package.json
file.
Opening the Project 📂
- Once cloning is complete, click on "Open in Visual Studio Code"
- Your editor will open with the launcher base
package.json Configuration 🔧
File to modify
Locate and open the package.json
file in your editor.
Here are the elements to configure:
{
"name": "your-launcher", // Technical name of the launcher
"productName": "My Launcher", // Display name on desktop
"version": "1.0.0", // Version of your launcher
"description": "Description...", // Description on hover
"author": "Your-Username, Riptiaz/Boulldogo/Vexato/Luuxis" // Authors
}
Important
-
Version must be chosen carefully The version you set here:
-
Is NOT your Minecraft version
- Will be used for compilation
- Must follow semver format (X.Y.Z)
Attention
- Do not remove the luuxis/Riptiaz credits, just add your name ❤️
- Removing original credits will result in a ban.
Important env
- "panel" if you use the panel
- "azuriom" if you use the Azuriom plugin (Paid)
Installing Dependencies 📦
Open a terminal in VS Code and run:
Verification
The installation is successful if you don't see any errors in the terminal. Otherwise, check your Node.js installation.
You can move on to the next step.