https://github.com/mt-mods/shell
https://github.com/mt-mods/shell
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mt-mods/shell
- Owner: mt-mods
- License: mit
- Created: 2019-09-02T13:59:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-12T07:18:54.000Z (almost 3 years ago)
- Last Synced: 2025-01-01T14:45:10.813Z (over 1 year ago)
- Language: Lua
- Size: 2.93 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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
```