Module cmd

Source

Structsยง

ClientChatCommandIter
An iterator over the variants of ClientChatCommand
ClientEntityTargetIter ๐Ÿ”’
An iterator over the variants of ClientEntityTarget

Enumsยง

ChatCommandKind
ClientChatCommand
ClientEntityTarget ๐Ÿ”’

Traitsยง

TabComplete ๐Ÿ”’

Functionsยง

complete
complete_command ๐Ÿ”’
complete_player ๐Ÿ”’
complete_site ๐Ÿ”’
get_player_uuid
A helper function to get the Uuid of a player with a given alias
handle_clear ๐Ÿ”’
handle_experimental_shader ๐Ÿ”’
handle_help ๐Ÿ”’
handle_mute ๐Ÿ”’
handle_unmute ๐Ÿ”’
invalid_command_message ๐Ÿ”’
nth_word ๐Ÿ”’
preproccess_command ๐Ÿ”’
run_client_command ๐Ÿ”’
run_command
Runs a command by either sending it to the server or processing it locally. Returns a String to be output to the chat.

Type Aliasesยง

CommandResult ๐Ÿ”’
Represents the feedback shown to the user of a command, if any. Server commands give their feedback as an event, so in those cases this will always be Ok(None). An Err variant will be be displayed with the error icon and text color