Emergence in Games

A Best Games Review Blog

minecraft server pi 6 - Emergenceingame

Instructions for setting up Minecraft Server on Raspberry Pi

Want to play Minecraft in your own way? Want to install games on a personal server, create your own world or build them with friends and family? All of this can be done on a Raspberry Pi.

Required to install Minecraft Server on Raspberry Pi

To build Minecraft Server on Raspberry Pi, you need:

  • Raspberry Pi 3 and above and power cable.
  • Ethernet cable (more suitable than wireless).
  • Micro SD card with 8GB or more capacity.

Although you can use past Pi models, the results will not be as good. This guide is for Raspberry Pi 3 and 4 – Two models for the best Minecraft Server experience.

Connecting all of the above to remote SSH allows you to set up your Pi as a Minecraft Server. If you didn’t choose SSH, you’ll need:

  • USB keyboard.
  • USB mouse (or a combination of the two).
  • 1x HDMI cable.
  • Compatible display.

Connect these peripherals before powering on the Raspberry Pi.

Of course, you also need a desktop copy of Minecraft. Note, due to the Raspberry Pi system specification, you cannot accommodate too many people on the server. For Pi 3, don’t try to invite more than 10 people to your Minecraft server.

Choose the right version of Minecraft

Minecraft is available in several versions. Creating this server will give you a world accessible from any device running Minecraft, except for Minecraft Pi. In other words, the Windows desktop version, game console devices, Android, iOS, Amazon Fire tablets, and TV will work with this server.

So, if you have several devices on your local network, all of them can access Minecraft Server.

In short, you need open world games Minecraft original copy from Mojang.

Install Minecraft Server on Raspberry Pi

Step 1: Install Raspbian and configure Pi

Let’s start with the Raspbian clone. You will find the latest version at: www.raspberrypi.org/downloads. Download and install it on the device. If you find it too complicated, try installing NOOBS.

Prefer to use the current copy of Raspbian? Simply upgrade it to the latest version and update the packages:

sudo apt update

sudo apt upgrade

Next, configure the Raspbian environment to run Minecraft Server. If you have it set up with a monitor and keyboard then simply open the tool Raspberry Pi Configuration in the Preferences menu on your computer.

If accessing via SSH, use sudo raspi-config to open the text-based configuration tool.

Here, make the following changes:

  • Next Advanced Options> Memory Split and change the setting to 16MB. This will free up more memory resources for the server.
  • Next, come Boot Options> Desktop / CLI and choose Console. (This doesn’t work on Raspbian Lite).
  • If you are trying to install Minecraft Server on a Raspberry Pi 1 or 2, look for it Overclock in the main menu and configure it to High. (Raspberry Pi 3 and 4 users can skip this step.)
  • Turn on SSH in Advanced Options> SSH.
  • Finally, come Advanced> Expand Filesystem.

With the changes made, come finish and restart Raspbian when prompted. Then, log in again and find the device IP address with:

Or:

Note down the IP address before proceeding.

Step 2: Install Minecraft Server

Install Minecraft on Raspberry Pi based on Nukkit server software. Programmed exclusively for Minecraft: Pocket Edition, you can easily install Nukkit on your Pi using the command line.

Start with Java installation to be able to run Nukkit:

sudo apt install oracle-java8-jdk

Next, create a new directory (labeled nukkit), then open it:

Then, download Nukkit server software. Make sure to enter the following command correctly (it’s best to copy and paste it into an SSH session).

wget -O nukkit.jar http://ci.mengcraft.com:8080/job/nukkit/lastSuccessfulBuild/artifact/target/nukkit-1.0-SNAPSHOT.jar

(You can find most of the updates at the project page: https://ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master/).

Launch Nukkit after the download completes:

sudo java -jar nukkit.jar

This command prompts Nukkit to set up the server. When prompted, choose the language (English here) and observe how to create a Minecraft server.

Step 3: Configure Minecraft Server

After setting up the correct server, you need to configure it. Two configuration files are in Nukkit: nukkit.yml and server.properties.

For editing, open them up in your favorite text editor. Raspian is already nano ready, so use:

Or

sudo nano server.properties

Various changes have been proposed. Whatever you change here, remember that the Pi is a “modest” device that cannot handle too much data.

Minecraft server properties

You can find a list of server properties in the Minecraft wiki, but it’s a good idea to edit some of them right away. Start with:

Older Raspberry Pi models can hardly handle servers with more than 10 players. 5-6 is a viable number. You may be interested in configuring some other options such as:

Select this setting when you want to join PVP mode. You can also set the difficulty level:

The easiest is zero.

When finished, press Ctrl + X to save and delete, then run:

sudo java -jar nukkit.jar

This action will restart the Minecraft Server software.

Step 4: Connect Minecraft Server on Raspberry Pi

Your Minecraft Server should now be available online on your local network. Test this with the ping command from another device, using the IP address noted above. If ping returns a response from the configured Raspberry Pi, you can proceed.

All you need to do is open Minecraft on your PC or tablet, then click Play> Servers. Here, Add Server, enter details about the new server, give it a name and add the IP address. The port number must match the number listed in the server properties. If not, change it!

Connect Minecraft Server to your Pi computer

Your server will then be listed as a connectable option. Now you just need to select a server to start playing.

Step 5: Extend features of Minecraft Server with Nukkit plugins

The default Nukkit server configuration may not be quite what you want. You can tweak nukkit.yml and server.properties but it’s easy to make things go too far.

Plugins developed by Nukkit allow you to upgrade the basic gameplay. They add functionality to an online session that has been ignored.

Some of the plugins you should use include:

  • MobPlugin: add mobs and animals to the Minecraft environment.
  • WorldEssentials: enable different game modes.
  • EssentialsNK: includes additional game modes, multi-player management tools and more.

Installing these plugins is as simple as downloading them to your Raspberry Pi and transferring the installation file into the plugin directory.

For example, move MobPlugin with:

sudo mv MobPlugin-1.9.0.1.jar plugins

Visit nukkitx.com and click Resources to choose from over 250 plugins for Minecraft Server on your Raspberry Pi.

Minecraft game on Raspberry Pi

Above is how Install Minecraft Server on Raspberry Pi the simplest and most effective. You can now freely connect Minecraft at any time. If your child loves Minecraft, the solution to save games on a separate server will help ensure that their online activities are always safe while playing.

Hope the article is useful to you.

Source link: Instructions for setting up Minecraft Server on Raspberry Pi
– https://emergenceingames.com/

Leave a Reply

Your email address will not be published. Required fields are marked *