vault backup: 2023-07-23 08:50:03
This commit is contained in:
parent
eb1238087b
commit
d260aa2361
@ -49,9 +49,12 @@ wget https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba5990
|
||||
# -Xms is the amount of memory your server will be allocated when it starts
|
||||
# these two take values in format of NUMBERUNIT, so 3G would be 3 gigabytes,
|
||||
# 512M would be 512 megabytes
|
||||
java -jar -XmX4g -Xms512M
|
||||
# server.jar is the name of the server you just downloaded
|
||||
# nogui is a commandline argument passed to the server that says
|
||||
# to start without a gui
|
||||
java -jar -XmX4M -Xms512M server.jar nogui
|
||||
```
|
||||
|
||||
The first time you will get an error about an EULA, you need to look for `EUO`
|
||||
This enables minecraft to run in the background, restart if it crashes, etc etc.
|
||||
|
||||
In `/etc/systemd/system`, place this file and tailor it to your liking.
|
||||
|
Loading…
Reference in New Issue
Block a user