Skip to content

Auto help message

Gabriel Rayzal edited this page Mar 12, 2022 · 1 revision

Help message

CommandBuilder automatically generates a help message for every command. An help subcommand is automatically added to every command. By default, if a command has no command body (only subcommands), the command body will call the help subcommand if called. The help subcommand is also called in case of syntax error (eg missing argument).

Subcommands are shown to the player only if he has the permission to perform them.

Format

/command {requiredArg} subCommand [optionalCommand] : Description


If you don't want to use the generated help message, you can provide your own behaviour by manually adding a help subcommand that will override the default one.

Clone this wiki locally