Annotation of mtctl/README.md, Revision 1.3
1.1 bountyht 1: mtctl: A minetest server control command
2:
3: Based on: systemctl (linux) and rcctl (openbsd)
4:
1.2 bountyht 5:
6: # Usage:
7:
8: The mtctl is using the following pattern:
1.1 bountyht 9:
10: `$ mtctl <action> [worldname]`
11:
1.3 ! minionto 12: * action: start|stop|restart|status|create|backup|list|help
1.2 bountyht 13: * worldname: worldname to control
14:
1.1 bountyht 15:
1.2 bountyht 16: # Install:
1.1 bountyht 17:
1.2 bountyht 18: This script is easy to install, thanks to a one-line-installer.
1.1 bountyht 19:
1.2 bountyht 20: This installer will detect your OS and based on that info it will select which shell you have (and some other things)
1.1 bountyht 21:
22:
1.2 bountyht 23: The command itself is the following:
1.1 bountyht 24:
1.2 bountyht 25: `$ curl -sSL https://ircforever.org/mtctl.php | $SHELL`
1.3 ! minionto 26:
1.1 bountyht 27:
1.2 bountyht 28: # Setup worlds:
29:
30: ## For existing worlds:
1.1 bountyht 31:
32: Put your minetest.conf in your worlds/<yourworldname> as world.conf
33: Also specify the port in the world.conf
34:
1.2 bountyht 35: ## For new worlds:
1.1 bountyht 36:
37: Use $ mtctl create <worldname>
38: Or use the instruction for the existing worlds
39:
1.2 bountyht 40:
41: # More info:
42:
43: * [Minetest Forums](https://forum.minetest.net/viewtopic.php?f=14&t=27093)
CVSweb