Votes: 0Posted On: Feb 12, 2015 09:27:31
The steps below will cover setting up Minecraft on a Windows dedicated server -
Download the Minecraft server files from https://minecraft.net/download
Before you run the installer, make sure you have the latest version of Java installed on the server. You can download the latest version at the following url - http://www.java.com/download/
After downloading the server .exe file, copy the file to a folder in C: drive.
For example, you can create a folder called "minecraft" in C: drive and run the .exe from that folder.
Before you can run the server, you will need to accept eula.txt. This file is created when you click on the .exe file in the minecraft server. Go ahead and click on the file, so config files can be generated.
Open eula.txt file with an editor and eula=fales to eula=true
To start the Minecraft server, you will need to go into command prompt and execute the following -
java -jar minecraft_server.jar (replace the file name with the correct filename for the .jar file)
If you wish to not use GUI, you can execute the command as minecraft_server.jar nogui
Make sure to add the minimum and maximum memory usage - java -Xms512M -Xmx1G ...
java -Xms1024M -Xmx1024M ...
java -Xms1G -Xmx2G ...
Here is a sample command -
java -Xms1024M -Xmx2048M -jar minecraft_server.jar nogui