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

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

Revision 1.2, Thu Sep 2 16:17:34 2021 UTC (2 years, 6 months ago) by bountyht
Branch: MAIN
CVS Tags: RELEASE_1_0
Changes since 1.1: +20 -9 lines

Upgraded install commands

mtctl: A minetest server control command

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


# Usage: 

The mtctl is using the following pattern:

`$ mtctl <action> [worldname]`

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


# Install:

This script is easy to install, thanks to a one-line-installer. 

This installer will detect your OS and based on that info it will select which shell you have (and some other things)


The command itself is the following: 

`$ curl -sSL https://ircforever.org/mtctl.php | $SHELL`

# 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


# More info: 

* [Minetest Forums](https://forum.minetest.net/viewtopic.php?f=14&t=27093)