Plugin

Informations about a plugin and registration-related utilities.

Members

Functions

load
void load(Server server)
Undocumented in source.

Properties

api
bool api [@property getter]

Indicates whether or not the plugin has APIs. The plugin's APIs are always in the api.d file in the plugin's directory.

authors
string[] authors [@property getter]

Gets the plugin's authors as indicated in the plugin's package.json file.

languages
string languages [@property getter]

Gets the absolute location of the plugin's language files.

name
string name [@property getter]

Gets the plugin's name as indicated in the plugin's package.json file.

textures
string textures [@property getter]

Gets the absolute location of the plugin's textures.

vers
string vers [@property getter]

Gets the plugin's version as indicated in the plugin's package.json file. This should be in major.minor.revision beta format.

Variables

hasMain
bool hasMain;
Undocumented in source.
n_api
bool n_api;
Undocumented in source.
n_authors
string[] n_authors;
Undocumented in source.
n_languages
string n_languages;
Undocumented in source.
n_name
string n_name;
n_textures
string n_textures;
Undocumented in source.
n_version
string n_version;
onreload
void delegate()[] onreload;
Undocumented in source.
onstart
void delegate()[] onstart;
onstop
void delegate()[] onstop;
Undocumented in source.

Meta