From 446741f960575596b865049f52d4574a1d87a78e Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 23 Jul 2023 08:47:03 -0600 Subject: [PATCH] vault backup: 2023-07-23 08:47:03 --- Setting up a Minecraft server.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Setting up a Minecraft server.md b/Setting up a Minecraft server.md index 08a54af..ac767bb 100644 --- a/Setting up a Minecraft server.md +++ b/Setting up a Minecraft server.md @@ -42,7 +42,10 @@ wget https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba5990 # Starting the server ``` - +# -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 ``` This enables minecraft to run in the background, restart if it crashes, etc etc.