Skip to content

ConsoleCommandSender ​

class · pocketmine\console\ConsoleCommandSender · source

Implements CommandSender

Properties ​

$lineHeight protected ​

php
protected ?int $lineHeight

Methods ​

__construct() ​

php
public function __construct(\pocketmine\Server $server, \pocketmine\lang\Language $language)

getLanguage() ​

php
public function getLanguage() : \pocketmine\lang\Language

getName() ​

php
public function getName() : string

getScreenLineHeight() ​

php
public function getScreenLineHeight() : int

getServer() ​

php
public function getServer() : \pocketmine\Server

sendMessage() ​

php
public function sendMessage(\pocketmine\lang\Translatable|string $message) : void

setScreenLineHeight() ​

php
public function setScreenLineHeight(?int $height) : void

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