ToolSet / com.zndevs.toolset.tools / ToolSetCommandTools / addPlugin
addPlugin
fun addPlugin(pluginName: String, plugin: JavaPlugin): Unit
Adds a plugin to the list of currently running plugins
Parameters
pluginName - The name of the plugin. Must be the same as the name on the downloader site for auto-updating to work
plugin - An instance of the plugin