Plugin Events
Package: com.hypixel.hytale.server.core.plugin.event
Events related to plugin lifecycle.
PluginEvent (Abstract Base)
Section titled “PluginEvent (Abstract Base)”Abstract base class for plugin events, keyed by plugin class.
Class: com.hypixel.hytale.server.core.plugin.event.PluginEvent
| Property | Value |
|---|---|
| Implements | IEvent<Class<? extends PluginBase>> |
| Abstract | Yes |
| KeyType | Class<? extends PluginBase> |
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
getPlugin() | PluginBase | Returns the plugin associated with this event. |
PluginSetupEvent
Section titled “PluginSetupEvent”Fired when a plugin enters its setup phase.
Class: com.hypixel.hytale.server.core.plugin.event.PluginSetupEvent
| Property | Value |
|---|---|
| Extends | PluginEvent |
| Async | No |
| Cancellable | No |
| KeyType | Class<? extends PluginBase> |
When Fired
Section titled “When Fired”Fired when a plugin’s setup() method is about to be called. Keyed by plugin class, allowing integration with specific plugins.
Methods
Section titled “Methods”Inherits all methods from PluginEvent.