Open
Description
#209 added initial support for commands using lieutenant
and implemented /tp
and /gamemode
. What's left to do:
- Implement all commands in Vanilla (only those present in Java Edition)
- Ensure that messages are consistent with Vanilla (this is certainly not the case right now)
- Implement target selector arguments
- Send the command node graph to players upon joining
For newcomers to the project, implementing a command is a good way to start. The basic process is:
- Locate the Minecraft Wiki page for the command and read through it, so you understand the command well (skip any Bedrock-specific sections).
- Go into
server/commands/src/impls.rs
and implement the command.- The
tp
implementation is a good example of how a command could be implemented. - If you need a new argument type (for example, a parsed gamemode or a UUID), implement it in
server/commands/src/arguments.rs
.EntitySelector
andParsedGamemode
are useful examples to see how this is done.
- The
If you need any help, you are welcome to ask as many questions as you need on our Discord server :)