Skip to content

DarkPacks/SkyFactory-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkyFactory 5 Curseforge

Twitch Status Discord

Development

The repo utilizes Node.js (and npm) to manage build tools, and other useful dependencies. In addition, the repo includes pre-configured settings and recommended extensions to improve the developer experience, so VSCode is recommended.

  1. Getting Started
  2. Development Loop
  3. Additional Scripts

Getting Started

When first starting development, make sure you go through these steps to get your development environment set up.

  1. Installing / Setting Up Node

Node.js / NPM

To get started, make sure you have Node.js installed. For easier management of your Node.js version, we recommend installing NVM (Node Version Manager) instead. For Windows you can install from the latest release here and for OSX/Linux follow the steps here.

Once installed, run nvm install 20.5.1 then nvm use 20.5.1 once the installation completes.

Development Loop

  1. Install any recommended project extensions.
  2. Ensure you are using the correct Node.js version by running npm run setup:node.
  3. If you've pulled in changes, make sure you've updated your dependencies by running npm install.
  4. Run npm run start to start Minecraft.
  5. Work on the project.

Updating Minecraft or Forge version

The versions used are tracked in the mc-package.json file. To update:

  1. Change the versions in the mc-package.json file.
  2. Update the settings.bat file.
  3. Update the settings.sh file.

Additional Scripts

These are additional scripts that are provided for easing development processes.

  • npm run generate starts a prompt to generate certain project files.
  • npm run symlink generates symlinks between the repo and a minecraft instance.

Release

Creating A Release

To create a new release:

  1. Increment the version in the mc-package.json file.
  2. Run npm run release to generate a client and server zip file in the .releases directory`.

Ignoring Files

Files in the repo can be ignored from releases by adding to the respective releaseignore file: