mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-15 04:54:55 +00:00
making use of all the server properties magic in ftb packages ..
This commit is contained in:
@@ -53,6 +53,8 @@ if [ ! -d ${FTB_DIR} ]; then
|
|||||||
mkdir -p ${FTB_DIR}
|
mkdir -p ${FTB_DIR}
|
||||||
unzip -o ${srv_modpack} -d ${FTB_DIR} | awk '{printf "."} END {print ""}'
|
unzip -o ${srv_modpack} -d ${FTB_DIR} | awk '{printf "."} END {print ""}'
|
||||||
cp -f /data/eula.txt ${FTB_DIR}/eula.txt
|
cp -f /data/eula.txt ${FTB_DIR}/eula.txt
|
||||||
|
cp -f ${FTB_DIR}/server.properties /data/server.properties
|
||||||
|
ln -snf /data/server.properties ${FTB_DIR}/server.properties
|
||||||
fi
|
fi
|
||||||
export FTB_SERVER_START=${FTB_DIR}/ServerStart.sh
|
export FTB_SERVER_START=${FTB_DIR}/ServerStart.sh
|
||||||
chmod a+x ${FTB_SERVER_START}
|
chmod a+x ${FTB_SERVER_START}
|
||||||
|
|||||||
Reference in New Issue
Block a user