From e278d4a8f54302ad56b4a2f5f3d636ebda7a7253 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 24 Aug 2016 16:19:00 +0100 Subject: [PATCH] added javaram and removed ip= --- Minecraft/mcserver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Minecraft/mcserver b/Minecraft/mcserver index 7f4fa4baa..41b8828f6 100644 --- a/Minecraft/mcserver +++ b/Minecraft/mcserver @@ -26,8 +26,8 @@ pushbulletalert="off" pushbullettoken="accesstoken" # Start Variables -ip="0.0.0.0" updateonstart="off" +javaram="1024" # -Xmx$1024M fn_parms(){ parms="nogui" @@ -56,7 +56,7 @@ functionsdir="${lgsmdir}/functions" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" executabledir="${filesdir}" -executable="java -Xmx1024M -jar minecraft_server.jar" +executable="java -Xmx${javaram}M -jar minecraft_server.jar" servercfg="server.properties" servercfgdir="${filesdir}" servercfgfullpath="${servercfgdir}/${servercfg}"