diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index ac767bb..b6b49ce 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -44,8 +44,10 @@ wget https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba5990 ``` # -jar means that you want to run a jarfile (something with the .jar) extension # -Xmx is the maximum amount of memory your server will be allowed to use -# -Xms is the amount of memory your serve -java -jar -Xmx +# -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 ``` This enables minecraft to run in the background, restart if it crashes, etc etc.