diff --git a/config-file-example b/config-file-example index 3cd146d6..2cd34e2c 100644 --- a/config-file-example +++ b/config-file-example @@ -25,3 +25,5 @@ mt_protector_flip="true" mt_protector_pvp="false" mt_tubelib_machine_aging_value="600" mt_creative_mode="false" +mt_enable_damage="true" +mt_enable_pvp="true" diff --git a/setup-mt b/setup-mt index 241ee228..5ad444f9 100755 --- a/setup-mt +++ b/setup-mt @@ -128,6 +128,8 @@ echo "protector_flip = "$mt_protector_flip"" >> /home/minetest/.minetest/minetes echo "protector_pvp = "$mt_protector_pvp"" >> /home/minetest/.minetest/minetest.conf echo "tubelib_machine_aging_value = "$mt_tubelib_machine_aging_value"" >> /home/minetest/.minetest/minetest.conf echo "unlimited_player_transfer_distance = false" >> /home/minetest/.minetest/minetest.conf +echo "enable_damage = "$mt_enable_damage"" >> /home/minetest/.minetest/minetest.conf +echo "enable_pvp = "$mt_enable_pvp"" >> /home/minetest/.minetest/minetest.conf echo "Fix privileges on /home/minetest" chown minetest:minetest /home/minetest/ -cR