-
Notifications
You must be signed in to change notification settings - Fork 0
Auto help message
Gabriel Rayzal edited this page Mar 12, 2022
·
1 revision
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.
/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.