An open API service indexing awesome lists of open source software.

https://github.com/mt-mods/shell


https://github.com/mt-mods/shell

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# shell mod for minetest

Allows you to execute chat commands via text files on the server-machine

## Usage

After installing the mod everything you write into `shell.txt` in the world directory will be executed as chatcommand.
The results from the last command are saved in `shell_result.txt`

The executing player is currently `admin` and hardcoded (could be made into a setting)

### Shutdown the server with a countdown

```
echo "shutdown 60" > shell.txt
```

### Message a player

```
echo "msg someplayer hello" > shell.txt
```