41 lines
959 B
Markdown
41 lines
959 B
Markdown
# 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
|
|
|
|
* Install Java
|
|
```bash
|
|
sudo apt update && sudo apt install openjdk-17-jdk -y
|
|
```
|
|
|
|
* Create a directory for the server
|
|
|
|
```bash
|
|
mkdir mcserver
|
|
cd mcserver
|
|
```
|
|
|
|
* The system may not have the bzip library for extracting the download. It can be installed with this command.
|
|
|
|
```bash
|
|
sudo apt install bzip2
|
|
```
|
|
* Install the Server
|
|
1. Cut and Paste the following command
|
|
2. Then run the second command
|
|
|
|
```bash
|
|
wget https://jackpot.jaj.com/steve_mcserver2.tar.bz2
|
|
tar xvf steve_mcserver2.tar.bz2
|
|
```
|
|
|
|
* Start the server with the following command:
|
|
```bash
|
|
./runpaper.sh
|
|
```
|
|
|
|
* A player can be made a server operator with the following command in the server console
|
|
```
|
|
lp user playername group set mod
|
|
``` |