Class BasicHelp
Implements simple help functionality for sub-commands
-
aliuly\common\BasicCli
-
aliuly\common\BasicHelp
Methods summary
public
|
#
__construct( PluginBase $owner, $fmt = "/%s %s %s" )
Parameters
- $owner
- plugin that owns this command
- $fmt
Overrides
|
public
|
#
onSCommand( pocketmine\command\CommandSender $c, pocketmine\command\Command $cc, str $scmd, mixed $data, array $args )
Entry point for sub-commands. Will show the help or usage messages
Entry point for sub-commands. Will show the help or usage messages
Parameters
- $c
- Entity issuing the command
- $cc
- actual command that was issued
- $scmd
- sub-command being executed
- $data
- Additional data passed to sub-command (global options)
- $args
- arguments for sub-command
|
Properties summary
protected
|
$fmt
|
|