all extra parameters will be passed to the plugin constructor
Returns void
Name
register
Memberof
plugin
Example
// register a new plugin me.plugin.register(TestPlugin, "testPlugin"); // the `testPlugin` class instance can also be accessed through me.plugin.cache me.plugin.cache.testPlugin.myfunction ();
Register a plugin.