Go to file
fstltna 6917c4afe2 Updated install instructions 2020-06-15 20:13:04 -07:00
LICENSE Initial commit 2018-02-24 23:41:37 -08:00
README.md Updated install instructions 2020-06-15 20:13:04 -07:00
README.pdf Updated install instructions 2020-06-15 20:13:04 -07:00
minetest Now set up for use as non-root 2020-05-29 21:55:35 +00:00
startminetest Now set up for use as non-root 2020-05-29 21:55:35 +00:00
startrelay Forgot to add startrelay 2020-06-15 19:56:21 -07:00

README.md

Minetest Startup Scripts (2.2.2)

Startup scripts for the Minetest sandbox software - uses the "screen" command to manage session. This also restarts the Minetest process if it crashes.

Official support sites: Official Github Repo - Official Forum - Official Download Area Minetest Sample Screen


These start up the Minetest server at boot time with a "screen" process.

  1. Copy minetest into /home/mtowner/bin - make sure it is executable
  2. Copy startrelay into /home/mtowner/bin - make sure it is executable
  3. Copy startminetest into /home/mtowner/minetest - make sure it is executable
  4. Put @reboot /home/mtowner/bin/minetest start into your crontab
  5. Put @reboot /home/mtowner/bin/startrelay into your crontab
  6. Run the relay setup: pip install aiohttp cd discord.py-1.3.3 python3.6 -m pip install -U .

When you want to view the Minetest console, just enter "screen -r" in your shell.

To disconnect from the Minetest console just press CTRL-A CTRL-D. This will leave it running and you can reconnect to it again.

I have only tested this on a Ubuntu 16.04 server...

If you want to turn off the server respawning type "touch /home/mtowner/minetest/nostart". To reenable it type "rm /home/mtowner/minetest/nostart".


Note: If you don't already have the "screen" tool installed you will need to install it by "sudo apt-get install screen".