create-fs22-mod
v1.1.1
Published
Create a FS22 mod based on a template
Downloads
4
Maintainers
Readme
create-fs22-mod
This is a CLI tool that creates a skeleton for a Farming Simulator mod project. The project includes a build command for automating the zipping of the mod to use it in the game.
Features
- Scaffold your FS22 mod project into seconds
- The provided template is bundled with some useful commands for making the developing of the mod easier. Refer to the available commands in the template Readme File
Usage
- Navigate to your preferred directory
- Run the command to generate a new mod project:
npx create-fs22-mod <FS22_modName>
Note that the project name must start with "FS22_", as per the ModHub standards.
Requirements
You need to have NodeJS installed on your system, see the Official Page to download it.
Manual Installation
In case that the package is not available from the npm registry, use the following method to install it:
- Clone the repo
git clone https://github.com/kotsiossp97/create-fs22-mod
cd create-fs22-mod
- Install Dependencies
npm ci
- Build the project
npm run build
- Install the package globally
npm install -g .
- Use the command as normally
npx create-fs22-mod <FS22_modName>
Future Features
- [ ] Add additional templates for various mod types, e.g Vehicle/Implement, Script, Placeable etc.
- [ ] Add more commands to the templates for making more tasks easier.
- [x] ~Add formatter plugin to templates (prettier) to make xml and lua files formatting consistent.~ Done