Tutorials
Creating a Minecraft Server

Creating a minecraft server

Minecraft (opens in a new tab) is a game made up of blocks, creatures, and community. You can survive the night or build a work of art – the choice is all yours.

Requirements

  • 2-4GB VPS Minimum
  • Root and SSH Access
  • Basic linux understanding

Getting started

  1. Installing required packages
sudo apt -y install sudo screen wget openjdk-18-jdk
  1. Making the folder and going in
ℹ️

We are going to name the folder my-server, you can name whatever you want to.

sudo mkdir my-server && my-server
  1. Agreeing to Minecraft EULA
sudo echo "eula=true" > eula.txt
  1. Getting the jar file
⚠️

Please make sure to replace <link> with the correct URL.

sudo wget <link>

In this case we're going to use the vanilla jar

sudo wget https://piston-data.mojang.com/v1/objects/8dd1a28015f51b1803213892b50b7b4fc76e594d/server.jar
  1. Enter on a screen shell
screen -S minecraft
  1. Starting up the minecraft server
java -jar server.jar

Now press Ctrl, a, n on your keyboard. To get out of the screen shell & run the minecraft server on the background.

  1. Connect and enjoy!