Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls
By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
@@ -58,6 +58,12 @@ public interface Plugin extends CommandExecutor {
|
||||
*/
|
||||
public void onDisable();
|
||||
|
||||
/**
|
||||
* Called after a plugin is loaded but before it has been enabled.
|
||||
* When mulitple plugins are loaded, the onLoad() for all plugins is called before any onEnable() is called.
|
||||
*/
|
||||
public void onLoad();
|
||||
|
||||
/**
|
||||
* Called when this plugin is enabled
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user