Introduction: Raspberry Pi Minecraft Server

Things needed

  • Raspberry Pi (I used the third model version B)
  • Basic setup for the Pi (power cords, video cords, etc)
  • A minecraft account
  • Connection to the internet

NOTE: I have not port forwarded my server so it only connects if you're on the same network as it.

This instructable will walk you through the basic steps of creating a server and accessing it with another computer on the same network. If you have questions feel free to ask. I will do my best to help if you should have complications.

NOTE: This server will not be as fast as one setup on another computer, so be patient.

Step 1: Step 1: Downloading the .jar File

Go to www.minecraft.net/download/server and download the minecraft_server jar file. Once it is downloaded click file manager. Then go to your downloads folder and drag it into the desktop folder. After that create a file on the desktop and name it whatever you like. This will be your server folder that holds all the server files and other important features. Once you have done this proceed go to the next step.

Step 2: Server Setup

Go into your server folder where the .jar file is and right click on the file and select copy path. This will be important later. Next open up a terminal window and type "sudo su" then type "cd /home/pi/Desktop/name of server folder" . Then type "java -jar minecraft_server.1.11.2.jar" this will run the server. When it is running an error will pop up saying that you must agree to the eula. So in your server folder there should be a file that was created called "eula.txt" double click on it and change "eula=false" to "eula=TRUE" and save it. This will fix the problem. If you have trouble editing this file type "chown pi eula.txt" into the terminal and try again. Move to the next step.

Step 3: Step 3: Finishing Up

Now you have your server is set up and you're ready to connect. Type

"java -Xmx1024M -Xms1024M -jar minecraft_server.1.11.2.jar nogui" and you should see the server window pop up. Also the terminal window will act as the server config as well. Please be patient because the setup does take about 10 minutes. After a the spawn has been setup and the server config appears to be unchanging then it is time to connect. If you do not know your Pi's IP address hover your mouse over the network tool in the top toolbar next to the sound and clock. It should tell you an IP address associated with wlan0 like 192.168.0.0 . That is your server's IP which you will enter into minecraft on your computer. So select add server in minecraft multiplayer call it whatever you like then type in your Pi's IP and click connect. Comment if you have any questions.