rpgtest and ikea infinite games

master
root 3 years ago
parent 9ea9ba1c2f
commit 7abe490eec

@ -15,6 +15,8 @@ main (){
compileMinetest
copyConfMinetestServer
downloadMinetest_game
downloadIkea_game
downloadRpgtest_game
}
isOK (){
@ -80,7 +82,23 @@ downloadMinetest_game (){
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
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"

Loading…
Cancel
Save