PluginUtil

object PluginUtil

Functions

Link copied to clipboard
fun enablePlugin(name: String)

WARNING - Only use this if you have no other method to enable the plugin.

Link copied to clipboard
fun loadPlugin(file: File)

WARNING - Only use this if you have no other method to load a plugin.

Link copied to clipboard
fun printPluginInfo(plugin: JavaPlugin)
Link copied to clipboard
fun requirePlugin(plugin: JavaPlugin, pluginName: String, disableThis: Boolean = false): Boolean