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/05/04 20:17] – Document CLI options modmuss50install [2020/10/03 14:57] ytg1234
Line 1: Line 1:
 ====== Installing Fabric ======  ====== Installing Fabric ====== 
  
-===== Client (MultiMC; recommended) =====+===== Regular installation =====
  
-First, open [[http://fabric.asie.pl/use/|the download page]] and choose the game, mapping and loader versions. +==== MultiMC ====
-  * 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!+
  
-Click "copy MultiMC instance url"This will copy an URL to the MultiMC template .zip to your clipboard.+**NOTE** MultiMC is a modding-friendly alternate launcher for Minecraft, which is recommended for working with Fabric and can be found hereIf you don't wish to use MultiMC or don't know or care what launcher you're using, follow through to the [[#mojang_s_minecraft_launcher|regular client]] instructions.
  
-Start MultiMCClick on "Add Instance" in the top-leftthen select "Import from ZIP" and paste the URL in the text fieldDon'forget to set an instance name, otherwise it will use the default "multimc"!+  - Create a new game instance. 
 +  - Select "Edit Instance" in the instance context menu or on the right side of the window. 
 +  On the Version tab of the configuration windowclick "Install Fabricto bring up a dialog with all the available Fabric Loader versions. Pick one and click OK to add it to the instance. 
 +    * Generally using the latest available Loader version is recommended. 
 +    * The loader should be mostly game version-independent. If this situation changes, it will be pointed out, so don'worry! 
 +  - Press OK. Your Fabric instance is ready to go - feel free to add mods to it!
  
-{{::install_multimc_import.png|}}+For more detailed instructions visit this guide[[player:tutorials:install_multimc:windows|Install Fabric - MultiMC (Windows)]] for Windows or this guide: [[player:tutorials:install_multimc:mac|Install Fabric - MultiMC (macOS)]] for macOS
  
-Press OK. Your Fabric instance is ready to go - feel free to add mods to it!+==== Mojang's Minecraft Launcher====
  
-===== Client ("Vanilla" Launcher=====+  - 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.
  
-First, download the Fabric installer from [[http://fabric.asie.pl/use/|the download page]].+For more detailed instructions visit this guide: [[tutorial:install_with_minecraft_launcher|Install using the Minecraft Launcher]]
  
-After opening it, a window will appear. Configure:+==== Server ====
  
-  the mapping and loader version (as per advice in the MultiMC section); +**NOTE** **Up-to-date as of Loader 0.4.4+.** Older versions choose different techniques. Installer 0.4.0+ required!
-  the install location (the default should be fine on most platforms).+
  
-Press InstallA new game version and profile will be created in the vanilla launcher'menuwhich you can now use to launch Fabric.+  - 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 JAR, generally found on Mojang'version announcement blog postsnext 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.
  
-===== Dedicated Server =====+For more detailed instructions visit this guide: [[tutorial:installing_minecraft_fabric_server|Installing a Minecraft/Fabric Server]]
  
-**Up-to-date as of Loader 0.4.4+**. Older versions choose different techniques. Installer 0.4.0+ required! +===== CLI installation =====
- +
-Go to [[http://fabric.asie.pl/use/|the download page]] and download the installer. +
- +
-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. +
- +
-===== 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 now. Download 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. 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>// +==== Available options ====
- +
-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**__ +  * **-snapshot** Enables the usage of snapshot versions of Minecraft. 
-  * **-mappings** Used to select the mappings version, **defaults** to the latest +  * **-dir** Used to select the installation dir, defaults to the current working directory. 
-  * **-loader** Used to select the loader version, **defaults** to the latest+  * **-mcversion** Used to select the minecraft version, defaults to the latest stable version. 
 +  * **-loader** Used to select the loader version, defaults to the latest. 
 +  * **-downloadMinecraft** Used to automatically download the Minecraft server jar 
 +  * **-noprofile** Skip creating client profile 
 +  * **-mavenurl** (advanced) Use a custom maven url when installing 
 +  * **-metaurl** (advanced) Use a custom meta server url
  
 +==== 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/06/05 03:48 by skycatminepokie