User Tools

Site Tools


player:tutorials:server:windows

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
player:tutorials:server:windows [2021/06/12 19:47] – Moved from tutorial to player namespace phoenix_ivplayer:tutorials:server:windows [2023/09/24 18:54] (current) – Use new minecraft wiki mattidragon
Line 1: Line 1:
-====== Installing a Minecraft/Fabric Server ======+====== Installing a Fabric Server (Windows) ======
  
-==== STEP 1: Create a MultiMC Minecraft/Fabric single player instance ====+===== STEP 1: Create a Fabric client instance =====
  
-Before setting up a Minecraft server with Fabric Mod loader, it may be a good idea to install Fabric in a MultiMc instance, download and test all the mods you want in the server in that instance, and once you have everything set up and working, only then set up the server. You can do that here: [[tutorial:install_with_multimc|Installing Fabric using the MultiMC launcher]]+Before setting up a Minecraft server with Fabric mod loader, it may be a good idea to install [[https://fabricmc.net/wiki/install|Fabric for clients]], download and test all the mods you want in the server in that instance, and once you have everything set up and working, only then set up the server.
  
  
 ---- ----
-==== STEP 2: Checking if Java is installed ==== +===== STEP 2: Install Java =====
- +
-A Minecraft server requires the Java Runtime Environment. To check if java is installed in your computer, open the ''Run'' dialog by using the ''Windows+R'' hotkey. Enter ''cmd'' in the textbox and click ''OK'' This will open a command window. +
- +
-{{:wiki:install_server_06.jpg?direct|}} +
- +
-In the command window type ''java -version'' and press ''Enter'' +
- +
-{{:wiki:install_server_07.jpg?direct|}} +
- +
-If a Java version number is reported similar to this: +
- +
-{{:wiki:install_server_08.jpg?direct|}} +
- +
-''Java 16'' is required for ''Minecraft 1.17''+
-You may skip **STEP 3** if you don't want to update or replace the Java version installed. +
- +
-If Java is not installed, the result will be something like this: +
- +
-{{:wiki:install_server_09.jpg?direct|}} +
- +
- +
- +
----- +
-==== STEP 3 (Optional): Installing JAVA ==== +
- +
-====== >>>>>> UPDATE 2021-06-09: JAVA 16 is required for MINECRAFT 1.17 <<<<<< ====== +
- +
- +
-If in STEP 2 you determined that you don't have Java installed, you will need to install it.  +
- +
-If you already have at least ''Java 16'' installed you can skip this step. +
- +
-To download Java, go [[https://adoptopenjdk.net/index.html?variant=openjdk16&jvmVariant=hotspot|here]]. You can either choose the default suggestion for Java 16 or choose to install a smaller variant by choosing [[https://adoptopenjdk.net/releases.html?variant=openjdk16&jvmVariant=hotspot|"Other platforms"]], picking your operating system and downloading the "''JRE''" version (.msi).+
  
 +Follow the [[player:tutorials:java:windows|Java tutorial]]
  
  
 ---- ----
-==== STEP 4: Install Fabric in the Server Folder ====+===== STEP 3: Install Fabric in the Server Folder =====
  
-Go to https://fabricmc.net/use/ and select the Server” option, then download the Windows exe installer or the Universal JAR installer.+Go to https://fabricmc.net/use/ and select the ''Minecraft Server'' option, then download the ''Windows exe installer'' or the ''Universal JAR installer''.
  
 Run the Fabric Installer jar/exe you downloaded. Select the ''Server'' tab. Select the ''Minecraft Version'' and  the ''Loader Version'' Run the Fabric Installer jar/exe you downloaded. Select the ''Server'' tab. Select the ''Minecraft Version'' and  the ''Loader Version''
Line 91: Line 59:
  
 ---- ----
-==== STEP 5: Starting the server ====+===== STEP 4: Starting the server =====
  
 **NOTE:** The installer now has a button to generate the batch files for you, so the following instructions may be outdated. **NOTE:** The installer now has a button to generate the batch files for you, so the following instructions may be outdated.
Line 126: Line 94:
 Now type this: Now type this:
  
-''echo pause>>start.cmd [ENTER]'' (that's two ">", not ">>")+''echo pause%%>>%%start.cmd [ENTER]''
  
 This will create a ''c:\mc-server\start.bat'' file that you can use to start the server by double clicking it. This will create a ''c:\mc-server\start.bat'' file that you can use to start the server by double clicking it.
  
-Now you can add mods to the ''c:\mc-server\mods'' folder. The easiest way to do this is to copy the mods you have in the MultiMC instance you created to test the mods to include in the server.+Now you can add mods to the ''c:\mc-server\mods'' folder. The easiest way to do this is to copy the mods you have in the client instance you created to test the mods to include in the server.
  
-You may want to review the mod list in the MultiMC instance by opening the Mod Menu GUI. Any mod labeled as **CLIENT** you can exclude from the server mods folder.+You may want to review the mod list in the client instance by opening the [[https://modrinth.com/mod/modmenu|Mod Menu]] GUI. Any mod labelled as **CLIENT** you can exclude from the server mods folder.
  
 {{:wiki:install_server_15.jpg?direct&600|}} {{:wiki:install_server_15.jpg?direct&600|}}
  
-**If you are using Optifine in the multimc instance, do not copy the optifine and optifabric jar files in the server mods folder.**+**If you are using OptiFine in the client instance, do //not// copy the Optifine and OptiFabric jar files to the server mods folder as OptiFine is a client-side mod!**
  
-After copying the mod files to the server mods folder, you may also want to copy the MultiMC instance ''config'' folder files to the server ''config'' folder.+After copying the mod files to the server mods folder, you may also want to copy the client instance'''config'' folder files to the server ''config'' folder.
  
 Now restart the server by double clicking the ''start.bat'' file. Now restart the server by double clicking the ''start.bat'' file.
Line 144: Line 112:
  
 ---- ----
-==== NOTES ====+===== NOTES =====
  
 Some mods that are intended to only be installed in the CLIENT may have bugs and crash the server if you copy those mods to the server mods folder. You will have to determine the mod that is crashing the server by removing mods one by one, or half the mods at a time until you find the mod that is causing the crash. If you encounter this problem, please open an issue in the mod issues page. Some mods that are intended to only be installed in the CLIENT may have bugs and crash the server if you copy those mods to the server mods folder. You will have to determine the mod that is crashing the server by removing mods one by one, or half the mods at a time until you find the mod that is causing the crash. If you encounter this problem, please open an issue in the mod issues page.
Line 160: Line 128:
 ---- ----
  
-==== Links ==== +===== Links ===== 
- +  * https://adoptium.net/temurin/releases/?version=17 
-  * https://fabricmc.net/wiki/tutorial:install_with_multimc +  * https://fabricmc.net/use/server
-  * https://fabricmc.net/use/ +  * https://www.minecraft.net/en-us/download/server 
-  * https://www.minecraft.net/en-us/download/server/ +  * https://help.minecraft.net/hc/en-us/articles/360058525452 
-  * https://adoptopenjdk.net/releases.html +  * https://minecraft.wiki/w/Tutorials/Setting_up_a_server
-  * https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server+
  
player/tutorials/server/windows.1623527260.txt.gz · Last modified: 2021/06/12 19:47 by phoenix_iv