-
-
Notifications
You must be signed in to change notification settings - Fork 437
Command Line Tools
sk89q edited this page Jul 25, 2015
·
5 revisions
You can build modpacks via command line tools as well.
- From the
launcher-builder/build/libs/
folder, copylauncher-builder-X.Y.Z-SNAPSHOT-all.jar
to your modpack's folder. - Open terminal or command prompt and navigate to the directory of your modpack.
- Windows users: Hold down your SHIFT key, right click the folder that contains "modpack.json", and click "Open command window here".
- Run the following command (note: put it on one line, and change "X.Y.Z" to the right version):
java -jar launcher-builder-X.Y.Z-SNAPSHOT-all.jar
--version "pick_a_version"
--input .
--output upload
--manifest-dest "upload/your_modpack.json"
- "version" is the version of your modpack and it doesn't have to be a number -- whenever you want to push an update, you have to change the version code to anything else that has never been used before
- "input" is the folder with "loaders," "src," and "modpack.json" --
.
means "the current folder" - "output" is the folder to put the output
- "manifest-dest" is the manifest file that is generated
There should be a upload/
folder now with the generated files.
See Deploying Server Modpacks.
There is no command line tool to do this. However, the format of packages.json is pretty simple so you should be able to generate it yourself easily.
Need help? See Getting Help.
Tutorial
Launcher Features:
- Fancy Launcher
- Portable Mode
- Hidden Modpacks
- Deploying Server Modpacks
- Launcher Arguments
- Custom JAR (.jar mods)
- Custom Version Manifest
Customization:
- Localization
- News Page Guide
- Custom Microsoft OAuth application
- Using an IDE (Eclipse, IntelliJ)
Additional Reading:
Find the launcher useful?
Donate to obw, the current maintainer:
Donate to sk89q, the original maintainer: