Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
Minecraft Wiki
Paper JE2 BE2.png
The contents of this page are not supported by Mojang Studios or the Minecraft Wiki. 

This page will teach the player how to install a Forge server.

1.6 to 1.16.5[]

Text version[]

Firstly, you need the Forge installer, which can be downloaded from the official Forge download page. Once downloaded, launch it and choose option "Install server". If you're installing Forge on a headless server with no graphical interface, run the following command in the directory where you downloaded the jar installer (replace "x.xx.x" with the correct version number for the installer you downloaded):

java -jar forge-x.xx.x-installer.jar --installServer

If you get an error about "Downloading Minecraft server failed, invalid e-tag checksum.", you will need to install a vanilla Minecraft server and then run Forge installer. The vanilla server can be downloaded in its respective page.

If you get an error about "There are already files at the target directory", click on the three dots to choose the current location of your Minecraft server (the video shows this).

Once you started vanilla server (don't forget to change EULA), install Forge and you are done. Now you can launch Forge server by double clicking "forge-version-xx.xx.x.xxxx-version.universal.jar" or using the command below.

Video version[]

This tutorial is intended for Windows users, but may be of some use to users who use other operating systems (Mac, Linux).

Information[]

java -Xmx1024M -Xms1024M -jar FORGE_FILE_NAME.jar nogui
PAUSE

1.5 and prior[]

This tutorial is intended for Windows users, but may be of some use to users who use other operating systems (Mac, Linux)

Information[]

java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui PAUSE

you can give the server more memory by changing the 1024 to a multiple of 1024

Notice[]

If the server start text doesn't work then try renaming the SERVER_FILE_NAME to 'SERVER_FILE_NAME.jar' without the apostrophes. Or you could use this server start text instead:

java -Xmx1024M -Xms1024M -jar SERVER_FILE_NAME.jar nogui
PAUSE

If you receive the "Java is not recognized" message, replace "java" with its file location. (e.g.: "C:\Program Files (x86)\Java\jre7\bin\javaw.exe") The full string would be:

"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -Xmx1G -Xms1G -jar FORGE_FILE_NAME.jar nogui

PAUSE



Advertisement