PluginGraylist
Methods
__construct()
php
public function __construct(array $plugins = [], bool $whitelist = false)fromArray()
php
public static function fromArray(array $array) : \pocketmine\plugin\PluginGraylistgetPlugins()
php
public function getPlugins() : arrayisAllowed()
php
public function isAllowed(string $name) : boolReturns whether the given name is permitted by this graylist.
isWhitelist()
php
public function isWhitelist() : booltoArray()
php
public function toArray() : array