PHP 인터페이스 pocketmine\plugin\Plugin

상속: extends pocketmine\command\CommandExecutor
파일 보기 프로젝트 열기: ClearSkyTeam/ClearSky 0 사용 예제들

공개 메소드들

메소드 설명
getConfig ( ) : Config
getDataFolder ( ) Gets the plugin's data folder to save files and configuration
getDescription ( ) : PluginDescription
getLogger ( ) : PluginLogger
getName ( )
getPluginLoader ( ) : pocketmine\plugin\PluginLoader
getResource ( string $filename ) Gets an embedded resource in the plugin file.
getResources ( ) Returns all the resources incrusted in the plugin
getServer ( ) : Server
isDisabled ( )
isEnabled ( )
onDisable ( ) Called when the plugin is disabled Use this to free open things and finish actions
onEnable ( ) Called when the plugin is enabled
onLoad ( ) Called when the plugin is loaded, before calling onEnable()
reloadConfig ( )
saveConfig ( )
saveDefaultConfig ( )
saveResource ( string $filename, boolean $replace = false ) Saves an embedded resource to its relative location in the data folder

메소드 상세

getConfig() 공개 메소드

public getConfig ( ) : Config
리턴 pocketmine\utils\Config

getDataFolder() 공개 메소드

Gets the plugin's data folder to save files and configuration
public getDataFolder ( )

getDescription() 공개 메소드

public getDescription ( ) : PluginDescription
리턴 PluginDescription

getLogger() 공개 메소드

public getLogger ( ) : PluginLogger
리턴 PluginLogger

getName() 공개 메소드

public getName ( )

getPluginLoader() 공개 메소드

public getPluginLoader ( ) : pocketmine\plugin\PluginLoader
리턴 pocketmine\plugin\PluginLoader

getResource() 공개 메소드

Gets an embedded resource in the plugin file.
public getResource ( string $filename )
$filename string

getResources() 공개 메소드

Returns all the resources incrusted in the plugin
public getResources ( )

getServer() 공개 메소드

public getServer ( ) : Server
리턴 pocketmine\Server

isDisabled() 공개 메소드

public isDisabled ( )

isEnabled() 공개 메소드

public isEnabled ( )

onDisable() 공개 메소드

Called when the plugin is disabled Use this to free open things and finish actions
public onDisable ( )

onEnable() 공개 메소드

Called when the plugin is enabled
public onEnable ( )

onLoad() 공개 메소드

Called when the plugin is loaded, before calling onEnable()
public onLoad ( )

reloadConfig() 공개 메소드

public reloadConfig ( )

saveConfig() 공개 메소드

public saveConfig ( )

saveDefaultConfig() 공개 메소드

public saveDefaultConfig ( )

saveResource() 공개 메소드

Saves an embedded resource to its relative location in the data folder
public saveResource ( string $filename, boolean $replace = false )
$filename string
$replace boolean