This is a guide on how to build your own Minecraft Server
You need to install the correct version of java fo the version of Minecraft you are going to run. YOu can google it and just look it up that way.
This is for install. Minecraft 1.19
sudo apt update && sudo apt install openjdk-17-jdk -y
- Create a directory for the server
mkdir mcserver
cd mcserver
- The system may not have the bzip library for extracting the download. It can be installed with this command.
sudo apt install bzip2
- Install the Server
- Cut and Paste the following command
- Then run the second command
wget https://jackpot.jaj.com/steve_mcserver2.tar.bz2
tar xvf steve_mcserver2.tar.bz2
- Start the server with the following command:
./runpaper.sh
- A player can be made a server operator with the following command in the server console
lp user playername group set mod