PluginManager.plugin

Plugin plugin(int index)

Gets a plugin by index.

Parameters

indexPlugin index (0 to pluginCount-1)

Returns

Plugin at the given index, or null if index is out of range
Plugin plugin(string name)

Gets a plugin by name.

Parameters

namePlugin name

Returns

Plugin with the given name, or null if not found