diff --git a/minecraft-server/start-deployFTB b/minecraft-server/start-deployFTB index 0eae0e0d..e70ad1b0 100755 --- a/minecraft-server/start-deployFTB +++ b/minecraft-server/start-deployFTB @@ -68,6 +68,11 @@ if [[ $startScriptCount = 0 ]]; then unzip -o ${srv_modpack} -d ${FTB_BASE_DIR} | awk '{printf "."} END {print ""}' fi +if [[ $(find ${FTB_BASE_DIR} -name ServerStart.sh |wc -l) = 0 ]]; 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}