42 lines
715 B
Markdown
42 lines
715 B
Markdown
```
|
|
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
|
|
```
|
|
|
|
|