mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
parent
2e03ee4197
commit
91def1176d
1 changed files with 3 additions and 1 deletions
|
@ -197,8 +197,10 @@ function installFTB {
|
|||
mkdir -p ${ftb_dir}
|
||||
unzip -o ${srv_modpack} -d ${ftb_dir}
|
||||
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}
|
||||
sed -i "s/-jar/-Dfml.queryResult=confirm -jar/" ${FTB_SERVER_START}
|
||||
}
|
||||
|
||||
function installVanilla {
|
||||
|
|
Loading…
Reference in a new issue