mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-02 12:17:15 +00:00
@@ -197,8 +197,10 @@ function installFTB {
|
|||||||
mkdir -p ${ftb_dir}
|
mkdir -p ${ftb_dir}
|
||||||
unzip -o ${srv_modpack} -d ${ftb_dir}
|
unzip -o ${srv_modpack} -d ${ftb_dir}
|
||||||
cp -f /data/eula.txt ${ftb_dir}/eula.txt
|
cp -f /data/eula.txt ${ftb_dir}/eula.txt
|
||||||
FTB_SERVER_START=${ftb_dir}/ServerStart.sh
|
cd ${ftb_dir}
|
||||||
|
FTB_SERVER_START=ServerStart.sh
|
||||||
chmod a+x ${FTB_SERVER_START}
|
chmod a+x ${FTB_SERVER_START}
|
||||||
|
sed -i "s/-jar/-Dfml.queryResult=confirm -jar/" ${FTB_SERVER_START}
|
||||||
}
|
}
|
||||||
|
|
||||||
function installVanilla {
|
function installVanilla {
|
||||||
|
|||||||
Reference in New Issue
Block a user