====== Instalar Fabric ====== ===== Instalación regular ===== ==== En el Minecraft Launcher oficial de Mojang ==== - Descarga Fabric desde [[https://fabricmc.net/use/|la página de descarga]]. - Abre el instalador. En la siguiente ventana necesitas configurar los mapeos y la versión del Fabric Loader (siempre la última versión es la recomendada) y poner la ruta de instalación (normalmente la ruta por determinado está bien para la mayoría de plataformas).\\ **OJO** necesitas habilitar la opción para ver las snapshots si es que quieres ver los mapeos para las snapshots de Minecraft. - Presiona instalar. Una nueva versión y perfil se habrá creado en el menú del launcher, el cual podrás usar para ejecutar Fabric. - Ahora deberías querer ejecutar la instancia que creaste, y agregar [[https://modrinth.com/mod/fabric-api/versions|Fabric API]] a la lista de mods de tu instancia, ya que la mayoría de mods lo requieren. Para más detalle puedes ver esta guía: [[es:player:tutorials:install_mcl:windows|Instalar Fabric - Minecraft Launcher (Windows)]] ==== Otros launchers ==== Mira [[es:player:tutorials:start|Instalar el Fabric Loader]] y [[es:faq:user#what_launchers_can_i_use_to_play_with_fabric_mods_on_a_custom_home-assembled_modpack|Preguntas frecuentes]] ==== En un servidor (método simple) ==== **OJO:** **Minecraft 1.17** requiere Java 16, **Minecraft 1.18** requiere Java 17. Esto no está incluido en nuestras distribuciones. Puedes revisar la versión de Java que tienes con ''%%java -version%%''. Puedes obtener Java 17 por otras páginas como [[https://adoptium.net/|Adoptium]] o [[https://www.azul.com/downloads/|Azul Zulu]]. La nueva instalación para servidores usa un solo archivo tipo jar como un launcher. Este launcher descarga cualquier cosa que necesita el Fabric Loader o el Minecraft, luego continúa ejecutando el servidor. Por esto, no hay una lista de instaladores de cada versión en específico en nuestra página principal, ya que todo está en este único archivo que puedes modificar. - Revisa [[https://fabricmc.net/use/server/|descargar un servidor de Minecraft]] y configura la versión que deseas, luego usa el botón ''Executable Server (.jar)'' para generar y descargar el archivo para crear tu servidor en Fabric - Pon este archivo en cualquier dirección o carpeta que desees, ya sea para un servidor local o remoto - Ejecuta el servidor con ''java -Xmx2G -jar nogui'' Ahora con servidores dedicados solo para Minecraft, tienen paneles para administradores o scripts que pueden facilitar el proceso para cambiar el archivo para crear tu servidor de Minecraft vanilla al de Fabric. Puede ser una manera similar. ==== Server (manual method) ==== **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]]. **Note:** **Up-to-date as of Loader 0.4.4+.** Older versions choose different techniques. Installer 0.4.0+ required! - 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 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]] ===== CLI installation ===== 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. ==== Available options ==== * **-snapshot** Enables the usage of snapshot versions of Minecraft. * **-dir** Used to select the installation dir, defaults to the current working directory. * **-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: java -jar fabric-installer.jar help * **server** Used to create the required files for a Fabric server. Accepts all options, none are required. Example: java -jar fabric-installer.jar server * **client** Used to create the required files for a Fabric client. Accepts all options, **-dir** is required. Example: java -jar fabric-installer.jar client -dir "~/Games/.minecraft"