diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index b3292ce..582d585 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -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.