Skip to content

QueryInfo ​

final class · pocketmine\network\query\QueryInfo · source

Constants ​

GAME_ID ​

php
public const GAME_ID = "MINECRAFTPE"

Methods ​

__construct() ​

php
public function __construct(\pocketmine\Server $server)

canListPlugins() ​

php
public function canListPlugins() : bool

getExtraData() ​

php
public function getExtraData() : array

Returns the extra Query data in key => value form

getLongQuery() ​

php
public function getLongQuery() : string

getMaxPlayerCount() ​

php
public function getMaxPlayerCount() : int

getPlayerCount() ​

php
public function getPlayerCount() : int

getPlayerList() ​

php
public function getPlayerList() : array

getPlugins() ​

php
public function getPlugins() : array

getServerName() ​

php
public function getServerName() : string

getShortQuery() ​

php
public function getShortQuery() : string

getWorld() ​

php
public function getWorld() : string

setExtraData() ​

php
public function setExtraData(array $extraData) : void

setListPlugins() ​

php
public function setListPlugins(bool $value) : void

setMaxPlayerCount() ​

php
public function setMaxPlayerCount(int $count) : void

setPlayerCount() ​

php
public function setPlayerCount(int $count) : void

setPlayerList() ​

php
public function setPlayerList(array $players) : void

setPlugins() ​

php
public function setPlugins(array $plugins) : void

setServerName() ​

php
public function setServerName(string $serverName) : void

setWorld() ​

php
public function setWorld(string $world) : void

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