User Tools

Site Tools


install

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
install [2018/12/09 08:57] – created asieinstall [2019/05/22 11:17] – old revision restored (2019/05/20 14:25) falseresync
Line 1: Line 1:
 ====== Installing Fabric ======  ====== Installing Fabric ====== 
  
-Note: An official way to install the client into the "vanilla" launcher is not yet available.+===== Regular installation =====
  
-===== Client (MultiMC) =====+==== MultiMC ====
  
-First, open [[http://fabric.asie.pl/use/|the download page]] and choose the game, mapping and loader versions. +**NOTE** MultiMC is a modding-friendly alternate launcher for Minecraftwhich is recommended for working with Fabric and can be found here. If you don'wish to use MultiMC or don't know or care what launcher you're using, follow through to the [[#regular_client|regular client]] instructions.
-  Generallychoosing the latest mapping version for a given game version is advisable, as mods do not depend on the deobfuscated names staying the same. +
-  * The loader should be mostly game version-independent. If this situation changes, it will be pointed out, so don'worry!+
  
-Click "copy MultiMC instance url"This will copy an URL to the MultiMC template .zip to your clipboard.+  - Open [[https://fabricmc.net/use/|the download page]] and choose the game, mapping and loader versions. Click “Copy MultiMC instance url. 
 +    * Generally, choosing the latest mapping version for a given game version is advisable, as mods do not depend on the deobfuscated names staying the same. 
 +    * The loader should be mostly game version-independent. If this situation changes, it will be pointed out, so don't worry! 
 +  - Start MultiMC. Click on “Add Instance” in the top-left, then select “Import from ZIP” and paste the URL in the text fieldDon't forget to set the name! 
 +  - Press OKYour Fabric instance is ready to go - feel free to add mods to it!
  
-Start MultiMC. Click on "Add Instance" in the top-left, then select "Import from ZIP" and paste the URL in the text field. Don't forget to set an instance name, otherwise it will use the default "multimc"!+==== Regular client ====
  
-{{::install_multimc_import.png|}}+  - Download the Fabric installer from [[https://fabricmc.net/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. 
 +  - Open the installer. In the window you need to configure the mapping and loader version (as per advice in the [[#multimc|MultiMC section]]) and 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 launcher's menu, which you can now use to launch Fabric.
  
-Press OK. Your Fabric instance is ready to go - feel free to add mods to it!+==== Server ====
  
-===== Dedicated Server =====+**NOTE** **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 choose the desired loader version the game/mapping version is chosen laterso don't worry about it.+  - Download the Fabric installer from [[https://fabricmc.net/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. 
 +  - Open the installer. Select the "Server" tab at the top of the window. 
 +  - In the window you need to configure the mapping and loader version and the install location.\\ **NOTE** You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots. 
 +  - Press Install. In the output directory, a ''fabric-server-launch.jar'' will be created. It expects a ''server.jar'', which is the vanilla server JARgenerally found on Mojang's version announcement blog posts, next to it, but will also generate a properties file on first launch where you can change the path.\\ **NOTE** If you are upgrading your existing server, remember to remove the ''.fabric'' folder if the installer did not remove that for you! Or you will get classloading errors.
  
-Click "download server launcher" or "copy server launcher .JAR url". Use this to download the server launcher.+===== CLI installation =====
  
-Additionally, download the //vanilla// server .JAR for given Minecraft version - these can generally be found on Mojang's version announcement blog posts.+The fabric installer has full support from installing the client and the server from the command lineThis could be used to automate the installation. The installer has number of commands that can be used for a headless install.
  
-Put both .JARs in the same directory. From the command line, run:+==== Available options ====
  
-''java -Xmx[RAM amountfor example 2G] -jar fabric-loader-[version].jar [minecraft server JAR] [arguments...]''+  * **-snapshot** Enables the usage of snapshot versions of Minecraft. 
 +  * **-dir** Used to select the installation dirdefaults 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.
  
-This should let you run the server.+==== Available commands ==== 
 + 
 +  * **help** Prints out all of the commands available along with the latest mappings and loader versions. Ignores options. Example:<code> 
 +java -jar fabric-installer.jar help 
 +</code> 
 +  * **server** Used to create the required files for a Fabric server. Accepts all options, none are required. Example: <code> 
 +java -jar fabric-installer.jar server 
 +</code> 
 +  * **client** Used to create the required files for a Fabric client. Accepts all options, **-dir** is required. Example:<code> 
 +java -jar fabric-installer.jar client -dir “~/Games/.minecraft” 
 +</code>
install.txt · Last modified: 2024/04/05 13:27 by mineblock11