add some protection settings

This commit is contained in:
root 2020-10-28 21:20:00 +01:00
parent 56c4e696b0
commit 60c9e9dc7e
2 changed files with 9 additions and 1 deletions

View file

@ -20,3 +20,7 @@ mt_server_address="example.tld/ip_address"
mt_server_description="FULLY OPEN-SOURCE SERVER CREATED BY https://git.my-web.xyz/milan/minetest-mm.git"
mt_server_name="My Minetest-mm server - DEVEL"
mt_mg_name="v6"
mt_protector_hurt="8"
mt_protector_flip="true"
mt_protector_pvp="false"

View file

@ -123,6 +123,10 @@ echo "port = "$mt_port"" >> /home/minetest/.minetest/minetest.conf
echo "enable_rollback_recording = "$mt_enable_rollback_recording"" >> /home/minetest/.minetest/minetest.conf
echo "default_privs = "$mt_default_privs"" >> /home/minetest/.minetest/minetest.conf
echo "mg_name = "$mt_mg_name"" >> /home/minetest/.minetest/minetest.conf
echo "protector_hurt = "$mt_protector_hurt"" >> /home/minetest/.minetest/minetest.conf
echo "protector_flip = "$mt_protector_flip"" >> /home/minetest/.minetest/minetest.conf
echo "protector_pvp = "$mt_protector_pvp"" >> /home/minetest/.minetest/minetest.conf
echo "Fix privileges on /home/minetest"
chown minetest:minetest /home/minetest/ -cR