mcdcbot/README.md

37 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2023-11-23 20:48:52 +01:00
# mcdcbot
- shut down / start your minecraft server from discord
- switch between multiple different worlds (/servers) from discord
- forward messages from a certain discord channel to the minecraft chat, and minecraft chat messages to that discord channel
## usage
2023-11-23 20:51:51 +01:00
See the repository for examples, notably `mcdcbot/servers/*` and `mcdcbot/settings.txt`.
2023-11-23 20:48:52 +01:00
For advanced config options, check `minecraft_manager/src/lib.rs`, especially the `fn from_lines()`.
Documentation may be added in the future...
### In Discord:
`/list` lists Servers:
- (m) My Server
- (t) Test World
2023-12-15 12:29:50 +01:00
The following commands can only be used from the *INFO* channel,
which means that the permissions for that channel
can be used to control who can start, stop, and run commands on the minecraft server:
2023-11-23 20:48:52 +01:00
`/starts` starts a server. You can choose which one to start.
Only one server can be running at any given time.
`/start m` or `/start My Server`
`/start t` or `/start Test World`
`/stop` runs the `stop` command in the current server.
Once the server shuts down, a message will be sent.
2023-12-15 12:29:50 +01:00
`/run_command say Hello` runs the `say Hello` command on the server. Can be used to OP people, too.