PluginLoader
Handles different types of plugins
Methods
canLoadPlugin()
php
public function canLoadPlugin(string $path) : boolReturns whether this PluginLoader can load the plugin in the given path.
getAccessProtocol()
php
public function getAccessProtocol() : stringReturns the protocol prefix used to access files in this plugin, e.g. file://, phar://
getPluginDescription()
php
public function getPluginDescription(string $file) : ?\pocketmine\plugin\PluginDescriptionGets the PluginDescription from the file
loadPlugin()
php
public function loadPlugin(string $file) : voidLoads the plugin contained in $file
