PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
canLoadPlugin (string $path) | |
getAccessProtocol () | |
getPluginDescription (string $file) | |
loadPlugin (string $file) | |
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 | $file | ) |
Gets the PluginDescription from the file
Implements pocketmine\plugin\PluginLoader.
Definition at line 56 of file ScriptPluginLoader.php.
pocketmine\plugin\ScriptPluginLoader::loadPlugin | ( | string | $file | ) |
Loads the plugin contained in $file
Implements pocketmine\plugin\PluginLoader.
Definition at line 49 of file ScriptPluginLoader.php.