From e002d4ee0c2697801fa67231e43584771d0a91b5 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 19 Jun 2023 16:59:21 +0200 Subject: Fix(system/services/minecraft): Finetuning --- system/services/minecraft/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'system') diff --git a/system/services/minecraft/default.nix b/system/services/minecraft/default.nix index 64f2ee7..c9f7b64 100644 --- a/system/services/minecraft/default.nix +++ b/system/services/minecraft/default.nix @@ -9,6 +9,7 @@ eula = true; dataDir = "/srv/minecraft"; openFirewall = true; + jvmOpts = "-Xmx8192M -Xms8192M"; whitelist = { ShadyCraft = "7995eea5-b648-41c4-9b0f-7fc082565952"; Nightingale768 = "1125d077-6709-44b2-9be0-587aec772e7a"; @@ -20,6 +21,8 @@ white-list = true; difficulty = 3; gamemode = "survival"; + enforce-whitelist = true; + simulation-distance = 15; }; }; } -- cgit 1.4.1