PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\plugin\PluginLoader Interface Reference
+ Inheritance diagram for pocketmine\plugin\PluginLoader:
+ Collaboration diagram for pocketmine\plugin\PluginLoader:

Public Member Functions

 loadPlugin ($file)
 
 getPluginDescription ($file)
 
 getPluginFilters ()
 
 enablePlugin (Plugin $plugin)
 
 disablePlugin (Plugin $plugin)
 

Detailed Description

Handles different types of plugins

Definition at line 27 of file PluginLoader.php.

Member Function Documentation

pocketmine\plugin\PluginLoader::disablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin
Returns
void

Implemented in pocketmine\plugin\PharPluginLoader.

pocketmine\plugin\PluginLoader::enablePlugin ( Plugin  $plugin)
Parameters
Plugin$plugin
Returns
void

Implemented in pocketmine\plugin\PharPluginLoader.

pocketmine\plugin\PluginLoader::getPluginDescription (   $file)

Gets the PluginDescription from the file

Parameters
string$file
Returns
PluginDescription

Implemented in pocketmine\plugin\PharPluginLoader.

pocketmine\plugin\PluginLoader::getPluginFilters ( )

Returns the filename patterns that this loader accepts

Returns
string[]

Implemented in pocketmine\plugin\PharPluginLoader.

pocketmine\plugin\PluginLoader::loadPlugin (   $file)

Loads the plugin contained in $file

Parameters
string$file
Returns
Plugin

Implemented in pocketmine\plugin\PharPluginLoader.


The documentation for this interface was generated from the following file: