This commit is contained in:
2023-03-20 10:39:28 -07:00
parent 9ea507a9aa
commit ff04672678
3 changed files with 2 additions and 2 deletions

15
1.19.4/files/run.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Copyright (c) 2022 fithwum
# All rights reserved
MC_VERSION=1.19.4
cd /MCserver
JAR=./MCserver_${MC_VERSION}.jar
while [ true ]; do
java -Xmx4G -Xms1024M -Xmn1G -jar $JAR nogui
if [ $? -eq 0 ]; then
break
fi
done