From 04a97c89ddf42c665931ae07703a389bdb0b548e Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 17 Mar 2022 14:43:20 -0700 Subject: [PATCH] Reduce minecraft server ram allocation --- server/config/minecraft/bmcp.yml | 2 +- server/config/minecraft/e6-056.yml | 2 +- server/config/minecraft/e6-dev.yml | 11 ++++++++++- server/config/minecraft/e6.yml | 4 ++-- server/config/minecraft/vanilla.yml | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/server/config/minecraft/bmcp.yml b/server/config/minecraft/bmcp.yml index ce0daf4..9d9569b 100644 --- a/server/config/minecraft/bmcp.yml +++ b/server/config/minecraft/bmcp.yml @@ -6,7 +6,7 @@ services: container_name: bmcp environment: - EULA=TRUE - - MAX_MEMORY=8G + - MAX_MEMORY=4G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.2.22 diff --git a/server/config/minecraft/e6-056.yml b/server/config/minecraft/e6-056.yml index 0a096f5..9137b92 100644 --- a/server/config/minecraft/e6-056.yml +++ b/server/config/minecraft/e6-056.yml @@ -6,7 +6,7 @@ services: container_name: e6-056 environment: - EULA=TRUE - - MAX_MEMORY=12G + - MAX_MEMORY=6G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.1.31 diff --git a/server/config/minecraft/e6-dev.yml b/server/config/minecraft/e6-dev.yml index 9affd8c..7e8354f 100644 --- a/server/config/minecraft/e6-dev.yml +++ b/server/config/minecraft/e6-dev.yml @@ -7,9 +7,18 @@ services: environment: EULA: "TRUE" VERSION: "1.16.5" - MAX_MEMORY: 12G + MAX_MEMORY: 8G TYPE: CURSEFORGE CF_SERVER_MOD: "https://media.forgecdn.net/files/3683/595/Enigmatica6Server-1.0.0.zip" + + OVERRIDE_SERVER_PROPERTIES: "true" + MOTD: "Jafner.net's Enigmatica 6 server! (v1.0.0)" + DIFFICULTY: "normal" + OPS: "jafner425" + MAX_TICK_TIME: "120000" + VIEW_DISTANCE: "16" + ALLOW_FLIGHT: "TRUE" + # ENABLE_RCON: "true" # RCON_PORT: 25575 # RCON_PASSWORD: ${RCON_PASSWORD} diff --git a/server/config/minecraft/e6.yml b/server/config/minecraft/e6.yml index ea5719e..327f8c1 100644 --- a/server/config/minecraft/e6.yml +++ b/server/config/minecraft/e6.yml @@ -6,13 +6,13 @@ services: container_name: e6 environment: - EULA=TRUE - - MAX_MEMORY=12G + - MAX_MEMORY=8G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.2.29 - OPS=jafner425 - ENABLE_RCON=true - + - RCON_PASSWORD=${RCON_PASSWORD} volumes: - $DOCKER_DATA/e6:/data:rw diff --git a/server/config/minecraft/vanilla.yml b/server/config/minecraft/vanilla.yml index 8bd7e4a..54316bd 100644 --- a/server/config/minecraft/vanilla.yml +++ b/server/config/minecraft/vanilla.yml @@ -7,7 +7,7 @@ services: - EULA=TRUE - VERSION=1.18.1 - OPS=mollymsmom - - MAX_MEMORY=6G + - MAX_MEMORY=4G volumes: - $DOCKER_DATA/vanilla:/data:rw networks: