Browse Source

Add new lapis columns variable name. Allow setting RUN_IN_PLACE in env.

master
poikilos 4 years ago
parent
commit
200b3fcdc6
  1. 4
      build-minetest-here.sh
  2. 2
      patches/subgame/minetest.server-example.conf

4
build-minetest-here.sh

@ -12,7 +12,9 @@ fi
if [ -f bin/minetest ]; then if [ -f bin/minetest ]; then
make clean || customDie "$0: make clean failed in '`pwd`'." make clean || customDie "$0: make clean failed in '`pwd`'."
fi fi
RUN_IN_PLACE=0 if [ -z "$RUN_IN_PLACE" ]; then
RUN_IN_PLACE=0
fi
cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DRUN_IN_PLACE=$RUN_IN_PLACE && make -j$(grep -c processor /proc/cpuinfo) || customDie "$0: Build failed in '`pwd`'." cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DRUN_IN_PLACE=$RUN_IN_PLACE && make -j$(grep -c processor /proc/cpuinfo) || customDie "$0: Build failed in '`pwd`'."
echo echo
if [ "@$RUN_IN_PLACE" = "@1" ]; then if [ "@$RUN_IN_PLACE" = "@1" ]; then

2
patches/subgame/minetest.server-example.conf

@ -3,7 +3,7 @@
# motd = "Actions and chat messages are logged. Recipes are in unified inventory mod. Otherwise visit the server's website for more info about mods and live map if available--if not, see http://wiki.minetest.net/Main_Page and https://github.com/minetest-technic/technic/wiki" # motd = "Actions and chat messages are logged. Recipes are in unified inventory mod. Otherwise visit the server's website for more info about mods and live map if available--if not, see http://wiki.minetest.net/Main_Page and https://github.com/minetest-technic/technic/wiki"
motd = Actions and chat messages are logged. Use inventory to see recipes. Priveleges may be limited for new users, so ask a moderator to /grant priveleges. motd = Actions and chat messages are logged. Use inventory to see recipes. Priveleges may be limited for new users, so ask a moderator to /grant priveleges.
disallow_empty_passwords = true disallow_empty_passwords = true
enable_lapis_mod_columns = true
# (default 180, or 80 if enable_wonder is true; minimum is 10 # (default 180, or 80 if enable_wonder is true; minimum is 10
# see ) # see )
hunger_tick = 216 hunger_tick = 216

Loading…
Cancel
Save