Minecraft is a 3D game based on pixels. This game has created a lot of popularity among Internet users and video game enthusiasts in a short time. It is a group game that allows users to play together on a server. Among the features of this game, we can mention the construction of 3D buildings. The whole game is adventurous and time-consuming.

 

To run a Minecraft server you just need a Low cost Dedicated Servers. Need one, get it!

 

Prerequisites Of Creating A Minecraft Server

  • Linux VPS with Ubuntu 16 operating system
  • 1024 MB RAM

 

Steps To Install Minecraft Server On Linux VPS

 

1- First of all, let's update the system. 

apt-get update

apt-get upgrade -y

 

2- Install OpenJDK. It is an open-source program to implement java and GNU with the environment on Ubuntu. Install it with the following command.

apt-get install openjdk-8-jre-headless screen

 

3- Creating a new user.

adduser minecraft

 

4- Change the type of user from the current to the new user we created.

su - minecraft

 

5- It is time to install Minecraft. Install the latest version via the following command.

wget https://s3.amazonaws.com/Minecraft.Download/versions/1.11.2/minecraft_server.1.11.2.jar

 

Note: You can find the latest versions on the Minecraft page itself.

 

6- Creating a script that runs Minecraft.

nano /home/minecraft/run.sh

 

7- Enter the following code in this file and then save.

#! / bin / sh
BINDIR = $ (dirname "$ (readlink -fn" $ 0 ")")
cd "$ BINDIR"

java -Xms2048M -Xmx4096M -jar minecraft_server.1.11.2.jar -o true

 

Note: Xms and Xmx values ​​are the minima and maximum amounts of RAM allocated to the Minecraft server.

 

8- Then define that the newly created script is executable with the following command.

chmod + x /home/minecraft/run.sh

 

9- Run Minecraft.

./run.sh

 

10-Open the eula.txt file and change the EULA value to true.

nano /home/minecraft/eula.txt

 

11- To ensure that the Minecraft server uses a separate SSH, run the following command.

sudo screen /home/minecraft/run.sh

 

12- Open the Minecraft client program and click on Multiplayer.

 

13- Enter the server address, which is the IP of the server, and connect to the server.

 

Congratulations, it's done. You can share the IP address with your friends, all together on one server, and enjoy the game.

 

Bu cevap yeterince yardımcı oldu mu? 0 Bu dökümanı faydalı bulan kullanıcılar: (0 Oy)