Overview

Namespaces

  • aliuly
    • common
      • selectors
    • loader
  • xPaw

Classes

  • ArmorItems
  • BasicCli
  • BasicHelp
  • BasicPlugin
  • ChatSession
  • Cmd
  • CmdSelector
  • ExpandVars
  • FastTransfer
  • FileUtils
  • FreezeSession
  • GetMotd
  • GetMotdAsyncTask
  • InvisibleSession
  • InvUtils
  • ItemName
  • mc
  • mc2
  • MoneyAPI
  • MPMU
  • Npc
  • PermUtils
  • PluginAsyncTask
  • PluginCallbackTask
  • PMScript
  • QueryAsyncTask
  • Rcon
  • RconTask
  • Session
  • ShieldSession
  • ShoppingCart
  • SignUtils
  • SkinUtils
  • SpySession
  • SubCommandMap
  • TPUtils
  • Overview
  • Namespace
  • Class

Class BasicHelp

Implements simple help functionality for sub-commands

aliuly\common\BasicCli
Extended by aliuly\common\BasicHelp
Namespace: aliuly\common
Located at aliuly/common/BasicHelp.php
Methods summary
public
# __construct( PluginBase $owner, $fmt = "/%s %s %s" )

Parameters

$owner
  • plugin that owns this command
$fmt

Overrides

aliuly\common\BasicCli::__construct()
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
Methods inherited from aliuly\common\BasicCli
enableCmd(), enableSCmd(), getPageNumber(), getState(), paginateTable(), paginateText(), setState(), unsetState()
Properties summary
protected $fmt
#
Properties inherited from aliuly\common\BasicCli
$owner
API documentation generated by ApiGen