Introduction
MCmod is a command line tool developed by Indemnity83 that aids in packing mods for distribution. It allows you to easily produce the zip file required by Technic Solder for distribution in a single command. It's the tool we use to package mods in our modpacks!, (*1)
MCmod reads data directly from the forge mcmod.info file located in the jar file. This means packaging mod files into distribution zips takes almost no effort on your part., (*2)
Installation & Setup
Installing PHP & Composer
MCmod requires composer and php be installed on your system. Installation of these tools is beyond the scope of this document, but support can be found below, (*3)
Windows
* PHP Install
* Composer Install, (*4)
OSX
* PHP Install
* Composer Install, (*5)
Linux
* PHP Install
* Composer Install, (*6)
Installing MCmod
Once PHP and Composer have been installed, you are ready to install the MCmod CLI tool using the Composer global command:, (*7)
composer global require "indemnity83/mcmod", (*8)
Make sure to place the ~/.composer/vendor/bin directory in your PATH so the MCmod executable is found when you run the bakery command in your terminal., (*9)
Quick Start
To package a mod file (.jar or .zip) into a distribution package, simply use the following command. The mcmod.info will be read from the mod file and used to create a folder, containing a zip that is named by a pre-established convention of --.zip, (*10)
mcmod pack <path to mod file>, (*11)