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

Diff for /mtctl/README.md between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2021/08/31 17:00:08 version 1.1.1.2, 2021/08/31 17:01:08
Line 2  mtctl: A minetest server control command
Line 2  mtctl: A minetest server control command
   
 Based on: systemctl (linux) and rcctl (openbsd)  Based on: systemctl (linux) and rcctl (openbsd)
   
 !! Usage:  
   
   # Usage:
   
   The mtctl is using the following pattern:
   
 `$ mtctl <action> [worldname]`  `$ mtctl <action> [worldname]`
   
 action: start|stop|restart|status|list|help  * action: start|stop|restart|status|list|help
 worldname: worldname to control  * worldname: worldname to control
   
   
 !! Install:  # Install:
   
 $ curl 'https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/installer.sh?content-type=text/plain' 2> /dev/null | $SHELL  This script is easy to install, thanks to a one-line-installer.
   
 and follow the instructions  This installer will detect your OS and based on that info it will select which shell you have (and some other things)
   
   
 !! Setup worlds:  The command itself is the following:
   
 !!! For existing worlds:  `$ curl 'https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/installer.sh?content-type=text/plain' 2> /dev/null | $SHELL`
   
   
   # Setup worlds:
   
   ## For existing worlds:
   
 Put your minetest.conf in your worlds/<yourworldname> as world.conf  Put your minetest.conf in your worlds/<yourworldname> as world.conf
 Also specify the port in the world.conf  Also specify the port in the world.conf
   
 !!! For new worlds:  ## For new worlds:
   
 Use $ mtctl create <worldname>  Use $ mtctl create <worldname>
 Or use the instruction for the existing worlds  Or use the instruction for the existing worlds
   
   
   # More info:
   
   * [Minetest Forums](https://forum.minetest.net/viewtopic.php?f=14&t=27093)

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb