mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-03-04 23:27:17 +00:00
Added warning if user doesn't use the server version of the modpack
This commit is contained in:
parent
d9c2f26506
commit
1c24dc1def
1 changed files with 5 additions and 0 deletions
|
@ -68,6 +68,11 @@ if [[ $startScriptCount = 0 ]]; then
|
|||
unzip -o ${srv_modpack} -d ${FTB_BASE_DIR} | awk '{printf "."} END {print ""}'
|
||||
fi
|
||||
|
||||
if [ ! -f ./ServerStart.sh ]; then
|
||||
echo "Please make sure you are using the server version of the FTB modpack!"
|
||||
exit 2
|
||||
fi
|
||||
|
||||
export FTB_SERVER_START=./ServerStart.sh
|
||||
export FTB_DIR=$(dirname $(find ${FTB_DIR} -name ServerStart.sh))
|
||||
chmod a+x ${FTB_DIR}/${FTB_SERVER_START}
|
||||
|
|
Loading…
Add table
Reference in a new issue