control minecraft server from discord and sync chat between discord and minecraft
Go to file
2023-12-15 12:29:50 +01:00
mcdcbot add return statement 2023-12-15 12:18:21 +01:00
minecraft_manager initial commit 2023-11-23 20:48:52 +01:00
.gitignore initial commit 2023-11-23 20:48:52 +01:00
README.md update readme 2023-12-15 12:29:50 +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

See the repository for examples, notably mcdcbot/servers/* and mcdcbot/settings.txt.

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

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:

/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.

/run_command say Hello runs the say Hello command on the server. Can be used to OP people, too.