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 CmdSelector

Implements Minecraft Command selectors. See Command Prefixes for more info.

Abstract
Namespace: aliuly\common
Located at aliuly/common/CmdSelector.php
Methods summary
public static str[]|false
# expandSelectors( pocketmine\Server $server, pocketmine\command\CommandSender $sender, str $cmdline, integer $max = 100 )

Expand command selectors. Returns an array with string substitutions or false if no expansions occurred.

Expand command selectors. Returns an array with string substitutions or false if no expansions occurred.

Parameters

$server
  • Server context
$sender
  • context executing this command
$cmdline
  • command line to expand
$max
  • max number of expansions

Returns

str[]|false
protected static
# dispatchSelector( pocketmine\Server $server, pocketmine\command\CommandSender $sender, $selector, array $args )
API documentation generated by ApiGen