Tutorials/Setting up a Minecraft Forge server

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

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 -Xmx1G -Xms1G -jar minecraftforge-universal-1.6.2-9.10.0.804.jar nogui
 * Minecraft Forge page from video
 * Minecraft Forge Files/Releases
 * Minecraft Forge website
 * Server start text used in the video:

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 minecraft_server.jar nogui
 * Latest Minecraft Server
 * Minecraft Forge 1.5.2
 * Minecraft Forge 1.5.1
 * Minecraft Forge 1.5
 * Minecraft Forge 1.4.7
 * Minecraft Forge website
 * Server start text:

Notice
If the server start text doesn't work then try renaming the minecraft_server to 'minecraft_server.jar' without the apostrophes. Or you could use this server start text instead: java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

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-1.7.2-10.12.2.1121-universal.jar nogui pause

教程/架设一个Minecraft Forge服务器