example. run server minetest with minetest_test game

master
root 3 years ago
parent f23f0ee998
commit 9ea9ba1c2f

@ -14,6 +14,7 @@ main (){
extractMinetest extractMinetest
compileMinetest compileMinetest
copyConfMinetestServer copyConfMinetestServer
downloadMinetest_game
} }
isOK (){ isOK (){
@ -72,5 +73,14 @@ copyConfMinetestServer (){
isOK 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 main
echo "To run the server. Example:"
echo "minetestserver --config /etc/minetest/minetest.conf --world /usr/local/share/minetest/games/"

Loading…
Cancel
Save