Difference between revisions of "Set Up A Minecraft Server On Your Raspberry Pi"

From Pediascape
Jump to: navigation, search
(Created page with "<p> Minecraft is a very popular game. People are becoming more and more addicted to this game. You can setup your own Minecraft server and can create your own worlds in the ga...")
 
m
Line 1: Line 1:
<p> Minecraft is a very popular game. People are becoming more and more addicted to this game. You can setup your own Minecraft server and can create your own worlds in the game. You don't need a dedicated PC to do this. It can be done easily with a Raspberry Pi Linux computer. Raspberry is the ideal choice if you are looking to play it on a small LAN with your friends and family. Although the graphics are not great, it is still fascinating to play this game over a network with others.</p><br /><br /><p> Within an hour, you can start playing Minecraft on your dedicated Raspberry Pi powered Minecraft server. Raspberry Pi isn’t capable of handling complex automated farms with more than five players, but it’s still the best low-cost option for playing this fascinating game on a network.</p><br /><br /><p> So, in this tutorial we will learn about managing Minecraft servers using Raspberry Pi.</p><br /><br /><p> 1. Raspbian installed in Raspberry pi 2 and above</p><br /><br /><p> 2. LAN cable</p><br /><br /><p> 3. Power adaptor</p><br /><br /><p> This tutorial uses External Monitor with HDMI cable to connect to Raspberry Pi. If you don't have monitor, you can use SSH client (Putty) or VNC server to connect to Raspberry pi using Laptop or computer. If you find any difficulty then follow our Getting stared with Raspberry Pi Guide.</p><br /><br /><p> To connect with this Minecraft server you need another Raspberry Pi to join the game. The video is available at the end. Here the complete process to setup minecraft on Rasbperry pi is explained in the below steps:</p><br /><br /><p> 1. Keep the Raspberry Pi updated</p><br /><br /><p> This command will first update and upgrade your raspberry Pi system.</p><br /><br /><p> 2. Setup Your Environment</p><br /><br /><p> Minecraft works on Java so, check whether Java and java compiler is installed in your Raspberry Pi using the following commands:</p><br /><br /><p> Your version can be different. If you do not see the version you need, then you will need to install the Java SDK.</p><br /><br /><p> 3. Install Minecraft</p><br /><br /><p> We are going to install Spigot Minecraft Server, It is a most optimize plugin for small Minecraft servers. Following are steps to do that:</p><br /><br /><p> Step 1 - Create the Minecraft folder</p><br /><br /><p> Step 2: Download the buildtools</p><br /><br /><p> Step 3: Build the server package that you have downloaded using below command:</p><br /><br /><p> It takes time to create the files. It can take anywhere from one hour to two hours, depending on the speed of your internet. It's a good idea to grab a drink and snacks during this time.</p><br /><br /><p> Be patient and come back after an hours. [https://escatter11.fullerton.edu/nfs/show_user.php?userid=2445162 fake it till you make it] If everything goes well, you will find a file called spigot-12.2.jar in your Minecraft folder (or whatever the current version).</p><br /><br /><p> 4. Launching the Minecraft Server</p><br /><br /><p> Now it is time to launch the server. Use ls to locate the spigot.jar file.</p><br /><br /><p> There is should be file with a filename similar to spigot-[version].jar. This was spigot-1.2.2.jar at the time of writing.</p><br /><br /><p> Step1 - Launch the server by entering the following command.</p><br /><br /><p> After launching, server will stop automatically (first-time only) to confirm license agreement.</p><br /><br /><p> Step2:- Open the end-user license agreement(EULA) file using this command:</p><br /><br /><p> Accept the EULA, change False or True, and then press Ctrl&gt;X to exit.</p><br /><br /><p> Step3:- Next, launch the server again using the same command:</p><br /><br /><p> As the map is being built, it will take some time. It will take around half an hour so be patient</p><br /><br /><p> 5. Connect to the Raspberry Pi Minecraft Server</p><br /><br /><p> Now, your Minecraft server is online on your local network. You just need to launch Minecraft on your computer. Next, click Play &gt; Servers-&gt; Add server. Fill in the details, give it an IP address, and give it a name.</p><br /><br /><p> You can find your server's IP address by entering the following commands into the terminal:</p><br /><br /><p> Select the server you wish to play on.</p><br /><br /><p> You can play in your other Raspberry Pis as well. Raspberry Pi comes with an inbuilt Minecraft game. So, you can connect this local minecraft with our newly created Minecraft server:</p><br /><br /><p> 1. Open the Minecraft pi in the Game option.</p><br /><br /><p> 2. Start the game on Raspberry Pi.</p><br /><br /><p> 3. Click on Join a game in another raspberry Pi. Next, your server IP display will be displayed. Click it. You can now play your game as you wish.</p><br /><br /><p> Full demonstration is available in the Video at End.</p><br /><br /><p> 6. Configure Your Minecraft Server</p><br /><br /><p> Once you have successfully tested the server on your Rasbperry pi, it is time to configure it. Edit server properties. Use the below command to set the properties, it is a text file.</p><br /><br /><p> Be aware that Raspberry pi is not a fast processor. Set the properties that require less processing. You can find a list of server properties at this link Minecraft wiki.</p><br /><br /><p> After all the configuration and setup, you can optionally install a plugin that will prevent Raspberry pi from using too much RAM by Minecraft game. You have to install the NoSpawnChunks plugin to prevent high RAM usage by the Minecraft server.</p><br /><br /><p> This command will first open the plugins folder.</p><br /><br /><p> Download the NoSpawnChunks.jar archive:</p><br /><br /><p> Now you have your own Minecraft server which you can customize according to you. Enjoy the game now with your friends and family.</p>
+
<p> Minecraft is a very popular game. People are becoming more and more addicted to this game. You can setup your own Minecraft server and can create your own worlds in the game. For this, you don't need to spend money on a dedicated PC, it can be easily done with a small, credit card-sized Linux computer Raspberry Pi. Raspberry is the best choice if you want to play it over a small LAN network with family and friends. Although the graphics are not great, it is still fascinating to play this game over a network with others.</p><br /><br /><p> Within an hour, you can start playing Minecraft on your dedicated Raspberry Pi powered Minecraft server. However, Raspberry Pi is not powerful enough to handle high complex automated farms and more than 5 players but still is it one the best low cost option to play this interesting game on network.</p><br /><br /><p> So, in this tutorial we will learn about managing Minecraft servers using Raspberry Pi.</p><br /><br /><p> 1. [https://writeablog.net/yarncry56/how-to-solve-minecraft-server-connection-timed-out Games] Raspbian installed in Raspberry pi 2 and above</p><br /><br /><p> 2. LAN cable</p><br /><br /><p> 3. Power adaptor</p><br /><br /><p> This tutorial uses External Monitor with HDMI cable to connect to Raspberry Pi. You can also use SSH client (Putty), VNC server, or a monitor to connect to Raspberry pi via your laptop or computer. If you find any difficulty then follow our Getting stared with Raspberry Pi Guide.</p><br /><br /><p> To connect with this Minecraft server you need another Raspberry Pi to join the game. The video is available at the end. Here the complete process to setup minecraft on Rasbperry pi is explained in the below steps:</p><br /><br /><p> 1. Update the Raspberry Pi</p><br /><br /><p> This command will first update and upgrade your raspberry Pi system.</p><br /><br /><p> 2. Setup your Environment</p><br /><br /><p> Minecraft works only on Java. You can check if Java is installed on your Raspberry Pi with the following commands.</p><br /><br /><p> Your version can be different. You can have different versions.</p><br /><br /><p> 3. Install Minecraft</p><br /><br /><p> We are going to install Spigot Minecraft Server, It is a most optimize plugin for small Minecraft servers. These are the steps to follow:</p><br /><br /><p> Step 1: Create a Minecraft folder</p><br /><br /><p> Step 2: Download buildtools</p><br /><br /><p> Step 3 - Use the following command to create the server packages you have downloaded.</p><br /><br /><p> It takes time to build the files. It can take anywhere from one hour to two hours, depending on the speed of your internet. So, this would be a good time to get yourself a drink or snacks.</p><br /><br /><p> Be patient and come back after an hours. If everything goes well, you will find a file called spigot-12.2.jar in your Minecraft folder (or whatever the current version).</p><br /><br /><p> 4. Launching the Minecraft Server</p><br /><br /><p> It's time to launch the server. Use ls command to find the spigot.jar file and it's version.</p><br /><br /><p> There is should be file with a filename similar to spigot-[version].jar. At the time of writing, this was spigot-1.12.2.jar.</p><br /><br /><p> Step1 - Launch the server by entering the following command.</p><br /><br /><p> After launching, server will stop automatically (first-time only) to confirm license agreement.</p><br /><br /><p> Step2:- Open an end-user license agreement (EULA) and file it using this command.</p><br /><br /><p> Accept the EULA and change False to True. Then press Ctrl &gt;X to exit.</p><br /><br /><p> Step3:- Next, launch the server again using the same command:</p><br /><br /><p> As the map is being built, it will take some time. It will take approximately half an hour, so please be patient</p><br /><br /><p> 5. Connect to the Raspberry Pi Minecraft Server</p><br /><br /><p> Now, your Minecraft server is online on your local network. Start Minecraft on your computer. Click Play &gt; Servers-&gt;Add server to fill in the details. Give it a name and add the IP address.</p><br /><br /><p> You can find the IP address of your server by typing following commands in the terminal:</p><br /><br /><p> Select the server you wish to play on.</p><br /><br /><p> You can also play on another Raspberry Pi. Raspberry Pi comes with a Minecraft game. So, you can connect this local minecraft with our newly created Minecraft server:</p><br /><br /><p> 1. Open the Minecraft pi in Game.</p><br /><br /><p> 2. Start the game on the server Raspberry Pi.</p><br /><br /><p> 3. Click on Join game with another raspberry pi. Your server IP will then be displayed. Click on it. Now, you can enjoy your game on your own terms.</p><br /><br /><p> For a complete demonstration, see the Video at the End.</p><br /><br /><p> 6. Configure Your Minecraft Server</p><br /><br /><p> After you have tested the server, and it works on your Rasbperry pi computer correctly, it's now time to set it up. Edit the server properties. Use the below command to set the properties, it is a text file.</p><br /><br /><p> You can change anything here, but remember that Raspberry pi does not have a high speed processor. So, choose the properties that require less processing. [https://canvastent92.doodlekit.com/blog/entry/22221314/android-market-reaches-ten-billionth-download-sells-minecraft-swiftkey-x-others-for-a-dime Let's talk about games] The Minecraft Wiki has a list of server property.</p><br /><br /><p> After all the configuration and setup, you can optionally install a plugin that will prevent Raspberry pi from using too much RAM by Minecraft game. You have to install the NoSpawnChunks plugin to prevent high RAM usage by the Minecraft server.</p><br /><br /><p> First, use this command to open the plugins directory.</p><br /><br /><p> Download the NoSpawnChunks.jar.</p><br /><br /><p> Now you have your own Minecraft server which you can customize according to you. Enjoy the game now with your friends and family.</p>

Revision as of 07:57, 14 August 2022

Minecraft is a very popular game. People are becoming more and more addicted to this game. You can setup your own Minecraft server and can create your own worlds in the game. For this, you don't need to spend money on a dedicated PC, it can be easily done with a small, credit card-sized Linux computer Raspberry Pi. Raspberry is the best choice if you want to play it over a small LAN network with family and friends. Although the graphics are not great, it is still fascinating to play this game over a network with others.



Within an hour, you can start playing Minecraft on your dedicated Raspberry Pi powered Minecraft server. However, Raspberry Pi is not powerful enough to handle high complex automated farms and more than 5 players but still is it one the best low cost option to play this interesting game on network.



So, in this tutorial we will learn about managing Minecraft servers using Raspberry Pi.



1. Games Raspbian installed in Raspberry pi 2 and above



2. LAN cable



3. Power adaptor



This tutorial uses External Monitor with HDMI cable to connect to Raspberry Pi. You can also use SSH client (Putty), VNC server, or a monitor to connect to Raspberry pi via your laptop or computer. If you find any difficulty then follow our Getting stared with Raspberry Pi Guide.



To connect with this Minecraft server you need another Raspberry Pi to join the game. The video is available at the end. Here the complete process to setup minecraft on Rasbperry pi is explained in the below steps:



1. Update the Raspberry Pi



This command will first update and upgrade your raspberry Pi system.



2. Setup your Environment



Minecraft works only on Java. You can check if Java is installed on your Raspberry Pi with the following commands.



Your version can be different. You can have different versions.



3. Install Minecraft



We are going to install Spigot Minecraft Server, It is a most optimize plugin for small Minecraft servers. These are the steps to follow:



Step 1: Create a Minecraft folder



Step 2: Download buildtools



Step 3 - Use the following command to create the server packages you have downloaded.



It takes time to build the files. It can take anywhere from one hour to two hours, depending on the speed of your internet. So, this would be a good time to get yourself a drink or snacks.



Be patient and come back after an hours. If everything goes well, you will find a file called spigot-12.2.jar in your Minecraft folder (or whatever the current version).



4. Launching the Minecraft Server



It's time to launch the server. Use ls command to find the spigot.jar file and it's version.



There is should be file with a filename similar to spigot-[version].jar. At the time of writing, this was spigot-1.12.2.jar.



Step1 - Launch the server by entering the following command.



After launching, server will stop automatically (first-time only) to confirm license agreement.



Step2:- Open an end-user license agreement (EULA) and file it using this command.



Accept the EULA and change False to True. Then press Ctrl >X to exit.



Step3:- Next, launch the server again using the same command:



As the map is being built, it will take some time. It will take approximately half an hour, so please be patient



5. Connect to the Raspberry Pi Minecraft Server



Now, your Minecraft server is online on your local network. Start Minecraft on your computer. Click Play > Servers->Add server to fill in the details. Give it a name and add the IP address.



You can find the IP address of your server by typing following commands in the terminal:



Select the server you wish to play on.



You can also play on another Raspberry Pi. Raspberry Pi comes with a Minecraft game. So, you can connect this local minecraft with our newly created Minecraft server:



1. Open the Minecraft pi in Game.



2. Start the game on the server Raspberry Pi.



3. Click on Join game with another raspberry pi. Your server IP will then be displayed. Click on it. Now, you can enjoy your game on your own terms.



For a complete demonstration, see the Video at the End.



6. Configure Your Minecraft Server



After you have tested the server, and it works on your Rasbperry pi computer correctly, it's now time to set it up. Edit the server properties. Use the below command to set the properties, it is a text file.



You can change anything here, but remember that Raspberry pi does not have a high speed processor. So, choose the properties that require less processing. Let's talk about games The Minecraft Wiki has a list of server property.



After all the configuration and setup, you can optionally install a plugin that will prevent Raspberry pi from using too much RAM by Minecraft game. You have to install the NoSpawnChunks plugin to prevent high RAM usage by the Minecraft server.



First, use this command to open the plugins directory.



Download the NoSpawnChunks.jar.



Now you have your own Minecraft server which you can customize according to you. Enjoy the game now with your friends and family.