[BACK]Return to README.md CVS log [TXT][DIR] Up to [local] / mtctl

File: [local] / mtctl / README.md (download)

Revision 1.1.1.1 (vendor branch), Tue Aug 31 17:00:08 2021 UTC (2 years, 7 months ago) by bountyht
Branch: miniontoby
CVS Tags: start
Changes since 1.1: +0 -0 lines

Initial version from Miniontoby

mtctl: A minetest server control command

Based on: systemctl (linux) and rcctl (openbsd)

!! Usage: 

`$ mtctl <action> [worldname]`

action: start|stop|restart|status|list|help
worldname: worldname to control


!! Install:

$ curl 'https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/installer.sh?content-type=text/plain' 2> /dev/null | $SHELL

and follow the instructions


!! Setup worlds:

!!! For existing worlds:

Put your minetest.conf in your worlds/<yourworldname> as world.conf
Also specify the port in the world.conf 

!!! For new worlds:

Use $ mtctl create <worldname>
Or use the instruction for the existing worlds