Skip to content

Commit

Permalink
add readme, fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
NatureFreshMilk committed Sep 3, 2019
1 parent c0d295d commit 520d986
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

# 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
```

0 comments on commit 520d986

Please sign in to comment.