Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### in /etc/rc.local, put this line:
- /bin/su minetest -c "/home/minetest/minetestserver-survival.sh" &
- #### then make this script (change the name above to match whatever you save the below as):
- #!/bin/bash
- cd /home/minetest
- while true
- do
- sleep 1
- /usr/bin/minetestserver \
- --worldname Survival_World \
- --config /home/minetest/.minetest/minetest-server-survival.conf \
- --gameid vanessae_game \
- --port 30001 --disable-unittests \
- --logfile '/home/minetest/.minetest/debug-survival.txt'
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement