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

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-06-22 17:45:53 +01:00
parent e2779f623c
commit ba32a78b3b
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
}