Class EventManager
java.lang.Object
com.storytimeproductions.stweaks.events.EventManager
Manages events related to the plugin.
This class provides methods to initialize and set up any gallery or event logic required by the plugin. It is used to organize and handle plugin events in a centralized way.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
init
(org.bukkit.plugin.java.JavaPlugin plugin) Initializes the event manager for the plugin.
-
Constructor Details
-
EventManager
public EventManager()
-
-
Method Details
-
init
public static void init(org.bukkit.plugin.java.JavaPlugin plugin) Initializes the event manager for the plugin.This method is called to load or set up any necessary event handling logic, such as registering events or configuring gallery-related functionality. It must be called to ensure proper event management within the plugin.
- Parameters:
plugin
- The plugin instance used to set up the event system.
-