From 43f63af8a99ee771e999882679613b48acf83d30 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:48:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:48:03 --- Setting up a Minecraft server.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.