Skip to main content

Crate yog_command

Crate yog_command 

Source
Expand description

Command domain โ€” the context passed to a command handler.

A mod registers a command by name on the registry; when a player runs /<name> <args>, its handler receives a CommandContext and may return a reply string sent back to the source.

Structsยง

CommandContext
Details of a command invocation.