example. run server minetest with minetest_test game

master
root 4 years ago
parent f23f0ee998
commit 9ea9ba1c2f

@ -14,6 +14,7 @@ main (){
extractMinetest
compileMinetest
copyConfMinetestServer
downloadMinetest_game
}
isOK (){
@ -72,5 +73,14 @@ copyConfMinetestServer (){
isOK
}
downloadMinetest_game (){
taskName="Download example game. BASE GAME: minetest_game"; echo -e "\n[+][$taskName]"
rm -rf /usr/local/share/minetest/games/minetest_game
git clone https://github.com/minetest/minetest_game /usr/local/share/minetest/games/minetest_game
isOK
}
main
echo "To run the server. Example:"
echo "minetestserver --config /etc/minetest/minetest.conf --world /usr/local/share/minetest/games/"

Loading…
Cancel
Save