ToolSet / com.zndevs.toolset.tools / ToolSetCommandTools / getPlugin

getPlugin

fun getPlugin(pluginName: String): JavaPlugin?

Gets a plugin from the list of currently running plugins

Parameters

pluginName - The name of the plugin

Return An instance of the plugin