LoadPlugin

From LoTROInterface Wiki

Jump to: navigation, search


Loads the plugin that is requested.

Syntax

Lua
function PluginManager.LoadPlugin(pluginName);

Parameters

pluginName
Type: string
The name of the plugin to load as specified in its plugin definition file.

Remarks

Loads the plugin that is requested if it is available to load.

The function does not return a value.

Important note: No error message is shown if the named plugin does not exist or the function fails. Your code will have to check to see if the plugin was loaded by using the GetLoadedPlugins function.

Personal tools