PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
|
Public Member Functions | |
canLoadPlugin (string $path) | |
getAccessProtocol () | |
getPluginDescription (string $file) | |
loadPlugin (string $file) | |
Handles different types of plugins
Definition at line 29 of file PluginLoader.php.
pocketmine\plugin\PluginLoader::canLoadPlugin | ( | string | $path | ) |
Returns whether this PluginLoader can load the plugin in the given path.
Implemented in pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.
pocketmine\plugin\PluginLoader::getAccessProtocol | ( | ) |
Returns the protocol prefix used to access files in this plugin, e.g. file://, phar://
Implemented in pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.
pocketmine\plugin\PluginLoader::getPluginDescription | ( | string | $file | ) |
Gets the PluginDescription from the file
PluginDescriptionParseException |
Implemented in pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.
pocketmine\plugin\PluginLoader::loadPlugin | ( | string | $file | ) |
Loads the plugin contained in $file
Implemented in pocketmine\plugin\PharPluginLoader, and pocketmine\plugin\ScriptPluginLoader.