Method |
Description |
|
getCommand ( string $name ) : Command | pocketmine\command\PluginIdentifiableCommand |
|
|
getConfig ( ) : Config |
|
|
getDataFolder ( ) |
|
|
getDescription ( ) |
|
|
getFullName ( ) : string |
|
|
getLogger ( ) : PluginLogger |
|
|
getName ( ) : string |
|
|
getPluginLoader ( ) : pocketmine\plugin\PluginLoader |
|
|
getResource ( string $filename ) : resource |
Gets an embedded resource on the plugin file. |
|
getResources ( ) : string[] |
Returns all the resources incrusted on the plugin |
|
getServer ( ) : Server |
|
|
init ( pocketmine\plugin\PluginLoader $loader, Server $server, PluginDescription $description, $dataFolder, $file ) |
|
|
isDisabled ( ) : boolean |
|
|
isEnabled ( ) : boolean |
|
|
isInitialized ( ) : boolean |
|
|
onCommand ( pocketmine\command\CommandSender $sender, Command $command, string $label, array $args ) : boolean |
|
|
onDisable ( ) |
|
|
onEnable ( ) |
|
|
onLoad ( ) |
Called when the plugin is loaded, before calling onEnable() |
|
reloadConfig ( ) |
|
|
saveConfig ( ) |
|
|
saveDefaultConfig ( ) |
|
|
saveResource ( string $filename, boolean $replace = false ) : boolean |
|
|
setEnabled ( boolean $boolean = true ) |
|
|