Skip to content

CommandExecutor ​

interface · pocketmine\command\CommandExecutor · source

Deprecated

This class is deprecated.

Interface implemented by things that want to execute commands via PluginCommand. This is implemented by PluginBase by default to allow automagically registering PluginBase::onCommand() to receive commands defined in plugin.yml.

Methods ​

onCommand() ​

php
public function onCommand(\pocketmine\command\CommandSender $sender, \pocketmine\command\Command $command, string $label, array $args) : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.