Difficulty

Easy

Steps

4

Time Required

                          10 minutes            

Sections

1

  • How to create your own Minecraft Server
  • 4 steps

Flags

Member-Contributed Guide

An awesome member of our community made this guide. It is not managed by iFixit staff.

  • BackServers

  • Full Screen

  • Options

  • History

  • Save to Favorites

  • Download PDF

  • Edit

  • Translate

  • Get Shareable Link

  • Embed This Guide

  • Notify Me of Changes

  • Stop Notifications

Introduction

While Minecraft’s multiplayer can be a fun shared experience, sometimes you just want to have that experience with yourself and a small group of friends. Now while there are options like Minecraft Realms, these options are on a monthly subscription and can get quite expensive.

But there is a much cheaper alternative, which is to make your own dedicated Minecraft Server. The best part is that you don’t necessarily need to spend a whole lot of money on hardware unless you plan on hosting hundreds of players.

While you can run a Minecraft Server on almost any computer, that can run Java, I will be using an 8GB Raspberry Pi 4 and a 32GB microSD card with Ubuntu flashed to it.

Step 1

              Make sure your device is updated               
  • To start your server make sure the device you are using has the latest software update. This ensures the device has the latest security patches.
  • This process will vary depending on the OS you are using, but for Linux use the following command: sudo apt-get update && sudo apt-get upgrade

To start your server make sure the device you are using has the latest software update. This ensures the device has the latest security patches.

This process will vary depending on the OS you are using, but for Linux use the following command: sudo apt-get update && sudo apt-get upgrade

1024

Step 2

              Installing the latest JDK               
  • To run the Minecraft server you will need the latest Java Development Kit. For Linux you will just run the following command: sudo apt install default-jdk
  • While this command will work on both Linux and Mac operating systems, the process does change when using Windows. The instructions for a Windows installation can be found here.

To run the Minecraft server you will need the latest Java Development Kit. For Linux you will just run the following command: sudo apt install default-jdk

While this command will work on both Linux and Mac operating systems, the process does change when using Windows. The instructions for a Windows installation can be found here.

Step 3

              Get the latest .jar file from Mojang               
  • Download the latest .jar file from the Mojang website here onto the device acting as your server.
  • It is recommended that you keep the file in its own directory when you download it

Download the latest .jar file from the Mojang website here onto the device acting as your server.

It is recommended that you keep the file in its own directory when you download it

Step 4

              Running your server               
  • In your command line, navigate to the directory that has your .jar file and run the following command…
  • java -Xmx3000M -Xms3000M -jar server.jar nogui
  • 3000 is the amount of ram that we are dedicating to our server and is measured in Megabytes. You can also remove nogui if you want to use the GUI interface.
  • You may get a warning that says you didn’t accept EULA. To fix this issue open the eula.txt file and set the eula variable to true

In your command line, navigate to the directory that has your .jar file and run the following command…

java -Xmx3000M -Xms3000M -jar server.jar nogui

3000 is the amount of ram that we are dedicating to our server and is measured in Megabytes. You can also remove nogui if you want to use the GUI interface.

You may get a warning that says you didn’t accept EULA. To fix this issue open the eula.txt file and set the eula variable to true

Congratulations! You now have your own private Minecraft server.

While this tutorial should give you a good foundation for making a server, some other good practices should be observed.

Firstly, it is recommended that you learn how to backup your server, as to not lose any progress that would have been made. A tutorial for that can be found here. I also recommend you learn how to configure your device to a RAID 1 configuration. This way if your main storage fails you will have a copy on a spare drive.

Otherwise, you now have a private server that you and your friends can play on.

Cancel: I did not complete this guide.

                                                                                      One other person completed this guide.                                             

Author

                                      with 1 other contributor 

                    Jacob Mehnert                     

Member since: 10/18/2021

12,621 Reputation

                                      31 Guides authored                  



                       Badges:
                       42







                                                        +39 more badges                           

Team

                       iFanatics                        

                                                  Member of iFanatics 



                    Community                     


                                            49 Members                     


                                            102 Guides authored