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/01/17 20:25] – [Dedicated Server] add no-arg note asieinstall [2019/05/08 01:33] liach
Line 18: Line 18:
  
 First, download the Fabric installer from [[http://fabric.asie.pl/use/|the download page]]. First, download the Fabric installer from [[http://fabric.asie.pl/use/|the download page]].
 +
 +You can download the installer directly from [[https://jenkins.modmuss50.me/job/FabricMC/job/fabric-installer/job/master/|modmuss50's jenkins]] as well.
  
 After opening it, a window will appear. Configure: After opening it, a window will appear. Configure:
Line 23: Line 25:
   * the mapping and loader version (as per advice in the MultiMC section);   * the mapping and loader version (as per advice in the MultiMC section);
   * the install location (the default should be fine on most platforms).   * the install location (the default should be fine on most platforms).
 +
 +Note: You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots.
  
 Press Install. A new game version and profile will be created in the vanilla launcher's menu, which you can now use to launch Fabric. Press Install. A new game version and profile will be created in the vanilla launcher's menu, which you can now use to launch Fabric.
Line 28: Line 32:
 ===== Dedicated Server ===== ===== Dedicated Server =====
  
-Go to [[http://fabric.asie.pl/use/|the download page]] and choose the desired loader version the game/mapping version is chosen laterso don't worry about it.+**Up-to-date as of Loader 0.4.4+**. Older versions choose different techniques. Installer 0.4.0+ required! 
 + 
 +Download the installer directly from [[https://jenkins.modmuss50.me/job/FabricMC/job/fabric-installer/job/master/|modmuss50's jenkins]]. 
 + 
 +Go to [[http://fabric.asie.pl/use/|the download page]] and download the installer is viable as well. 
 + 
 +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"
 + 
 +Note: You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots. 
 + 
 +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 .JARgenerally found on Mojang's version announcement blog posts - but will also generate a properties file on first launch where you can change the path. 
 + 
 +===== Adding Mods ===== 
 + 
 +To add a mod to your Fabric client, navigate to the mods folder inside your Minecraft directory. If it does not exist, create it nowDownload the jar of the mod you want, and drop it into this folder. Most mods will require Fabric API; you can place the jar for the API in /mods as well. 
 + 
 +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. 
 + 
 +To enable the usage of snapshot versions of minecraft with the cli installer run with -snapshot 
 + 
 +=== 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
  
-Click "download server launcher" or "copy server launcher .JAR url". Use this to download the server launcher.+=== client ===
  
-Additionally, download the //vanilla// server .JAR for a given Minecraft version these can generally be found on Mojang's version announcement blog posts.+//java -jar fabric-installer-0.4.1.22.jar client -dir "C:\Users\user\AppData\Roaming\.minecraft"//
  
-Put both .JARs in the same directoryFrom the command line, run:+Used to create the required files for a fabric server. There are 3 optional arguments that can be passed.
  
-''java -Xmx[RAM amountfor example 2G] -jar fabric-loader-[version].jar [minecraft server JAR] [arguments...]''+  * **-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
  
-This should let you run the server. 
  
-If you don't want to (or can't) provide the Minecraft server .JAR as an argument, it's optional - however, the JAR must then be named "server.jar". 
install.txt · Last modified: 2024/06/05 03:48 by skycatminepokie