Initial commit of minecraft documentation
This commit is contained in:
parent
db65afd0e9
commit
5451ca0889
|
|
@ -0,0 +1,41 @@
|
|||
# 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
|
||||
```
|
||||
41
Minecraft/README_old.md
Normal file
41
Minecraft/README_old.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
```
|
||||
wget https://fill-data.papermc.io/v1/objects/4221ba1503a97ed1f184d49323c30231bdbf3637f18c1587ad93eafd88ed4a08/paper-1.19.2-307-mojang.jar
|
||||
```
|
||||
|
||||
Create a file called "launch.sh", set to executable, and add the following contents:
|
||||
```bash
|
||||
touch launch.sh
|
||||
chmod +x launch.sh
|
||||
nano launch.sh
|
||||
```
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
|
||||
java -server -Xmx2G -jar paper-1.19.2-307-mojang.jar nogui
|
||||
```
|
||||
|
||||
```bash
|
||||
./launch.sh
|
||||
|
||||
```
|
||||
|
||||
|
||||
* It will fail and notify that you must aggree to the EULA, you need to change a variable
|
||||
|
||||
```bash
|
||||
nano eula.txt
|
||||
```
|
||||
* Change the line elua=false to elua=true
|
||||
|
||||
* Change "online-mode" to false so that "broken" clients can connect
|
||||
```bash
|
||||
nano server.properties
|
||||
```
|
||||
|
||||
* Restart the server
|
||||
```
|
||||
./launch.sh
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user