add some protection settings
This commit is contained in:
parent
56c4e696b0
commit
60c9e9dc7e
2 changed files with 9 additions and 1 deletions
|
@ -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_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_server_name="My Minetest-mm server - DEVEL"
|
||||||
mt_mg_name="v6"
|
mt_mg_name="v6"
|
||||||
|
mt_protector_hurt="8"
|
||||||
|
mt_protector_flip="true"
|
||||||
|
mt_protector_pvp="false"
|
||||||
|
|
||||||
|
|
4
setup-mt
4
setup-mt
|
@ -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 "enable_rollback_recording = "$mt_enable_rollback_recording"" >> /home/minetest/.minetest/minetest.conf
|
||||||
echo "default_privs = "$mt_default_privs"" >> /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 "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"
|
echo "Fix privileges on /home/minetest"
|
||||||
chown minetest:minetest /home/minetest/ -cR
|
chown minetest:minetest /home/minetest/ -cR
|
||||||
|
|
Loading…
Reference in a new issue