Skip to content

[Request] Send message when String or Component is returned from command logic #25

Open
@Grabsky

Description

@Grabsky

Examples:

script:registerCommand(function(sender, args)
    ...
    if (ConsoleCommandSender.class:isInstance(sender) == true) then
        return "<red>Command must not be run by console."
    end
    ...
end, {
    name = "example"
})

Empty / blank messages should probably be skipped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions