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
install [2019/05/16 03:16] liachinstall [2023/12/19 01:07] (current) – Clarify install location option and reword poopooracoocoo
Line 1: Line 1:
 ====== Installing Fabric ======  ====== Installing Fabric ====== 
  
-===== Client (MultiMC; recommended) =====+===== Regular installation =====
  
-NOTE: MultiMC is a modding-friendly alternate launcher for Minecraft, which is recommended for working with Fabric and can be found [[https://multimc.org/|here]]. If you don't wish to use MultiMC or don't know/care what launcher you're using, follow through to the "vanilla" client instructions.+==== Mojang'Minecraft Launcher====
  
-Once you have MultiMC installed:+  - Download the Fabric Installer from [[https://fabricmc.net/use/|the download page]]. 
 +  - Open the installer. In the window you can select the Minecraft version, loader version (latest recommended), and the install location (default recommended).  
 +      - To show snapshots in the Minecraft versions dropdown, tick the 'Show Snapshots' checkbox 
 +      - The install location is the location of Minecraft Launcher. If you want to change your instance's directory use [[player:tutorials:install_mcl:windows#step_2_optionaledit_the_game_directory_of_the_new_fabric_installation|Minecraft Launcher's instance options]] 
 +  - Press Install. A new game version and profile will be created in the launcher's menu, which you can now use to launch Fabric. 
 +  - You may then want to launch your newly created instance once, and then add [[https://modrinth.com/mod/fabric-api/versions|Fabric API]] to your instance's mods folder as most mods will need it
  
-First, open [[http://fabric.asie.pl/use/|the download page]] and choose the game, mapping and loader versions. +For more detailed instructions visit this guide: [[player:tutorials:install_mcl:windows|Install Fabric - Minecraft Launcher (Windows)]]
-  * 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.+==== Alternative third party launchers ====
  
-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"!+See [[player:tutorials:start#installing_fabric_loader|Installing Fabric Loader]] and [[faq:user#what_launchers_can_i_use_to_play_with_fabric_mods_on_a_custom_home-assembled_modpack|FAQ]]
  
-{{::install_multimc_import.png|}}+==== Server (simple method) ====
  
-Press OKYour Fabric instance is ready to go feel free to add mods to it!+**Note:** **Minecraft 1.17** requires Java 16, **Minecraft 1.18** requires Java 17. This is not included in most distributions. You can check your version with ''%%java -version%%''. You can get Java 17 from 3rd parties like [[https://adoptium.net/|Adoptium]] or [[https://www.azul.com/downloads/|Azul Zulu]].
  
-===== Client ("Vanilla" Launcher) =====+The new server installation uses a single jar file as a launcher. This launcher first downloads any missing Fabric Loader or Minecraft files, then continues with running the game server. There is no explicit installation and the desired versions as selected on the homepage are already baked into this jar file.
  
-First, download the Fabric installer from [[http://fabric.asie.pl/use/|the download page]].+  - Visit [[https://fabricmc.net/use/server/|the Minecraft Server download page]] and configure the desired versions, then use the ''Executable Server (.jar)'' button to generate and download the Fabric Server Launcher jar file 
 +  - Put the Fabric Server Launcher jar file into a directory of your choice, local or on a remote server 
 +  - Run the server with ''java -Xmx2G -jar <fabric server launcher jar file name> nogui'', the exact command is provided on the download website in step 1
  
-You can download the installer directly from [[https://jenkins.modmuss50.me/job/FabricMC/job/fabric-installer/job/master/|modmuss50's jenkins]] as well.+With Minecraft specific server hosts, admin panels or start scripts the Fabric Launcher jar file can be used as a drop-in replacement for a vanilla server jar. It can be invoked in the same way and behaves similarly. 
 +==== Server (manual method) ====
  
-After opening ita window will appearConfigure:+**Note:** **Minecraft 1.17** requires Java 16**Minecraft 1.18** requires Java 17. This is not included in most distributions. You can check your version with ''%%java -version%%''. You can get Java 17 from 3rd parties like [[https://adoptium.net/|Adoptium]] or [[https://www.azul.com/downloads/|Azul Zulu]].
  
-  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).+
  
-Note: You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots.+  - Download the Fabric installer from [[https://fabricmc.net/use/?page=server|the Minecraft Server download page]] with the manual installation link below the download button or [[https://fabricmc.net/use/installer/|the Minecraft Launcher download page]] as if it was a client install. 
 +  - 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'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. 
 +  - When uploading to a remote host, make sure to include ''fabric-server-launcher.jar'', ''server.properties'', ''server.jar'' and the ''libraries'' folder with its contents
  
-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.+For more detailed instructions visit: 
 +  * [[player:tutorials:server:windows|Installing a Fabric Server (Windows)]] 
 +  * [[player:tutorials:install_server|Installing a Fabric Server without a GUI]]
  
-===== Dedicated Server ===== +===== CLI installation =====
- +
-**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:  +
-1. You need to enable snapshots in order to make the installer show mapping options for Minecraft snapshots. +
-2. 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. +
- +
-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. +
- +
-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 +
- +
-=== 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.1557976589.txt.gz · Last modified: 2019/05/16 03:16 by liach