Bungee

abstract class Bungee : VitalPlugin

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
lateinit var context: ConfigurableApplicationContext
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun exit()

Shuts down the running Vital framework instance by killing the existing Spring context.

Link copied to clipboard
fun isVitalModuleEnabled(vitalModuleName: String): Boolean

Returns if the given vitalModuleName is enabled. Note: Modules are enabled sequentially, during the initialization phase, this function might return false for a module that will be enabled later in the pipeline.

Link copied to clipboard
open fun onDisable()

Lifecycle function; called when this plugin is disabled.

Link copied to clipboard
open fun onEnable()

Lifecycle function; called when this plugin is enabled.