User Tools

Site Tools


install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
install [2019/04/26 09:59] asieinstall [2019/05/04 20:17] – Document CLI options modmuss50
Line 28: Line 28:
 ===== Dedicated Server ===== ===== Dedicated Server =====
  
-**Up-to-date as of Loader 0.4.4+**. Older versions choose different techniques.+**Up-to-date as of Loader 0.4.4+**. Older versions choose different techniques. Installer 0.4.0+ required!
  
 Go to [[http://fabric.asie.pl/use/|the download page]] and download the installer. Go to [[http://fabric.asie.pl/use/|the download page]] and download the installer.
  
-In the installer, choose the desired mappings (-> game) version, plus the desired loader version.+In the installer
 + 
 +{{:install_installer_server_tab.png?nolink|}} 
 + 
 +  * select the "Server" tab, at the top, 
 +  * choose the desired mappings (-> game) version, plus the desired loader version
 +  * choose the desired output directory, 
 +  * press "Install".
  
 In the output directory, a "fabric-server-launch.jar" will be created. It expects a "server.jar" next to it, which is the vanilla server .JAR, generally found on Mojang's version announcement blog posts - but will also generate a properties file on first launch where you can change the path. In the output directory, a "fabric-server-launch.jar" will be created. It expects a "server.jar" next to it, which is the vanilla server .JAR, generally found on Mojang's version announcement blog posts - but will also generate a properties file on first launch where you can change the path.
Line 41: Line 48:
  
 For a list of Fabric mods, you can [[https://minecraft.curseforge.com/mc-mods/fabric?filter-sort=4|go to Minecraft CurseForge and set the filter type to Fabric]]. For a list of Fabric mods, you can [[https://minecraft.curseforge.com/mc-mods/fabric?filter-sort=4|go to Minecraft CurseForge and set the filter type to Fabric]].
 +
 +===== Installing from the CLI =====
 +
 +The fabric installer has full support from installing the client and the server from the command line. This could be used to automate the installation. The installer has a number of commands that can be used for a headless install.
 +
 +//java -jar fabric-installer-0.4.1.22.jar <command>//
 +
 +If no command is provided the gui version will attempt to run.
 +
 +=== help ===
 +
 +//java -jar fabric-installer-0.4.1.22.jar help//
 +
 +Prints out all of the commands available along with the latest mappings and loader versions.
 +
 +=== server ===
 +
 +//java -jar fabric-installer-0.4.1.22.jar server//
 +
 +Used to create the required files for a fabric server. There are 3 optional arguments that can be passed.
 +
 +  * **-dir** Used to select the installation dir, **defaults** to the current working directory 
 +  * **-mappings** Used to select the mappings version, **defaults** to the latest
 +  * **-loader** Used to select the loader version, **defaults** to the latest
 +
 +=== client ===
 +
 +//java -jar fabric-installer-0.4.1.22.jar client -dir "C:\Users\user\AppData\Roaming\.minecraft"//
 +
 +Used to create the required files for a fabric server. There are 3 optional arguments that can be passed.
 +
 +  * **-dir** Used to select the installation dir, __**required**__
 +  * **-mappings** Used to select the mappings version, **defaults** to the latest
 +  * **-loader** Used to select the loader version, **defaults** to the latest
 +
 +
install.txt · Last modified: 2024/06/05 03:48 by skycatminepokie