Annotation of mtctl/README.md, Revision 1.2
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.2 ! bountyht 12: * action: start|stop|restart|status|list|help
! 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.1 bountyht 26:
1.2 ! bountyht 27: # Setup worlds:
! 28:
! 29: ## For existing worlds:
1.1 bountyht 30:
31: Put your minetest.conf in your worlds/<yourworldname> as world.conf
32: Also specify the port in the world.conf
33:
1.2 ! bountyht 34: ## For new worlds:
1.1 bountyht 35:
36: Use $ mtctl create <worldname>
37: Or use the instruction for the existing worlds
38:
1.2 ! bountyht 39:
! 40: # More info:
! 41:
! 42: * [Minetest Forums](https://forum.minetest.net/viewtopic.php?f=14&t=27093)
CVSweb