|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\plugin\Plugin:
Collaboration diagram for pocketmine\plugin\Plugin:Public Member Functions | |
| __construct (Server $server, PluginDescription $description, string $dataFolder, string $file, string $resourceFolder) | |
| getDataFolder () | |
| getDescription () | |
| getFile () | |
| getLogger () | |
| getName () | |
| getScheduler () | |
| isEnabled () | |
| onEnableStateChange (bool $enabled) | |
It is recommended to use PluginBase for the actual plugin
Definition at line 35 of file Plugin.php.
| pocketmine\plugin\Plugin::getDataFolder | ( | ) |
Gets the plugin's data folder to save files and configuration. This directory name has a trailing slash.
Implemented in pocketmine\plugin\PluginBase.
| pocketmine\plugin\Plugin::onEnableStateChange | ( | bool | $enabled | ) |
Called by the plugin manager when the plugin is enabled or disabled to inform the plugin of its enabled state.
Implemented in pocketmine\plugin\PluginBase.