Skip to content

PluginGraylist ​

class · pocketmine\plugin\PluginGraylist · source

Methods ​

__construct() ​

php
public function __construct(array $plugins = [], bool $whitelist = false)

fromArray() ​

php
public static function fromArray(array $array) : \pocketmine\plugin\PluginGraylist

getPlugins() ​

php
public function getPlugins() : array

isAllowed() ​

php
public function isAllowed(string $name) : bool

Returns whether the given name is permitted by this graylist.

isWhitelist() ​

php
public function isWhitelist() : bool

toArray() ​

php
public function toArray() : array

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