Borrow update.sh from pandorabox and add to README

This commit is contained in:
Montandalar 2021-02-15 19:29:31 +11:00
parent d3e951c894
commit 3019915aff
2 changed files with 15 additions and 0 deletions

View File

@ -42,6 +42,10 @@ The other script will shallow clone all of the mods that can be shallow cloned a
`$ ./shallowclone.sh`
Later, updating to the latest version is easy to do with:
`$ ./update.sh`
After you create your world at the main menu in minetest, you shouldn't just enable all of the mods. Instead, you should merge the contents of the provided template file `world.mt` into your new world's `world.mt`.
Finally there is at least one configuration change to add to minetest: The default items! To have all new players be given the same initial items as on LinuxForks server, you need to enable the setting `give_initial_stuff` and set the minetest setting `initial_stuff` to have the right value. Add the following lines to your `minetest.conf`:

11
update.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#Borrowed from pandorabox-io
# update meta repo
git pull
# sync repo urls
git submodule sync
# initialize new repos
git submodule init
# update commits
git submodule update