Minecraft has become a phenomena since its initial launch in 2009. 10 years later you can play Minecraft on almost every gaming platform available, and there are over 100 MILLION users! But did you know you can start your own Minecraft server?
Minecraft is huge, and a big part of the appeal is being able to play online with friends and family. People love exploring worlds, and gathering materials, and working together to build something. These are just a few reasons Minecraft appeals to such a wide audience.
There are hundreds of Minecraft servers out there, and it can be a great way of finding new people to play with and working on new projects. If you have ever played video games online before, especially massively multiplayer games such as Minecraft, you know that for every great person or experience there are hundreds of bad experiences and jerks.
The best way around this is to set up your own private Minecraft server. This allows you to control access to the game, with only invited players allowed to join your realm. There are numerous benefits to hosting your own Minecraft server. If you are a parent looking to let your kids enjoy the game in a safer environment, or friends who want to play Minecraft together online without dealing with griefers, trolls, and general toxicity then hosting your own Minecraft server is the way to go. A minecraft server can make a great gift, and you might be surprised at how cheap a Minecraft server can be. Compute Market offers affordable and stable Minecraft server solutions for all types. Contact us today to get your own personal Minecraft server running in minutes.
This article from our knowledge base will show you how to install Minecraft on an Ubuntu server running on Computemarket.
SSH to the server with the server IP address and log in as the Root user
Update the server and it’s dependencies
$ sudo apt-get update && sudo apt-get upgrade -y
Install all the fun things minecraft requires to run
sudo apt install openjdk-8-jre-headless screen -y
Get the minecraft server software and download it to the server, which can be found here
wget https://launcher.mojang.com/v1/objects/3dc3d84a581f14691199cf6831b71ed1296a9fdf/server.jar -O minecraft_server.1.14.4.jar
Once the download has finished (Should be quite quick!) you will need to open screen.
Screen allows you to run a command, detach from the ‘Screen’ if you like, and not lose anything running when you disconnect from the server. We will start by firstly starting the server, accepting the EULA (Read it! For all you know you could be signing away your diamonds!)
Accept the EULA by editing the ‘eula.txt’ file
Open it in your personal choice of text editor. I use nano
change where is says ‘eula=false’ to ‘eula=true’
Exit ‘ctrl +x’ ‘y’ ‘enter
Start the server for a test with ‘java -Xmx1024M -Xms1024M -jar minecraft_server.1.14.4.jar nogui‘
this will give the minecraft server 1GB of ram. Which is ok, but we can add more!
To be able to run the server when we disconnect from the SSH session, you can either use the VNC option in the hosting controller, but that’s not as fun! Start by opening a screen connection (in ssh)
Press enter to open the connection
Paste the run minecraft server command in here
then press ‘Ctrl + a’ then press ‘d’ which will disconnect you from the session.
To reconnect to your server, type ‘screen -ls‘ which will show your connections, then pick the open one you have your server running in, then press enter
You can now connect to your minecraft server and play with friends. Inorder for them to be able to play, you will need to give them your server’s IP address. If you feel like it, you can setup a domain for your self and point it to your minecraft server.