Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Creating a Minecraft Server

Overview:
This guide will show you how to set up a Minecraft server. While the process seems to
contain a lot of technical jargon, the actual steps are relatively simple when broken down. The
only thing that the user needs to get started is access to their router.

Basic Set up:


1. The first step necessary to create a Minecraft server is to make sure your PC is properly
port forwarded. Make sure the PC that will run the server is properly port forwarded. This
basically means that the incoming server traffic from people connecting is correctly
directed to the PC running the server. The process for this varies based on the router
brand, so you will have to research or read the manual on how to port forward based on
your specific router.

2. Next you will downloadDownload and set up the server file, this can be found at
https://www.minecraft.net/en-us/download/server. The file that will be downloaded is
server.jar. Put server.jar in its own folder and run it by double clicking it. You will also
need to make sure java is installed on your PC, it can be downloaded from this link
https://www.java.com/download/ie_manual.jsp.

3. After running server.jar, a new file named eula.txt will appear in the folder. This is the
user agreement; all you have to do is open the txt file and change “eula=false” to
“eula=true” and save. Open eula.txt and change “eula=false” to “eula=true”. The eula.txt
file will have shown up in the server file after server.jar has been run once.
4. The server is now ready to go, to start the server you click server.jar and it will
automatically create the rest of the files and launch the server. The server is active as long
as the server window is up. Start the server by clicking server.jar, the rest of the files
needed will be automatically created. The server is active as long as the server window is
up.

5. In order to connect to the server, you will need to find your IP address. This can be found
simply by typing “what is my IP” into Google, Google will then return your public IP
address which is what is used to connect to the server. Connect to the server by finding
your public IP. This can be found simply by typing “what is my IP” into Google.
Common IssuesTroubleshooting:
Cannot connect to server using public IP address.
The most common reason for failing to connect is the port was not
properly forwarded. A solution may be to forward an alternate port.A
solution may be to find an alternate port, forward that one, and change the
default port used by the server by changing it in server.properties.
How to forward an alternate port-
1. Find alternate port in the router control
2. Port forward alternate port
3. Change default port used by server by modifying server.properties file

I used to be able to connect, but it does not work anymore.


Standard IP addresses periodically change; an easy solution is simply to
find your new public IP from Google. However, if many people use the
server, providing a new address a lot can be annoying; but it is possible to
make it so the IP address never changes. This can be done by creating a
“static” IP address by logging into the router and finding the option to create a
static IP.
How to create static IP-
1. Log into router
2. Find section related to public IP
3. Select option to create static IP

The server constantly crashes.


This is most commonly attributed to there not being enough ram
allocated to support the server. More ram can be allocated by opening
notepad, adding the line “java -Xmx3072M -Xms3072M -jar server.jar” and
saving the file as run.bat (save it in the same folder as the server). You then
use the new .bat file to launch the server from now on, and it will launch it
with increased ram.
How to allocate more ram-
1. Open notepad
2. Type java-Xmx3072M-Xms3072M-jar server.jar
3. Save file as run.bat (save in same folder as the server)
4. Use the new .bat file to launch the server from now on.

You might also like