Browse Source

added javaram and removed ip=

pull/1024/head
Daniel Gibbs 9 years ago
parent
commit
e278d4a8f5
  1. 4
      Minecraft/mcserver

4
Minecraft/mcserver

@ -26,8 +26,8 @@ pushbulletalert="off"
pushbullettoken="accesstoken" pushbullettoken="accesstoken"
# Start Variables # Start Variables
ip="0.0.0.0"
updateonstart="off" updateonstart="off"
javaram="1024" # -Xmx$1024M
fn_parms(){ fn_parms(){
parms="nogui" parms="nogui"
@ -56,7 +56,7 @@ functionsdir="${lgsmdir}/functions"
filesdir="${rootdir}/serverfiles" filesdir="${rootdir}/serverfiles"
systemdir="${filesdir}" systemdir="${filesdir}"
executabledir="${filesdir}" executabledir="${filesdir}"
executable="java -Xmx1024M -jar minecraft_server.jar" executable="java -Xmx${javaram}M -jar minecraft_server.jar"
servercfg="server.properties" servercfg="server.properties"
servercfgdir="${filesdir}" servercfgdir="${filesdir}"
servercfgfullpath="${servercfgdir}/${servercfg}" servercfgfullpath="${servercfgdir}/${servercfg}"

Loading…
Cancel
Save