How to Set Up Your Minecraft Server
Minecraft has sold over 100 million copies worldwide. Kids and adults everywhere are mining, crafting, and Minecrafting together in multiplayer worlds; players build social skills, improve their problem-solving abilities, and exercise their creativity when building together online. There are so many educational benefits of Minecraft it’s astounding.
On a public internet server, players can collaborate to build bigger and better things than they could have made alone; however, you can’t control exactly who connects to the public servers and thus who your child is interacting with online. Good news! By setting up your own server, you can know exactly who’s connecting with and playing in your child’s worlds.
We created some downloadable directions to get you started hosting your own Minecraft server for your student. These were created using iD Game Plan, the same learning management system that students use at camp.
Before you try to do any of this at home, these instructions are meant for parents who are helping their kids. Thus, kids MUST get parent permission and choose a time when they can supervise and help. Setting up and running an online server means that anyone with your external IP address will be able to join your server and play in your Minecraft world. Think carefully about who you invite to play on your server!
Make sure you’re keeping track of who you and your child are inviting to play on your server. The best way to keep your server safe and happy is to only invite players you know in real life. Plenty of people on the internet are nice, but by limiting your server to people you’ve met, you won’t have any surprises with who your kids are encountering.
PC Setup Instructions:
1. Verifying the Latest Version of Java
Since Minecraft is a Java-based game, our first step is to make sure you have the latest version of Java. If you don't, download Java here.
Need Help Troubleshooting?
Refer to the Minecraft online server set up Wiki article. PLEASE NOTE: Some solutions to server issues require adjusting critical settings on your computer. If this is done improperly, you can damage your computer.
First, you'll need the server files. You can get these for free from Mojang's site:
1. Go to the Minecraft Server Downloads page and download minecraft_server.1.11.jar.
2. Once the download finishes, copy minecraft_server.1.11.jar into a new folder on your desktop and call this folder "Minecraft Server".
3. Double-click minecraft_server.1.11.jar to run it.
You'll see some new files appear in the folder along with it.
3. Version of Minecraft
If Minecraft updates to a new version, the directions above will still apply but "1.11" will be replaced with whatever the new version number is!
4. Batch File to Run Server
1. Right-click inside the Server folder where you put the Minecraft_Server.1.11.jar.
2. Select New > Text Document.
3. Name the new document "Run".
4. Inside the Notepad document, paste the following line: 1 cmd /k java ‐Xms1G ‐Xmx1G ‐jar minecraft_server.1.11.jar
If you're using a different version of the server, change "minecraft_server.1.11.jar" to match the name of the version you're using.
Now Save As a batch file, which is a file Windows uses to run command line commands.
5. Click File > Save As.
6. In the field Save as Type, select All Files.
7. Set the file name to "Run.bat".
Make sure you remove the .txt at the end of the filename.
5. Agreeing to the EULA
Mojang provides a license agreement you must agree to before launching a Minecraft server. You'll need to edit the file eula.txt to indicate that you agree.
1. Double-click eula.txt.
You can read the EULA here or by copying and pasting the text from the file.
2. Change the line eula=false to eula=true.
6. Launching Your Server
Now you're ready to launch your server!
Double-click Run.bat and your server will launch.
A window will appear with some info about your server. As long as you leave this window open, your server is running and players will be able to connect!
7. The Server Window
Your server provides some information to help you keep track of what's going on, even if you're not in-game.
1. You can see how much memory the server is using in the Stats panel.
2. You can check who is currently connected to the server in the Players panel.
3. You can see server messages and player chats in the Log and Chat panel.
4. You can use the field on the bottom-right to enter server commands.
Server commands allow advanced users more control over their server. You can find a list of all possible commands here.
8. Joining Your Server
Now it's time to join your Minecraft server.
1. Run Minecraft.
2. On the main menu, click Multiplayer.
3. Click Add Server.
4. Name your server in the Server Name field.
5. Type "localhost" in the Server Address field.
6. Click Done.
7. Select your server and click Join Server.
You should now be able to play on your home server. Next, we'll set up the internet connection so other players can connect to it.
9. Port Forwarding
The next step in the process requires adjusting the settings on your router so other users can access your computer through it. This process will be different for everyone, because it's based on the kind of router you have.
1. Before you begin, read this page on portforward.com that offers some basic information on port forwarding.
2. Go to this link for a list of port forwarding guides.
3. Select your router's make and model from the list and follow the instructions provided.
Is Your Router Not on the List?
If you can't find your router on the list on that site here's a couple things to try:
- If you can find your manufacturer but not the model: Try the directions for the closest number to your model you can find. They're often similar processes.
- Search for your router's model and "port forwarding" on the web.
- Contact your router's customer support and ask how to forward ports.
10. Finding Your External IP Address
Once you've forwarded your ports, you'll need to find your external IP.
1. Open a browser and go to google.com
2. Type "external ip" in the search bar and press Enter or Return.
3. Google will tell you your external IP address.
Your external IP address will either be IPv4 or IPv6 and will look like one of the examples below:
Sample IPv4 address: 12.34.456.789
Sample IPv6 address: 2001:0db8:0a0b:12f0:0000:0000:0000:0001
When you find your external IP address, save this number — you'll need it for other people to connect to your server.
11. Connecting to Your Server
Now that you've port-forwarded your connection, other players can connect using your external IP address. Have players joining your server follow the steps below:
1. In Minecraft, click Multiplayer.
2. Click Add Server.
3. Enter a server name.
4. Enter the server address.
This will be your external IP followed by the port number: 25565 This will look like the address in the image on the right.
If you have an IPv6 address, enclose your address in [ ] characters like this: [2001:0db8:0a0b:12f0:0000:0000:0000:0001]:25565
5. Click Done. Minecraft will now try to connect to the server. Once connected, select the server and click Join Server.
Inviting Players to Join
Anyone you give your external IP address to will be able to play on your Minecraft server. Make sure that you trust whomever you invite to play. It's safest only to invite people you know. Ask your parents before inviting new players to join.
12. Server.properties File
You can also adjust some settings of the game using the file in the Server folder called Server.properties.
Open the file with any text editor, and you can change the properties of your Minecraft world by editing lines of the file.
The most common properties you might change are:
- gamemode=0: change this to gamemode=1 to put your server in creative mode.
- max‐players=20: change this number to increase or decrease the number of players that can join your server at one time.
You can find a reference for all the options available on the Minecraft Wiki.
Editing Server Properties
You won't need to change anything in this file for your server to work. Don't make changes to the file unless you're sure of what you're doing.
Always ask your parents for permission before you start setting up an online server!
You must download the server software from Minecraft and use port forwarding to allow others access to your server.
Don't forget that you can double-check steps and get more information on setting up servers here.
For those with a mac, you can find instructions here.
Once you’ve followed these directions, you’ll have your own server that you, your kids, and their friends can play Minecraft together! You can give your connection information to anyone you know and invite them to collaborate and build in your world.
When you do create a server, be sure to log in every once in awhile to check out what the players are building; you’ll be surprised how much kids will accomplish when they work together. If you or your kids have any cool builds, we’d love to see them in the comments!
And don’t forget you can take your child’s Minecraft skills to the next level at any of our super-popular Minecraft online and summer courses in coding and game design. Check them out today!