|
|
@ -15,6 +15,8 @@ main (){
|
|
|
|
compileMinetest
|
|
|
|
compileMinetest
|
|
|
|
copyConfMinetestServer
|
|
|
|
copyConfMinetestServer
|
|
|
|
downloadMinetest_game
|
|
|
|
downloadMinetest_game
|
|
|
|
|
|
|
|
downloadIkea_game
|
|
|
|
|
|
|
|
downloadRpgtest_game
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
isOK (){
|
|
|
|
isOK (){
|
|
|
@ -80,7 +82,23 @@ downloadMinetest_game (){
|
|
|
|
isOK
|
|
|
|
isOK
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
downloadIkea_game (){
|
|
|
|
|
|
|
|
taskName="Download rpgtest game"; echo -e "\n[+][$taskName]"
|
|
|
|
|
|
|
|
rm -rf /usr/local/share/minetest/games/ikea
|
|
|
|
|
|
|
|
git clone https://gitlab.com/benrob0329/ikea.git /usr/local/share/minetest/games/ikea
|
|
|
|
|
|
|
|
isOK
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
downloadRpgtest_game (){
|
|
|
|
|
|
|
|
taskName="Download rpgtest game"; echo -e "\n[+][$taskName]"
|
|
|
|
|
|
|
|
rm -rf /usr/local/share/minetest/games/rpgtest
|
|
|
|
|
|
|
|
git clone https://github.com/cdqwertz/rpgtest /usr/local/share/minetest/games/rpgtest
|
|
|
|
|
|
|
|
isOK
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
main
|
|
|
|
main
|
|
|
|
echo "To run the server. Example:"
|
|
|
|
|
|
|
|
echo "minetestserver --config /etc/minetest/minetest.conf --world /usr/local/share/minetest/games/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -e "\n"
|
|
|
|
|
|
|
|
echo "To run the server. Examples:"
|
|
|
|
|
|
|
|
echo "minetestserver --config /etc/minetest/minetest.conf --world /usr/local/share/minetest/games/"
|
|
|
|
|
|
|
|
echo "minetestserver --config /etc/minetest/minetest.conf --gameid rpgtest"
|
|
|
|