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
Configuring package.json 🔧
📁 File to modify
Locate and open the package.json file in your editor.
Main Parameters
json
{
"name": "your-launcher", // Technical name of the launcher
"preductname": "My Launcher", // Key currently read by the build script
"version": "1.0.0", // Your launcher version
"description": "Description...", // Hover description
"author": "Your-Pseudo, Riptiaz/Boulldogo/Vexato/Luuxis"
}⚠️ Important
The version you define here:
- Is NOT your Minecraft version
- Will be used for compilation
- Must follow semver format (X.Y.Z)
❌ Attribution
Keep the existing credits and add your name without removing the original authors, as required by the attribution license.
Server Parameters
json
{
"env": "panel", // panel or azuriom
"settings": "https://yoursite.eu/" // Your panel URL
}💡 Environment Type
"panel"if you use the panel"azuriom"if you use the Azuriom plugin (Paid)
GitHub Parameters
json
{
"repository": {
"type": "git",
"url": "git+https://github.com/mypseudo/myserver-Launcher.git"
}
}⚠️ Required
Replace the URL with your FORK's URL. This is mandatory for compilation and auto-update.
Installing Dependencies 📦
Open a terminal in VS Code and run:
bash
npm install✅ Verification
Installation is successful if you don't see any errors in the terminal. Otherwise, check your Node.js installation.
Once configured, install the CentralCorp web panel that will supply launcher settings and files.
