Added new plugin.yml option 'load', possible values are 'startup' and 'postworld' (default postworld)

This commit is contained in:
Dinnerbone
2011-06-22 17:45:53 +01:00
parent 68f0e2d663
commit 90ca47e641
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package org.bukkit.plugin;
/**
* Represents the order in which a plugin should be initialized and enabled
*/
public enum PluginLoadOrder {
/**
* Indicates that the plugin will be loaded at startup
*/
STARTUP,
/**
* Indicates that the plugin will be loaded after the first/default world was created
*/
POSTWORLD
}