add_creative_option

This commit is contained in:
root 2021-03-17 08:49:19 +00:00
parent af8973737c
commit 003cf350b2
3 changed files with 3 additions and 2 deletions

View file

@ -24,3 +24,4 @@ mt_protector_hurt="8"
mt_protector_flip="true"
mt_protector_pvp="false"
mt_tubelib_machine_aging_value="600"
mt_creative_mode="false"

View file

@ -6,7 +6,7 @@ cp -r mods /home/minetest/.minetest/mods
echo "gameid = minetest" > /home/minetest/.minetest/worlds/world/world.mt
echo "backend = postgresql" >> /home/minetest/.minetest/worlds/world/world.mt
echo "creative_mode = false" >> /home/minetest/.minetest/worlds/world/world.mt
echo "creative_mode = $mt_creative_mode" >> /home/minetest/.minetest/worlds/world/world.mt
echo "enable_damage = true" >> /home/minetest/.minetest/worlds/world/world.mt
echo "player_backend = postgresql" >> /home/minetest/.minetest/worlds/world/world.mt
echo "auth_backend = postgresql" >> /home/minetest/.minetest/worlds/world/world.mt

View file

@ -35,7 +35,7 @@ mv -f /tmp/minetest.conf /home/minetest/.minetest/minetest.conf
echo "gameid = minetest" > /home/minetest/.minetest/worlds/world/world.mt
echo "backend = postgresql" >> /home/minetest/.minetest/worlds/world/world.mt
echo "creative_mode = false" >> /home/minetest/.minetest/worlds/world/world.mt
echo "creative_mode = $mt_creative_mode" >> /home/minetest/.minetest/worlds/world/world.mt
echo "enable_damage = true" >> /home/minetest/.minetest/worlds/world/world.mt
echo "player_backend = postgresql" >> /home/minetest/.minetest/worlds/world/world.mt
echo "auth_backend = postgresql" >> /home/minetest/.minetest/worlds/world/world.mt