player:tutorials:server:windows
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
player:tutorials:server:windows [2021/06/12 19:05] – created calloatti | player:tutorials:server:windows [2024/09/27 23:20] (current) – Remove redundant links poopooracoocoo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | server windows | + | ====== Installing a Fabric Server (Windows) ====== |
+ | |||
+ | ===== STEP 1: Create a Fabric client instance ===== | ||
+ | |||
+ | Before setting up a Minecraft | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ===== STEP 2: Install Java ===== | ||
+ | |||
+ | Follow the [[player: | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ===== STEP 3: Install Fabric in the Server Folder ===== | ||
+ | |||
+ | Go to https:// | ||
+ | |||
+ | Run the Fabric Installer jar/exe you downloaded. Select the '' | ||
+ | |||
+ | In '' | ||
+ | |||
+ | Click '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The installation process may take some time, when the install is done, you will see this: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click on '' | ||
+ | |||
+ | Click on '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You may now close the Fabric Installer. | ||
+ | |||
+ | In the Command Window you opened in **STEP 2** type: | ||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | //Note: If the server path is in another drive, first switch to that drive, for example if the server path is in the D: drive, enter this at the command prompt:// | ||
+ | |||
+ | '' | ||
+ | ---- | ||
+ | |||
+ | |||
+ | The command prompt should change to: | ||
+ | |||
+ | '' | ||
+ | |||
+ | Now type the following to create the '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ===== 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:** If you are upgrading Fabric in this server, delete the '' | ||
+ | |||
+ | Start the server by typing in the command window: | ||
+ | |||
+ | '' | ||
+ | |||
+ | If you are using Windows and get a Windows Security Alert, click on '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You should see something like this in the command window: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now that the server is up and running, you can stop it and create/edit a batch file that starts the server. Type | ||
+ | |||
+ | '' | ||
+ | |||
+ | in the command window to stop the server. Then type the following: | ||
+ | |||
+ | '' | ||
+ | |||
+ | If you want to specify how much RAM to allocate to the server, type this instead of line above: | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | Use the values you want for Xms and Xmx | ||
+ | |||
+ | Now type this: | ||
+ | |||
+ | '' | ||
+ | |||
+ | This will create a '' | ||
+ | |||
+ | Now you can add mods to the '' | ||
+ | |||
+ | You may want to review the mod list in the client instance by opening the [[https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **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 client instance' | ||
+ | |||
+ | Now restart the server by double clicking the '' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | ===== 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. | ||
+ | |||
+ | If you are going to use a hosted server, and the provider only allows you to use '' | ||
+ | |||
+ | Rename '' | ||
+ | |||
+ | Rename '' | ||
+ | |||
+ | Edit the '' | ||
+ | |||
+ | This may work if the hosting server only checks for the file name of the jar. If it seems that you are not able to setup a Fabric service on a hosted server, ask the hosting company to add support for Fabric. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Links ===== | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// |
player/tutorials/server/windows.1623524709.txt.gz · Last modified: 2021/06/12 19:05 by calloatti