PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
canLoadPlugin (string $path) | |
getAccessProtocol () | |
getPluginDescription (string $path) | |
loadPlugin (string $path) | |
Simple script loader, not for plugin development For an example see https://gist.github.com/shoghicp/516105d470cf7d140757
Definition at line 40 of file ScriptPluginLoader.php.
pocketmine\plugin\ScriptPluginLoader::canLoadPlugin | ( | string | $path | ) |
Returns whether this PluginLoader can load the plugin in the given path.
Implements pocketmine\plugin\PluginLoader.
Definition at line 42 of file ScriptPluginLoader.php.
pocketmine\plugin\ScriptPluginLoader::getAccessProtocol | ( | ) |
Returns the protocol prefix used to access files in this plugin, e.g. file://, phar://
Implements pocketmine\plugin\PluginLoader.
Definition at line 89 of file ScriptPluginLoader.php.
pocketmine\plugin\ScriptPluginLoader::getPluginDescription | ( | string | $path | ) |
Gets the PluginDescription from the file
Implements pocketmine\plugin\PluginLoader.
Definition at line 56 of file ScriptPluginLoader.php.
pocketmine\plugin\ScriptPluginLoader::loadPlugin | ( | string | $path | ) |
Loads the plugin contained in $file
Implements pocketmine\plugin\PluginLoader.
Definition at line 49 of file ScriptPluginLoader.php.