- Parameters
-
- Returns
- Command|PluginIdentifiableCommand
- Returns
- Config
Implements Plugin.
Gets the plugin's data folder to save files and configuration. This directory name has a trailing slash.
Implements Plugin.
- Returns
- string
Implements Plugin.
Gets an embedded resource on the plugin file. WARNING: You must close the resource given using fclose()
- Parameters
-
- Returns
- resource Resource data, or null
Implements Plugin.
Returns all the resources incrusted on the plugin
- Returns
- string[]
Implements Plugin.
- Returns
- bool
Implements Plugin.
- Returns
- bool
Implements Plugin.
- Parameters
-
CommandSender | $sender | |
Command | $command | |
string | $label | |
array | $args | |
- Returns
- bool
Implements CommandExecutor.
Called when the plugin is disabled Use this to free open things and finish actions
Implements Plugin.
Called when the plugin is enabled
Implements Plugin.
saveResource |
( |
|
$filename, |
|
|
|
$replace = false |
|
) |
| |
- Parameters
-
string | $filename | |
bool | $replace | |
- Returns
- bool
Implements Plugin.
setEnabled |
( |
|
$boolean = true | ) |
|
|
final |
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/plugin/PluginBase.php