/EMC-Core-quick-start

EMC-Core quick start project

Primary LanguageJavaScriptCreative Commons Zero v1.0 UniversalCC0-1.0

EMC-Core-quick-start

EMC-Core quick start project

Installation ⚡

git clone https://github.com/Zeldown/EMC-Core-quick-start.git
cd EMC-Core-quick-start
npm install

Run 🚀

npm start

Install Server 🚧

🚨 You must have a web hosting

PreBuild Server Version

  1. Download EMC-Core-Server of your version at https://github.com/Zeldown/EMC-Core/releases
  2. Extract archive on your computer
  3. In EMC-Core-Server/files put your files to download (mods, config, etc). Default files in folder is mandatory (assets, libraries, natives, versions)
  4. Put the folder EMC-Core-Server to your web hosting (exemple: upload folder EMC-Core-Server at https://exemple.com/)
  5. Set url option of launch options to url of content of EMC-Core-Server (exemple: https://exemple.com/EMC-Core-Server)
let opts = {
  url: url_of_emc-core-server,
  ...
}

Build EMC-Core-Server with builder.js

  1. Clone EMC-Core project at https://github.com/Zeldown/EMC-Core
  2. Extract archive on your computer
  3. Go into emc-core extracted folder
  4. run npm i
  5. run node utils/builder.js --version="@version" --path="@path"
Name Type Description
@version String The name of minecraft vanilla version (e.g. 1.15.2)
@path String The full path where build will be created (path must be exists)

Build custom EMC-Core-Server

  1. Create a folder with the file reader.php
  2. Create a folder java
  3. Put an archive of java named java.zip in java folder (exemple : java.zip)
  4. Create a folder files
  5. Put all files of minecraft in folder files like assets, library, natives, mods, versions
  6. Put your custom folder to your web hosting (exemple: upload folder My-Version at https://exemple.com/)
  7. Set url option of launch options to url of content of custom folder (exemple: https://exemple.com/My-Version)
let opts = {
  url: url_of_your_uploaded_version,
  ...
}