Skip to content

Arguments and Execution

firecrafty edited this page Apr 6, 2016 · 1 revision

Running the program

Running the program is simple: open up the command line and run using the java -jar command. There are also some arguments that you may use to customize the build process.

Arguments

  • -d: This is the input directory of your modpack. You can use either and absolute or a relative path. It defaults to the current directory.
  • -o: This is the name of your modpack without spaces. This is used to name the output files. Defaults to "Modpack".
  • -v: This is the modpack version. This is also used to name the output files. Defaults to "0.0.0". This can be pretty much anything without spaces.
  • -client: Tells TechnicAssembler to build the client side zip, the one that will be downloaded when a user runs the pack.
  • -server: Tells TechnicAssembler to build the server side zip, the one that can be downloaded to make a dedicated Minecraft server.

When run correctly with both -client and -server arguments, it will create 2 zip files:

[Modpack name]-[modpack version]-client.zip
[Modpack name]-[modpack version]-server.zip
Clone this wiki locally