Documentation

Plugin

It is recommended to use PluginBase for the actual plugin

Table of Contents

__construct()  : mixed
getDataFolder()  : string
Gets the plugin's data folder to save files and configuration.
getDescription()  : PluginDescription
getLogger()  : AttachableLogger
getName()  : string
getPluginLoader()  : PluginLoader
getScheduler()  : TaskScheduler
isEnabled()  : bool

Methods

getDataFolder()

Gets the plugin's data folder to save files and configuration.

public getDataFolder() : string

This directory name has a trailing slash.

Return values
string

getName()

public getName() : string
Return values
string

isEnabled()

public isEnabled() : bool
Return values
bool

Search results