added forge

This commit is contained in:
fithwum
2023-03-21 06:28:43 -07:00
parent 968ea3ee5d
commit 31c3b31395
6 changed files with 165 additions and 12 deletions

View File

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